Updated openstack/openstack
Project: openstack/tempest  1fcf1394e6268b953a2b5fc5273fde5aae328072
null
Add unit test for data_utils

This commit adds data_utils except build_url function because of no user
for that function.

Note: Removing build_url function is another topic. So the patch is
separated: I8989ac12f36f342ca1066cc65f7a427a83de721f .

Partially implements bp unit-tests

Change-Id: I1e3b3c4916144fe82c5708a6c30fe94a3d1c5e58
Updated openstack/openstack
Project: openstack/nova  6f6e6a86b3132db6c48356f3aa46b88e7b74e8c9
null
Volume operations should be blocked for non-null task state

Currently volume attach, detach, and swap check on vm_state but
not task_state.  This means that, for example, volume attach is
allowed even when other operations such as migration are in
progress.  As with other operations the check should be against
a task state of "None"

This change also refactors the volume_attach() method a little
so that the cells api can include the state decorator checks.

Change-Id: I0c4d697cf9d9e431a050c3c1b03e46b8629d182a
Closes-Bug: #1274627