Updated openstack/openstack
Project: openstack/cinder  6f1e6f473c84657b33dde094cb4b047fbdaf7c45
null
Update cinder.conf.sample for keystoneclient change

A new version of python-keystoneclient adds the
"include_service_catalog" option, so the sample conf needs to be
updated.

Closes-Bug: #1268614

Change-Id: Ie6913e481caf61ee517c1c101565401fe33c60d6
Updated openstack/openstack
Project: openstack/cinder  5be4620ae5bb50c8436de0e11269c85a095ed40b
null
Move driver initialization check into the method

Volumes and backups managers' methods are decorated with
`require_initialized_driver` which checks whether the driver has been
initialized or not. The decorator fails with a `DriverNotInitialized`
exception if the driver hasn't been initialized.

This early failure leaves volumes and backups in a wrong status which is
not just confusing for the user but it also makes it difficult to do
anything with the resources after they've been left in a 'bogus' status.

For example, when a volume creation is requested, the volume is first
created in the database and its status is set to 'creating'. Then the
scheduler will pick an available volume node and send the task to it. If
the driver has not been initialized, the volume status will be left as
'creating' instead of 'error'.

This patch fixes that issue by moving the driver initialization check
into the various manager's methods. In some cases this check is done at
the very beginning of the method, in some others - either to avoid code
duplication or because the lines above the check made sense to be
executed first - this check is done later in the method.

Change-Id: I2610be6ba1aa7df417f1a1f7bb27af30273e4814
Closes-bug: #1242942
Updated openstack/openstack
Project: openstack/tempest  d21c202ec032c532d08ae1e3582c562ed2bd1560
null
Adds test_list_XX_fields cases to list some fields

This change adds test_list_XX_fields cases to test
if listing some fields works well. A related url
example is 'v2.0/networks.json?fields=id'.

Change-Id: Ic41d83ec394b6bd7767d0523a8b21614468e0f6a