pithos: Change default disposition type to inline

Since version 0.15 a specific content disposition type can be enforced in
requests for an object's content, using the 'disposition-type' optional
parameter.

If no disposition-type is specifically requested or an invalid value is passed,
the default disposition type used to be 'attachment'.

This commit changes the default disposition type to 'inline'.
docs: Update Changelog
cyclades: Make all volumes terminate with servers

Do not allow users to set 'delete_on_termination' to False, since,
currently, Cyclades do not support detached volumes.
cyclades: Add index to volume.deleted column
cyclades: Forbid actions to deleted resources

Do not allow any "write" action to deleted (marked as deleted=True)
servers, networks and volumes. Only reading information about the
deleted resources is allowed.
cyclades: Store the index when creating a volume

Store the volume's index in the DB when creating a new volume.
cyclades: Update volumes state if create VM fails

Update the state of server's volumes to 'ERROR', if Cyclades fails to
issue the instance creation job to the Ganeti backend.
cyclades: Get default volume type from server

Fix the 'volume-create' management command in order to use the server's
volume type, if the user did not specified it using the '--volume-type'
option.
cyclades: Do not allow cloning a volume

Update 'volume' app to not allow cloning a volume, because it is
currently not supported by Archipelago.
cyclades: Accept an empty image when using volumes

Accept an empty 'imageRef' attribute when creating a server with
volumes. The attribute must always be present even with an empty value.
In case the server's image is left blank, we use the source
(image/snapshot) of the first volume. Also, if an image is specified
both for the server and for the first volume, we check that the image is
the same.
cyclades: Delete snapshots by their UUID

Use the 'delete_by_uuid' method that was introduced in PithosBackend in
order to safely delete a snapshot by it's uuid.
pithos: Fix tests

Fix tests challenging partial content update that used to fail with
ValueError: empty range for randrange().
deploy/ci: Make vcluster use debootstrap

Introduce a new helper script, mkimage.sh that creates a debian base
raw image with debootstrap so that it can be used in a virtual
cluster.

Install network-manager and a hook to update hostname with info
provided by DHCP responce.

Add new conf setting for the size of the image.

Create another empty image as well so that the VM can use it for
LVM.

Remove unused settings.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
deploy: Add image command

..that creates the debian base image needed by the vcluster command.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
deploy: Support dry-run in vcluster

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
deploy: Check vcluster node's IP and subnet

..and abort if some node's IP does not reside inside the vcluster's
subnet.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
deploy: Allow passwordless ssh in vcluster nodes

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
deploy/ci: Change conf files for easy setup

Update conf files to support three basic setups:

 synnefo: Used by ci in order to install the whole stack in one node
with --autoconf

 qa: Three node setup with one development node and two ganeti nodes

 vc: Four node setup to test synnefo deployment on multinode virtual
cluster

So, we now have:

 snf-deploy synnefo --setup synnefo --autoconf

 snf-deploy ganeti-qa --setup qa

 snf-deploy vcluster --setup vc

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
deploy/ci: Add dummy node

Remove all roles from DEFAULT section in setups.conf. This way each
setup has only the roles/nodes that are included in the corresponding
section. Since currently the Context() class expects to find all
roles in each setup (db, mq, etc.) we have to introduce a dummy node
that eventually should not be used.

Set DEFAULT_NODE and DEFAULT_CLUSTER to None. One should only
specify the desired setup (with --setup option) and the nodes, and
clusters should be derived from it.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
deploy: Print ssh/vnc info after vcluster command

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