cyclades: Add first iteration of admin interface
Port helpdesk app as admin app and plug it where necessary. This ismostly done to familiarise with Django.
Note: This is not a polished or working commit and is pushed only fordata safety reasons.All changes will be committed appropriately once the code has matured.
cyclades: Use vm.flavor_id instead of vm.flavor.id
Get the ID of the flavor of the VM without getting the flavor objectfrom DB.
cyclades: Prefetch metadata when listing servers
Update changelog to include HTTP 500 API fixes
docs: Update Changelog
ui: Escape vm metadata keys in vm list item views (icon/single)
pithos: Fix TypeError when listing over-populated containers
Update tests
Refs: #5119
Merge branch 'feature-apidocs-0.15' into release-0.15
Comment out references to project ids in compute
Refs: #5064
Update compute server API to current state
In create fl. ip, descirbe network_id as optional
Describe tenant_id as a project ID
Update server attributes in api docs
Conflicts:
docs/compute-api-guide.rst
Fill in the guide for the Networking API
Correct service names in api-guide intro page
cyclades: Add tenant_id/user_id fields in floating ips
astakos: pep8 fixes
cyclades: Add shared field in the API for networks
Add a "shared" field in the API reply of networks to be compatible withNeutron API. This field has the same value as the "public" field.
astakos: Search projects list by owner name/email
cyclades: Add tests for servers/networks/subnets
Add new tests for changes introduced in commit 35ea7f6
plankton: Fix unicode error
Fix unicode error in log statement
cyclades: Log userid in create requests
cyclades: Add some unicode unittests
cyclades: Revert some changes from previous commit
Revert removal of duplicate code from commit35ea7f671f28f4e3fbf4d1a58d32fd04fb5f3140
docs: Update compute api guide
snf-cyclades: Various bug fixes in cyclades
astakos: Add placeholder to inputs with no label
snf-ci: Fix the branch name for pithos webclient
When cloning the pithos webclient, snf-ci tries to checkout a branchwith the same name as the synnefo one (if such branch exists). To do soit gets the list of all branches using the 'git branch' command. But...
pithos: Fix further unicode issues
astakos oa2: Fix further unicode issues
pithos: Pep8 fixes
pithos: Create index on nodes.latest_version
snf-ci: Search all public networks
When creating a new floating IP try all public networksuntil we find one that is not full.
pithos: Fix excessive RADOS threads.
When a RADOS ioctx is acquired, new threads are spawn in the background bylibrados. Make sure we do not instantiate multiple RADOS ioctx, but instantiateonly one and reuse it.
snf-common: Comment out unused code in urltools
burnin: Search all public networks
Previously burnin tried to create a floatingIP from the first publicnetwork found. But this public network may be full.This patch fixes '_create_floating_ip' so it will try all publicnetworks until it succeeds.
snf-common: Fix python2.6 compatibility
astakos: Remove dependency on urltools.
astakos oa2: Early failure in case of conflicting client information.
Catch earlier requests containing conflicting client identification(client_id) and client authorization (authorization header).
astakos oa2: Handle unicode query parameters in the redirection endpoint
pithos: Retain query parameters during view authorization code grant.
Include view query parameters in the Redirection Endpoint
pithos: Optionally open object's content inline in the browser.
Refs: #5019
docs: Update pithos api guide.
Document content disposition type enforcement.
astakos: Typo fix
burnin: Fix a bug in '_delete_floating_ips'
Renew the list of floating IP objects as it may have been changed(i.e. a port may have been deleted).
Tests should succeed even if tearing down DB fails
burnin: Delete ports attached to floating IPs
This patch fixes a problem with burnin where burnin couldn't delete afloating IP if it was attached to a port, by destroying the port first.
astakos: Change contact form textarea size
cyclades: Fix numerous bugs in plankton views
docs: Fix typos in image api guide
plankton: Fix wrong import
s/lib/util
plankton: Validate parameters and catch assertions
plankton: Fix storing of image properties
Image properties where stored all together as one metadata (JSON dumpedstring). This caused problems with the maximum allowed length of for ametadata value. This commit fixes this by storing each property as aseparate metadata which is prefixed with the 'PROPERTY_PREFIX'.
pithos: Database data migration for the plankton properties.
plankton: Validate meta key/value length
Fail with BadRequest if length of metadata key or value is not valid.
deploy: workaround for java console Issue
Java VncViewer class has an issue with self-signed certificates.With existing deployment it does not work if UI_MEDIA_URL usesFQDN. Use the node's IP instead.
NOTE: In a linux (Debian) client add the following in...
docs: Update image api guide
cyclades: Check if the name of an image is null
cyclades: Stats per backend from API
Extend Cyclades stats API endpoint with the ability to return statsonly for a backend. Also, add option to include image stats or not.
plankton: Check that object is an image
Fix bug that caused Plankton to return Pithos files that were notregistered as images. Plankton did not checked that the requested Pithosobject (UUID or URL) was an Image. This was caused because'get_object_meta' call of PithosBackend returns the common metadata for...
cyclades: Fix typo in tests/networks.py
snf-deploy: Fix ownership of snf_pithos database
Add missing dhcp_queue option in nfdhcpd template
Since 0.12.0 nfdhcpd serves DHCPv6 requests in order to supply DNSrelated info. So we have to define a new NFQUEUE to mangle thecorresponding packets.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
deploy: add missing ganeti collectd setup
cyclades: Typo fix in api/networks.py
cyclades: Update api/networks.py and typo fixes
Refs #4979
cyclades: Validate fields of API requests
Make sure that all fields of a request (user input) have a valid type.This commit validates 'ports', 'servers' and 'floating_ips' APIs.
cyclades: Detach serial from resource when resolved
cyclades: Delete unused quota code
cyclades: Update serial only if actually resolved
astakos: Display auth provider identifier in user-show command
snf_django: Fix bug in list commands
Fix bug in Synnefo ListCommand where you could not select to print onlythe user email columnd ('-o user.email').
astakos oa2: Fix request authorisation code failures due to unicode issue
If the object to be urlencoded has its own urlencode() method,use this instead.
Refs: #4971
Remove remnants of django-oa2-client
docs: Mention enforce quota output
astakos: Prevent erroneus race conditions in simultaneous signups
Refs: #4966
cyclades: Fix typo
cyclades: Extend flavors with 'allow_create' field
cyclades: Improvements to Astakos stats
Improve the exposed stats from the Astakos API and the way they aredisplayed in 'stats-astakos' management command.
ui: Disable content editing in public key list view
snf-deploy: Stamp pithos most recent database migration
This is necessary so that future migrations know where to start upgrading.
cyclades: Update snf-manage subnet-* commands
cyclades: Fix broken tests
Fix tests that were broken by commit #7ef05bd.
snf-deploy: Fix ASTAKOS_AUTH_URL for cyclades.conf
Add the '/astakos' prefix to the ASTAKOS_AUTH_URL path.
cyclades: Fix quota bug in snf-dispatcher
Clear the 'vm.serial' field after processing a job that was notexpected. When processing such a job, we reject the pending commissionand issue a new one that reflects the unexpected job. However, since wereject the commission that is associated with the 'vm.task_job_id' job,...
ui: Fix super method call
astakos: Handle pending third party provider validation issues
skip validation errors and reset invalid field values for received usermetadata.
Update Changelog
cyclades: Fix corner case in reconciliation
Do not perform reconciliation for building servers that theOP_INSTANCE_CREATE job is completed after quering Ganeti about the stateof servers.
cyclades: Display IPs in stats-cyclades
Display free and total public IPv4 addresses when pretty-printingCyclades stats.
astakos: Fix bug in Astakos stats view
'ASTAKOS_AUTH_URL' setting is not present in Astakos node.
cyclades: Add deleted attribute for changes-since
Extend API response for servers, networks, subnets and floating IPs,to support HTTP 'changes-since' queries.
Catch EOF in astakos/quota commands
Abort operation when raw_input raises an EOFError.
Fix stdout/stderr write in astakos/quota commands
Write actual command output and user prompts to stdout; error and progressmessages to stderr.
Fix a typo in documentation
The correct filename is 20-cyclades-app-api.conf.
Bump version to 0.15rc5
astakos oa2: Improve tests
astakos oa2: Restrict redirect URI length during client registration.
Apply the check in the oauth2-client-add snf-manage command.
Refs: #4804
pithos: Reduce database interactions for access control.
Each frontend method calls several backend methods.Each backend method checks whether the user has permission to access thespecific path.This results to several identical queries to the database....