cyclades: Compute disk quota per user/project
cyclades: Fix typos
cyclades: Specify project on volume creation

Allow specifying project when creating a new volume. On a VM creation, the
system volume is given the same project as the VM.
cyclades: Add missing MODIFY_VOLUME action

Handle the case when a volume is modified in the backend.
Support commissions on multiple projects

An action on a resource can now trigger quota changes on multiple projects.
For example, when a VM is destroyed, its attached volumes (which may refer
to different projects) are destroyed too.

Astakosclient commission helper functions are changed to take provisions
on project/resource pairs.
cyclades: Support project reassignment for volumes

Volumes can be reassigned through the volume API except for the system
volumes. These are reassigned as part of the VM they are attached to.
cyclades: Properly enforce volume quota

When enforcing the cyclades.disk resource, omit by default system disks.
This can be overridden with "--remove-system-volumes", in which case the
corresponding VM must be removed too.

Removing a VM fails if it triggers the removal of additional (non system)
disks. This can be overridden with "--cascade-remove".
cyclades: Reduce duplicate quota code

get_db_holdings computes either user holdings or project holdings; this is
controlled with the flag 'for_users'.
astakos: Query service quota with lists

Extend service_get_quota and service_get_project_quota in a backwards
compatible manner in order to support querying for multiple users or
projects.
cyclades: Fix reconcile for given project

Use the new option 'project' of service_get_quotas in order to retrieve
only the quota needed. Also handle gracefully missing user or project.
cyclades: Set DB index for project fields

The index speeds up resource reconciliation, which filters by project.
cyclades: Auto-fill project in test objects

Use factory.LazyAttribute to set project equal to userid in test objects
created with a factory.
pep8 fixes
cyclades: Suggest volume options in enforce

When a violation cannot be solved in full because it would trigger an
unexpected action (e.g. destroy a vm), suggest which option can be used
to force it.
Merge branch 'feature-project-aware-volumes' of https://github.com/gkorf/synnefo into develop
cyclades: Include user/project info in volume API
gtools: Support Ganeti 2.10 too

Since Ganeti 2.10, the private ganeti module is installed and linked
under /etc/ganeti/share. If this path is found, include this path
in eventd.py before importing any ganeti related modules. Otherwise
import ganeti from /usr/share/ganeti.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
deploy: Install optional but missing packages

..that snf-* packages do not depend on but deployment requires
(and quick admin install guide mentions).

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
deploy: Move firefox_cert_override.py to Apache

..and install required python-openssl package.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
management: Fix typo