pithos: Add missing import
astakosclient: Fix Content-Type header in get_token requests
pithos views: In case of invalid access token request a new one
Instead of raising PermissionDenied redirect to theobject view url to re-initiate the procedurefor acquiring a new access token.
pithos views: Fix astakos authorization endpoint url
The astakos authorization endpoint url should be an absolute url.
pithos views: Fix tests
astakos: Minor improvements in validate token api call
Add tests for validate access token endpoint
astakos: Additional tests for validating access token
pithos: Update view tests
astakos: Minor changes in oa2 app
astakos: Provide additional tests for oa2 app
pithos: Change pithos views authorization/authentication
Pithos views no longer use the information stored inthe PITHOS_ASTAKOS_COOKIE_NAME cookiefor authenticating the user and authorizing access to thetargeted resource.They acquire, instead, from the authentication server (astakos)...
pithos: Configurable exclude api calls from being served
Prevent api calls from being served by setting PITHOS_SERVE_APIto False.
pithos: Fix pithos views url prefix
pithos: Minor changes in view decorator
astakos: oa2 app
astakos: Extend oa2 app
astakos: Introduce CRUD management commands for oa2 clients
astakos: Initiate (south) db migrations for oa2 app
astakosclient: Provide call for requesting oa2 token
astakos: Introduce api call for validating a temporary oa2 token
astakosclient: Provide call for validating a temporary oa2 token
webproject: Custom exception reporter filter
Remove 'cleanse' middleware that was used to clean sensitive variablesfrom admin mails. Instead, create a custom exception filter and set thisfilter as Django's default reporter (DEFAULT_EXCEPTION_REPORTER_FILTER).
pithos: Slight modifications in file-show command
burnin: Add --temp-directory option
This option is used to specify a temp directory to be usedby burnin to save it's intermediate files. The defaultvalue for this option is "/tmp/"
docs: Update index page figures and minor fixes
docs: Extend admin guide about cyclades networks
Add sections about dhcp, public network connectivity, networkconnectivity for newly created servers and public IP accounting.Also fix many trailing whitespace issues.
cyclades: Some verbla fixes to snf-manage commands
Merge branch 'feature-allowed-methods' into develop
snf_django: Change error status code if request method is not valid
Return 405 (NotAllowed) instead of 400 (BadRequest)Add Allow header in the response containing the list of valid methods
pithos: Introduce file-show command
snf-deploy: Add stats support
snf-deploy: Fix for vncauthproxy>1.4
docs: Add section about Cyclades resources
Add section about Cyclades resources and quota handling. Also, refactorthe section about the reconciliation mechanism.
webproject: Include common 403.html template
Signed-off-by: Olga Brani <olgabrani@grnet.gr>
astakos: Ensure computed result gets returned
Relying on cache.get is not always safe
docs: Minor wording fixes in index page
Also, move the complete component list from the indexto the Admin Guide.
snf_django: Add new filtering fuction
Add new 'filter_objects_results' function to apply filters, e.g. from--filter-by option to objects. Rename old 'parse_filters' function ,thatparsed filters to querytset arguments, to 'parse_queryset_filters.The new function is currently unused.
cyclades: Optimize server-list command
Optimize server-list command by prefetching related fields if needed.
cyclades: pep8 fix
Merge branch 'feature-stats-vnc' into develop
Add example collectd config file for stats-app
Add docs for deploying snf-stats-app
Add support for snf-vncauthproxy >= 1.5
Add link to snf-vncauthproxy docs
Fix identation in Changelog
Encrypt instance ids in the stats URLs
stats: Wheezy and collectd v5 compat
Make the necessary changes to the collectd Ganeti plugin and thesnf-stats-app grapher to make them work with the Debian Wheezy versionof collectd (and the new v5 rrd format).
ui: Fix hotplug enabled/disabled checks
Merge branch 'feature-refactor-burnin' into develop
burnin: Change --quiet logging behavior
When --quiet flag is used, burnin will not produce a loggingfile at all (neither will log to stdout). This flag is usedwhen we simple want to check if there are stale servers fromprevious runs (we can do this based on burnin's exit status)...
burnin: Add STOPPED as valid state when deleting
After a reconciliation, a machine will go to STOPPED statebefore the DELETED state. This commit adds the STOPPED stateto the accepted states for a machine that is being destroyed.
Burnin: Small code refactoring
burnin: Update snf-burnin-run script
Burnin: Fix some verbal errors
burnin: Get quotas from Astakos service
burnin: Verify quotas
After every action that changes the user's quotasverify that quotas' changes are consistent.
burnin: Implement the new Network API
snf-deploy: Support newer version of kamaki CLI
Command Line Interface of kamaki has changed the way it handlespithos containers. A new command `container' has been created.
This commit changes the command snf-deploy is using the createa new container from...
burnin: Add new logger
burnin: Parse arguments
burnin: Remove old implementation
We are going to re-implement burnin.The goal is to have a cleaner structure (not all code in one file),a better logging schema and remove code that is unused or duplicated.
Refs #3385
burnin: Add --quiet and --final-report-only flags
`final-report-only' flag is useful when burnin is used inscript files and it's output is to be sent using email.
burnin: Test name2uuid
burnin: Add FlavorsTestSuite
burnin: Add PithosTestSuite
burnin: Add ImagesTestSuite
burnin: Use descriptors as test attributes
Since each instance of the TestCase will only be used to run a singletest method (a new fixture is created for each test) the attributes cannot be saved in the class instances. Instead we use descriptors.
burnin: Write ServerTestSuite
burnin: Create a new module to split up codebase
burnin: Finish ServerTestSuite
burnin: Implement StaleServersTestSuite
This testsuite is used to inspect and delete stale servers(servers left from previous burnin runs).
burnin: Implement NetworkTestSuite
snf-ci: Update burnin command line parameters
Add the kamaki_version parameter to the ci config file.Using this parameter the user can specify a version of kamakito be used (mostly by burnin).
Force the use of version 0.11next-1811-197b413 for kamaki,...
docs: No hotplug for CPU and RAM
Remove incorrectly statement about hotplug-able CPU and RAM.
cyclades: Fix wrong state of deleted networks
Before deleting a network, the network is marked as drained to beexcluded from automatic IP allocation. The state of the network that isexposed in the API is always 'SNF:DRAINED' if the drained flag is set....
docs: Update Cyclades documentation
ui: Fix infinite quota display in create wizard
ui: Fix image ordering in create view
avoid parsing image id as int
ui: Configurable fonts base url
ui: Resize view improvements
- Display grayed out start button if no available quota to start the corresponding vm- Open resize overlay instead of start confirmation for the above cases- Allow overlimit resizing of inactive machines- Minor styling fixes
ui: Hotplug aware ip/network actions
disable port/network connect/disconnect on active vms when ganeti hotplugis disabled
cyclades: Fix broken unittest
cyclades: Lock objects in modifying commands
cyclades: Move all management commands to logic
Move all management commands from 'api/management/commands' to'logic/management/commands'.
cyclades: Fix bug in IP pools migration
Since the size of IP pools is not automatically computed by the sizeof corresponding subnet, the data migration must add sizes to allexisting IP pools.
docs: Add section about 'helpdesk' app
Add some missing Copyright notices
Also add 2013 in package COPYRIGHT files.
snf_django: Fix typo in --output-format help text
webproject: Move patching of hidden settings
Remove patching of 'django.views.debug.HIDDEN_SETTINGS' from 'cleanse'middleware that is going to be totally removed. Instead, patch them in'models.py' of webproject.
Update changelog about sending emails from logging
webproject: Propagate 'django.request' logger
cyclades: Change default value for default nets
Change default value for default server networks to be an IPv4 publicnetwork.
webproject: Add 'admin_mails' logging handler
Add 'admin_mails' handler to default logging configuration and use itfor 'django.request' logger, which is used to log all 5xx responsesand unhandled exceptions.
ui: Prevent connecting of suspended vms to private networks
ui: Handle shutdown action errors from resize view
ui: Prevent duplicate machine create calls
ui: Networks view fix
Merge branch 'feature-admin-guide-fixes-kosfar' into develop
synnefo-admin-guide-doc: Correct typos and add some clarifications
- The file /etc/synnefo/10-snf-common-admins.conf does not exist.The correct filename is /etc/synnefo/00-snf-common-admins.conf
- The file /etc/synnefo/10-snf-cyclades-gtools-backend.conf does not exist....
webproject: Do not disable existing loggers
Change default settings for logging, to not disable existing loggers bydefault. This was already done for the API, but not for 'snf-manage'.Also, the example conf file were not updated.