Fix config opts for Storwize/SVC volume driver.

Removed the "vtype" option which did not work in the driver, and
added the "easytier" option. Added another check to _check_flags
and made sure -warning flag is passed properly. Added unit tests
to check all option variations.

Fixes bug 1049446.

Change-Id: I135ed85ad1b9d60e6a8cc406aa49360e0f080039
Remove refs to ATAoE from nova docs

fixes bug 912108

Nova volumes' ATAoE is long gone. This patch merely removes the
remaining comments about it from the nova devref documentation.

Change-Id: Ic5586c0d596acae05cdee4ba9cb5ec453315b773
Allow deletion of instance with failed vol cleanup

If something goes wrong when trying to delete volumes that have
been marked delete_on_terminate, we leave an instance record in
the database that can't be removed even though the instance is
gone.

Intelligent recovery at this point is very difficult, so for now
just log a warning and let the instance be deleted. It is unfortunate
that there isn't a good way to let the user know that his volume
was not deleted, but this seems preferable to leaving an undeletable
instance.

A test is included to verify the behavior, as well as a note so that
a better fix can be included later.

Fixes bug 1055095

Change-Id: I26e801fc3e9c56cf84d2b977295fcf580428879a
Merge "Allow deletion of instance with failed vol cleanup"
Integration tests virtual interfaces API extension

Adds tests and templates for testing of the virtual interfaces
API extension. Tests both json and XML API functionality.

Change-Id: I95f4e6667c3c2df123246d73498f13d826e3866a
Fix NetAppCmodeISCSIDriver._get_lun_handle() method

bug 1055578

Change-Id: I06da6a9a59fa2320f1cae9698e5e63562e534916
Spelling: ownz=>owns

Change-Id: I856a547962ee34aa17c0595afdbc9fc01256edb0
Merge "Spelling: ownz=>owns"
xenapi: fix undefined variable in logging message

When resizing down, a log message references an undefined variable
cow_uuid. This used to exist before some refactoring. Make sure we
get the UUID early enough for the log message, but also change the
name since in the resize down case, we don't use a snapshot and a
COW VDI.

Change-Id: I8cf7fc66aa18fe23ced9144d1b58f89de5d0de80
Merge "Integration tests virtual interfaces API extension"
Imported Translations from Transifex

Change-Id: I563b768bea263fa80068a51eb321f5cef292fd15
Fixes remove_export for IetAdm

* Corrects indentation.
* Uses specific iqn as keyword argument.

Fixes bug 1055401

Change-Id: I1267be37a7e7adcd2a18ffb719326c5f68296523
Merge "Remove refs to ATAoE from nova docs"
Merge "Fix config opts for Storwize/SVC volume driver."
LOG.exception() should only be used in exception handler

When used outside of an exception handler it will print the message
and then 'None', which isn't useful at all.

Change-Id: I797dbb0f6f0c5012859c02689907aa286c218808
Revert explicit usage of tgt-adm --conf option.

Fixes bug 1056246.

Reverts commit 0a09bf5faeb30b675fdb8f517c61166ef794bad3.

This ensures that we fail-fast if the tgtd configuration does
not include the directory for volume iscsi target configs,
instead of only blowing up when tgtd is restarted.

Change-Id: I3c9f0d97e411560e5c0fd058671f8c834e9bed1e
Merge "LOG.exception() should only be used in exception handler"
Merge "Revert explicit usage of tgt-adm --conf option."
Fix issues with device autoassignment in xenapi

This is a workaround for two issues in xenapi. The first is that
does not set the instance default_root_device to /dev/xvda so it
defaults to /dev/sda. The proper fix for this involves setting the
default_root_device in xenapi and a db migration to set the proper
default_root_device for existing instances.

This patch works around this issue by explicitly setting the prefix
to /dev/xvd if the compute driver is xenapi.

The second issue is that xenapi never updates the instance record
to include default_swap_device and default_ephemeral device. The
fix for this involes adding the appropriate update to the instance
record and a migration that sets the proper values for all existing
instances.

This patch works around this issue by explicily checking the
instance_type and removing the devices from the list if the compute
driver is xenapi.

Fixes bug 1055715 and bug 1055712

Change-Id: I61aa15e69eb0a22430bb22ea5149b1f0735b3328
Merge "Fix NetAppCmodeISCSIDriver._get_lun_handle() method"