Remove unused flags

* region_list
* aws_access_key_id
* aws_secret_access_key
* osapi_scheme
* osapi_path
* metadata_host
* metadata_port
* default_project
* default_image
* default_instance_type
* vpn_image_id
* vpn_key_suffix
* auth_token_ttl
* bandwith_poll_interval
* start_guests_on_host_boot
* resume_guests_state_on_host_boot
* default_ephemeral_format
* use_ipv6
* allow_resize_to_same_host
* zombie_instance_updated_at_window
* isolated_images
* isolated_hosts

Change-Id: Ia3d5ac7d7c983845b5411e2fc1f49eb579e3280f
Make size optional when creating a volume from a snap

Changing the size of a volume when cloning a snapshot doesn't
make a great deal of sense *and isn't part of the ec2 api).

This patch makes the field optional, defaulting to the same
size as the snapshot (and therefore the origination volume).

Change-Id: I3fea7fe1c0415d10e549c66a242cf2a336a7204e
Removed unnecessary call to ensure_export

Removed the extra call to 'ensure_export' from '_copy_image_to_volume' while
creating a volume from an image.

Fixes LP: #1044399

Change-Id: I189a4cb66b965367289c2f677147ee085e431190
Add admin actions extension

The optional os-admin-actions extension adds new wsgi_actions to the
volumes/action resource and a new snapshots/action endpoint.

With this extension both controllers will support an os-reset_status
action to force a database update of a volume or snapshot that is stuck
in a failed/incorrect status.  The os-reset_status action works
similarly to the compute api's os-reset_state action for instances.

The os-force_delete action behaves similarly to the "cinder-manage
volume delete" command and allows operators/admins to retry the delete
operation after it has gone into an error_deleting status with an admin
api call.

The os-admin-actions extension is enabled by default, but limited to the
admin api by the default policy.json rules.  Individual admin actions
can be disabled with policy rules as well.

Example of os-reset_status action on a volume:

curl http://localhost:8776/v1/${PROJECT_ID}/volumes/${VOLUME_ID}/action \
    -H 'x-auth-token: ${ADMIN_AUTH_TOKEN}' \
    -H 'content-type: application/json' \
    -d '{"os-reset_status": {"status": "error"}}'

The new admin only api can assist deployers who encounter bugs or
operational issues that result in failed actions.

It can also be used by future storage backends to support async callback
style status updates from long running actions or operations which have
encountered an error will be retried.

Also updates the api.openstack.wsgi.ControllerMetaclass to support
sub-classing wsgi.Controllers that define wsgi_actions.

Partial fix for bug #1039706

Change-Id: I29f4b892a99108b6c24eebc3eb58033a9e01e679
Merge "Remove unused flags"
Move newly created NFS exceptions to standard location in exception.py
Addresses bug 1037619

bug 1037619

Change-Id: I20b1c612c03ef90eeb074814b979a9bc7492109c
Typo fix: nova => cinder

Change-Id: I816473b3aa7de16bd2d8569c695c6ced9e1d9033
Update dev docs
  * Quick pass at implementing the basics for cinder dev docs
  * Remove the N/A compute related stuff
  * Clean up the architecture a bit to only show cinder related
  * Remove various modules form TOC's that aren't applicable

Change-Id: I0089c388524c9def7494658e836f4ed03a61f5b5
Remove Cheetah from pip-requires.

We don't use Cheetah so no need to install it w/ pip.

Change-Id: I29ea1b0ec2bf2eaebe4378c15c3cfc0caebabf99
Several hacking compliance fixes.

Updates bin/nova-manage and the solidfire driver with several
hacking compliance fixes.

Makes it so run_tests.sh -p runs clean again.

Change-Id: Iee675cae06acda6a585a77073e773651aab9d5a1
Merge "Several hacking compliance fixes."
Fix bug where image size is incorrectly rejected.

Fixes bug 1043952.

Added GB-1 (one byte less than a gig) to the numerator to
correct round-off errors.

Change-Id: I6d97f3c53ab5a8ff5a0752400fd189f23223958f

Fixed PEP8 complaints.

Change-Id: Iacecddd4e65c80964f4860d6580872d897ec2356
Fix xml metadata for volumes api in cinder.

Fixes bug 1040891.

Change-Id: Idf8cc641162617ade2aeb77b666270cf1ce54c54
Signed-off-by: Matthew Treinish <treinish@linux.vnet.ibm.com>
Merge "Make size optional when creating a volume from a snap"
Merge "Fix bug where image size is incorrectly rejected."
Sync cfg changes from openstack-common

Syncs the following from stable/folsom:

 4dc2043 cfg: clean up None value handling
 513bd3a Allow set_default and set_override to use None
 0a36c92 Tilde expansion for --config-file and --config-dir
 038d597 Add import_opt() method to ConfigOpts

Change-Id: Ifa85280fdc072965f3e9ae8641bdf85268a9a6ac
Sync zmq changes from openstack-common

Syncs the following from stable/folsom:

 9f9e14c Update zmq context cleanup to use term.
 704fb8b Remove register_opts from client methods
 f88d38b Rename FLAGS to CONF; Remove self.conf

Change-Id: Ic6ab732d71420aba032554c51904dd71f1d23b78
Sync misc changes from openstack-common

Syncs the following changes from stable/folsom:

 769ec65 Don't trap then re-raise ImportError.
 202b8b7 Fix spelling typos
 01b4f31 Support for marshalling datetime while preserving microseconds.

Change-Id: I6ed5e71ed18cdf3c528351713a42645f31fd8965
Merge "Removed unnecessary call to ensure_export"
Sync improvements to config file generator tools.

We made some improvements to the config file generator in
Nova during Folsom including spacing and formatting changes.

This patch merges these into Cinder so we can make use of
them to generate a new sample config file.

Change-Id: I1e1166ac6e2a28cc179223e5af547995f58b36e6