cyclades: Add FloatingIP model
Add Floating IP model to represent a floating IP that has been reservedby a user. Each FloatingIP has an owner(UUID), an IPv4 address, thenetwork(pool) that has reserved from and the date is was reserved. Also,it may be related to a VirtualMachine, if there is some VM that uses...
cyclades: Make Floating IPs a quotable resource
Add 'cyclades.floating_ip' to quotable resources. Update helperfunctions and tests to include this resource.
cyclades: Implement /os-floating-ips API
Extend Cyclades API with /os-floating-ips endpoint. The API implementsthe following calls:
cyclades: Add tests for floating-ips API
cyclades: refactor reconciliation
Refactor reconciliation code to use namedtuples and improve performancefor retrieving info from database.
cyclades: reconciliation for resizing VMs
cyclades: Mark serial as resolved if auto_accept
Modify 'issue_commission' function to mark the QuotaHolderSerial objectas resolved, if auto_accept option is used.
cyclades: Remove custom init method from VM model
cyclades: Major refactor to api and logic apps
Major refactor to cyclades api and logic apps that removes most codefrom the api views and moves it to logic app, so that the same logiccode can be used by different apps (e.g. EC2 API). Code is moved into...
cyclades: Handle 'EmptyPool' in util method
Refactor cyclades code to handle 'EmptyPool' exception in'get_network_free_address' function.
snf_django: Fix bug in BaseAPITest
Include 202 in success responses.
snf_django: Mock quotaholder to BaseAPITest
Mock quotaholder in all of BaseAPITest calls.
cyclades: Add backend function for resizing vm
Add 'resize_instance' backend function for resizing a vm. This commandissues an OP_INSTANCE_MODIFY job with the specified beparams, whichcurrently are vcpus, minmem and maxmem.
Refs #3870
cyclades: Implement resize action API call
Implement resize API call, which is a POST at/servers/<server_id>/action' with body: {"resize": {"flavorRef": <flavor_id>}}
The resize can only be performed if the disk size and disk template ofthe new flavor are the same with the old one, and if the VM is in...
gtools: Make eventd send beparams and result
Update 'snf-ganeti-eventd' daemon to send the requested beparams incase of 'OP_INSTANCE_SET_PARAMS' opcodes. Also, if the opcode isin success state, send the 'result' attribute of Ganeti jobs.
cyclades: Handle Ganeti msgs for resized VMs
Handle 'OP_INSTANCE_SET_PARAMS' notifications from Ganeti that have'beparams' attribute, which corresponds to resized VMs. In suchcase, the corresponding flavor is found an the VM in DB is updated tohave this flavor....
cyclades: Make flavor representation more verbose
Update .gitignore file
cyclades: Fix assertion on mocked client
astakos: Change default region value in POST /tokens
Refs: 4086
astakos: Different image on login page
A different image is shown in the login page when the mainlogin method is 'local' and its form is already expanded.
astakos: Update tests
fix pithos:// redirect params extraction
astakos: Rename Region to region
Refs #4086
astakos: Return default region in POST /tokens
Update api call to return a default region for compatibilitywith the keystone api.
cyclades: Fix bug in testcase
Merge branch 'hotfix-0.14.2' into develop
Conflicts: snf-astakos-app/astakos/im/views/projects.py snf-cyclades-app/synnefo/logic/backend.py snf-django-lib/snf_django/lib/astakos.py version
snf-django: Add retry option to AstakosClient
API method decorator should initialize the AstakosClient with the retryargument set, in order to avoid errors caused by getting an oldconnection from pool.
Add release dates for version 0.14
Update NEWS for Synnefo 0.14
Merge branch 'release-0.14' into develop
Conflicts: snf-astakos-app/astakos/im/views/target/redirect.py snf-cyclades-app/synnefo/logic/backend.py version
docs: Update 0.14 upgrade guide
include reference to the update email configuration guide
cyclades: Fixes relative to reconciliation
Get available backends once and work only with them, since availablebackends may change during reconciliation. Also temporary remove supportfor communicating with each backend in a separate process.
astakos: Fix call of helper function
astakos: Disallow join/leave for non-alive projects
astakos: Correct plural in 1 pending membership
astakos: Fix listing of approved members
Include leave requested and suspended members in the list of approved.
Add proper logging for UserCache
pithos: fix empty account usage computation
Usage computation for empty accounts used to fail with:TypeError: 'NoneType' object is unsubscriptable
astakos: return uuid in weblogin
The weblogin used to return the user uuid.However, this in 0.14 version had been removed since the uuidcan be retrieved using the POST /tokens authentication method.However, the old pithos clients have no other wayto get the uuid, so we restore it temporarily.
pithos: improve performance of get_domain_list
Before it used to query the databasefor all the objects having the specific domainand finally filtered out the objects to which the user had no access.Now gets first the allowed_paths for the user and then...
astakos: Force usage registration during migration
Register usage for astakos.pending_app even if limit is exceeded.
cyclades: Fix --image-name option in server-list
Fix regressions in snf-manage list commands
Bump version to 0.14.2
pithos: compatibility code for django greater than 1.2
Change condition for being compatible with django 1.2 or greater
pithos: Fix partial content responses
Refs: #4063
Revert "cyclades: Speed up reconciliation"
This reverts commit cf2241c45a22dac71e31dbf32f4700c475804c12.
Bump version to 0.14.1
cyclades: Fix bug in setup.py
muliprocessing is included in python 2.6
Merge branch 'release-0.14'
Conflicts: version
Bump version to 0.14rc6
cyclades: Speed up reconciliation
Speed up reconciliation by using mulitprocessing to get in parallelthe instances from all Ganeti backends.
docs: Mention UI URL change in upgrade
If some BASE_URL has changed, the UI URL needs to be updated.
Fix check for snf-manage in ci/tests.sh
Report failure to find snf-manage in test runner
cyclades: Fix bug in allocating archipelago VMs
This commit fixes a bug that caused backend allocator to sendarchipelago VMs backends to backends not in ARCHIPELAGO_BACKENDSsetting. The flavor disk template is parsed before the backendallocation, so the disk_template at this point is ext and not ext_vlmc,...
cyclades: Handle errors when using multiprocessing
Check the process exitcode to determine if a process finishedsuccessfully.
Update gitignore
exclude .coverage
burnin: Set CONNECTION_RETRY_LIMIT=2 on all kamaki clients
burnin: Add new bash script to run burnin
astakos: REDIRECT_ALLOWED_SCHEMES hidden setting
astakos: fix reset password confirmation url
astakos: remove URL-distorting full stops in emails
docs: Note that kamaki is not needed in 0.14
docs: remove PITHOS_UI_LOGIN_URL/FEEDBACK_URL refs
Change Ganeti doc URLs to point to 2.6
astakos: Fix third party creation form kwargs handling
view always passes request argument. Avoid propagating it to ModelFormconstructor.
cyclades: Fix VMs console incorrect background
astakos: modifications in redirect view
docs: Additional email configuration instructions
in quick-install-admin-guide.rst
astakos: Fix regression in signup view
when recpatcha is enabled in astakos settings
django-lib: Use requested default serialization
cyclades: remove VMAPI_BASE_URL references
Minor fixes to the upgrade-0.14 guide
vmapi: Return cloud faults from vmapi endpoint
vmapi skippede from commit 269ac8d.
docs: Explain component's UI URL
cyclades: Speed up server reconciliation
Speed up reconciliation, by increasing the time interval to get Ganetijob status for VMs in building state.
docs: fix PITHOS_PROXY_USER_SERVICES typos
pithos: change public listing api
Before public listing (public request parameter)requested by non path owners, was ignored.Now it returns a response with 403 status code (Forbidden)
burnin: Increase ping timeout
Bump version to 0.14rc5
Bump version to 0.14rc4
cyclades: Fix deadlock when creating servers
Fix deadlock between snf-dispatcher and backend allocator, by makingsnf-dispatcher take an exclusive lock to the backend which hosts the vm,before trying to get the exclusive locks to the IP pools in order to...
Bump version to 0.14rc3
astakosclient: Fix bug in setup.py
astakosclient should be added to the beggining of the sys.path instead,of the end, since astakosclient may already be installed on the system.
helpdesk: Typo fix
pithos-app: Update pithos.api.util.api_method wrapper
to match the updated snf_django api_method decorator
pithos-api: Update api_method wrapper
pithos-app: Set supported serializations in api views
cyclades: Set supported serialization in stats view
django-lib: api_method decorator improvements
allow API views to define supported serializations.