snf-deploy: Update snfdeploy/lib.py to be pep8 compliant
snf-deploy: Various fixes for merging with synnefo
Add snf-deploy tree
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Modify devflow for snf-deploy
Remove some files
Remove README/CHANGLOG from snf-deploy/setup.py
deploy: Alter db owner+access to create
Modify database initiliazation by declaring the database owner, andgiving access to synnefo user to create databases. This options areneeded in order to be able to run tests in postgres db.
snf-deploy: Add option (--disable-colors) to disable color printing in terminal
docs: Update Network Service section
Update Network Service section to containg a reference to Floating IPs,IPv6 networks and network policy for spawned instances. Also, refactorthe whole section 'Network @ Cyclades level' and add more detaildescription to some of the network features. Finally fix some typos, and...
cyclades: Remove firewall tag when removing NIC
Remove firewall tag from ganeti instance when disconnecting them fromnetworks. Until now, this was not needed because a vm could not bedisconnected from public networks. Since floating IPs, a vm may bedynamically be connected and disconnected to public networks, and so a...
docs: Update guides for dhcp option
Document the change of --dhcp option from a flag to a boolean value.
Merge branch 'feature-table-sort' into develop
astakos: Disable pagination and ordering in project tables
Prepare the tables for client-side ordering.
astakos: project table client-side sorting
Client-side sorting and pagination for project-list tables
Merge branch 'feature-4131' into develop
pithos: Fix shared listing for implicitly shared objects
Provide also the appropriate tests
Refs: #4131
pithos: Add tests
pithos: Fix delete deleted object
Delete object used to create a new object version flagged as deletedregarless of the status of the previous version.However, delete requests of a deleted objectshould return 404 (NOT FOUND) response.
pithos: Fix backend logging.
pithos: Fix IndexError in update from other object
docs: Fix typo in admin guide
Merge branch 'feature-projects-improved' into develop
astakos: Fix enroll when already requested
Enrolling a user sets its membership state directly to ACCEPTED, alsoin case of REQUESTED.
astakos: Describe and implement API for projects
astakosclient: Implement project calls
astakos: pep8 fix
astakos: Simplify project schema
Applications now point to a project (rather than an extra model Chain).A Project is created upon submitting an application; it always points toa single `reference' application.
Model Chain is kept as a sequence to generate project ids.
astakos: Remove precursor_application field
Submit a project modification by specifying a project id rather thanan application
astakos: Change project membership schema
Replace ProjectMembershipHistory with ProjectMembershipLog, whichrecords every state transition. Never delete any ProjectMembershipentry; set it instead to an appropriate state.
astakos: Adapt UI to new project schema
Base tables on projects rather than applications; update templates.
astakos: Omit project_id in membership operations
Identify a membership by its id only.
astakos: Lock project rather than chain
astakos: Cleanup checks for membership actions
astakos: Set project-wise resource limit in new app
astakos: Return membership when joining project
astakos: Catch exceptions in submit app views
Ignore exceptions in custom _create_object and _update_object;let the views handle exceptions and specify commit strategy.
astakos: Raise project-specific exceptions on failure
Replace IOError and PermissionDenied with project-specific exceptions.
astakos: Define permission levels for project actions
astakos: Refactor membership checks for conciseness
astakos: Add log info in membership actions
Record user who performed the action and optional reason.
astakos: Adapt tests to the new project schema
astakos: Fix sqlite-related migration issues
As per 63bcab0, do not attempt to delete index when run on sqlite.
astakos: Improve logging for Projects and Applications
Introduce model ProjectLog as well as fields in ProjectApplicationin order to record all actions.
astakos: Lock globally when approving application
We need to make sure that the name to be approved is uniqueamong all non-terminated projects. We thus acquire a globallock before approving.
astakos: Allow re-activation of terminated projects
Define function `reinstate' to re-activate a terminated project. If itsname is taken by another active project, it fails.
astakos: Remove unused ExtendedManager
astakos: Use units common code in the UI
astakos: Fix some issues pointed out by pyflakes
astakos: Update the project stress test
astakos: Enhance project tables rendering
Prefetch data in bulk queries in order to avoid continuously queryingthe database.
Fix Changelog order of entries
Fix order in Changelog between version 0.14.5 and 0.14next that has beencreated by merging and automatic conflict resolution.
Also fix tpo in admin guide.
Merge branch 'hotfix-0.14.5' into develop
Conflicts: snf-pithos-backend/pithos/backends/modular.py version
Changelog, NEWS and release dates for 0.14.5
cyclades: Fix bug in servers tests
Import settings from django.conf instead of synnefo.
Merge branch 'feature-servers-api-access' into develop
cyclades: PEP8 fixes to tests module
cyclades: extend VM info with 'port_forwarding'
Extend servers info API response with 'SNF:port_forwarding' attribute,describing port fowarding rules (DNAT) that are applied to vms. Thedescription of such rules is done via the new CYCLADES_PORT_FORWARDING...
cyclades: Import settings from django.conf
cyclades: init dispatcher with DJANGO_SETINGS_MODULE
cyclades: Extend servers info with fqdn attribute
Extend the servers info API response with the 'SNF:fqdn' attribute,containg the vm's domain name in a DNS. This attribue is configurable bythe 'CYCLADES_SERVERS_FQDN' setting. If this setting is set to None,...
cyclades: add tests for 'fqdn'
cyclades ui: Improve available quota handling
handle the case where available resource quota is less than thecorresponding active quota (for cpu, mem and disk resources).
Bump version to 0.14.5
cyclades: Fix typo
cyclades ui: Fix typo in VM resize
ci: Specify a flavor_name instead of a flavor_id
Specify a flavor_name (in form of a reg expression) to use.
stats: Fix python dependency from rrdtool
setup.py should contain the name of the python module for rrdtool, whichis py-rrdtool. It's the debian file that should change this topython-rrdtool.
cyclades: Fix bugs in modifying network to IP pool
cyclades ui: Handle empty floating ip pools
prevent user from allocating new ip addresses if no available pools exist
cyclades: Fix condition for network netmask size
cyclades: Check that IPv6 network netmask is /64
Check that IPv6 network netmask is /64, because this is imposed by the'mac2eui64' utility that generates EUI-64 addresses from 48-bit MACaddresses.
Refs #4201
cyclades: Move code for validating network values
Move code for network parameters validation from 'api' module to 'logic'.
ci: pep8 fixes
ci: Use -c as sort version of --conf
Follow kamaki convention where -c should mean --confand not --cloud.
ci: turn system_uuid option into a hardcoded one
User doesn't need to specify the UUID of the owner ofsystem images (it's usually hard to find it).
Instead save the uuids for these users for our production andtesting deployments inside a list (DEFAULT_SYSTEM_IMAGES_UUID) and...
ci: Redirect logging to stdout/stderr
Use stdout for info/debug messages and stderr forwarning/error messages.
ci: Add --ssh-keys command line option
Using this option one can specify a file containingssh authentication keys to be uploaded and installedon the newly created server.
ci: Add support for downloading ssh_keys file
Currently support http, https and ftp protocolsusing the wget utility.
pithos: Fix access object version data/metadata
snf-django: PEP8 fixes
astakosclient: PEP8 fixes
This commit makes astakosclient PEP8 compliant.
Fix stale import statements
Commit 7cfc0ce moved code from webproject to snf_django. This commitfixes some stale imports that skipped renaming.
cyclades: Remove assumptions from tests
Remove some hard-coded IDs from tests.
common: Make tests use postgresql
Modify default settings for tests to use postgresql by default.
snf-django: Move ListCommand to snf-django
snf-webproject contained the generic ListCommand, and because of this ithad a dependency from snf-django-lib. This commit moves this command fromsnf-webproject to snf-django-lib and removes this dependency. Also,...
ci: Add --noinput option to tests
Modify tests script to pass the --noinput option to snf-manage testcommand, so that Django will promt user for any input.
astakos: Catch unexpected request body in user_catalogs
The request expects a json formatted dictionary.Raise 400 (BadRequest) otherwise.
pithos: Fix TypeError when trying to retrieve invalid object version
ci: s/mail/email in git config
ci: Create version files before building docs
Run 'devflow-update-version' to create all the version files, beforetrying to build the docs.
Merge branch 'feature-ci-deploy3' into develop
ci: Add option to build and fetch documentation
ci: Specify directory to fetch packages to
ci: Parse branch from repository
Guess the branch to build, based on the current branch of therepository. Also track all remote branches when cloning Synnefo, becauseit is needed by devflow.
ci: Helper script to run ci commands
Make 'snf-ci' python script to run CI commands.
ci: Make some options optional
Make 'ssh_keys' and 'accept_ssh_from' optional, since there are notmandatory for ci to work.
ci: Add option to override configuration file
Add 'config_file' argument to SynnefoCI in order to use a differentconfiguration file. Also, added the corresponding option to 'snf-ci'scirpt.
ci: Merge 'fetch_packages.py' to snf-ci script
Add '--fetch-packages' option to snf-ci script, in order to download thecreated debian packages.
ci: Add option to override schema