LVM: Activate source snap LV when cloning from volume

Similar to the change made in:
01a2199 LVM: Activate source LV before cloning from it

Previous change only fixed this issue for clone-from-snapshot.

This activates the source snapshot LV when cloning from volume
as well, fixing the problem where cloning fails due to inability
to open the source LV device.

Related-Bug: 1252423
Closes-Bug: 1260786

(cherry picked from commit 673057320929d33095c998d477c2537567ccf74b)

Change-Id: If48be8516fd71738cb83a91683c33d02f227b9d6
Cherry pick oslo rpc HA fixes

Get 2 commits from oslo-rpc fixing HA failover:
* Ia148baa6e1ec632789ac3621c85173c2c16f3918 (fixed HA failover, Qpid
 part)
* I67923cb024bbd143edc8edccf35b9b400df31eb3 (fixed HA failover, RabbitMQ
 part)
Closes-Bug: #1261631

Change-Id: I154a1e4230cf956e0d6a71a8e717866d0cd17a12
VMware: Disable suds caching

The default cache implementation in suds store pickled objects in a
predictable path in /tmp which could lead to attacks. This patch
turns off suds caching to address this security issue.

Conflicts:
        cinder/volume/drivers/vmware/pbm.py

Change-Id: I7daaa25a0677004e03896298e9c3026d5c33c6ac
Closes-Bug: #1341954
(cherry picked from commit 6a41fe9c5c98a14a355fa81b41aae2c4b0ce0a7b)
Mock glance client object in version unit tests

This patch changes the glance client version unit tests
to mock the Client object completely.  Previously the
tests were ensuring the right version of the client was
returned, but that required too much knowledge of glance's
implementation and ended up breaking the tests when glance
changed the implementation details of the Client class.

The new code tests if cinder is calling the integration
point correctly for the version, rather than if glance
is correctly returning the right client; that should be
a glance test, not a cinder test.

Closes-Bug: 1366596
(cherry-picked from 04abab869d28e007d9b869122740f70cd839daf7)
(cherry picked from commit 5863f52a9f140cfd13e1794ebf6db434517802b3)

Conflicts:

	cinder/tests/image/test_glance.py

Change-Id: I979175e6c3b5f98076bde6d36ca52fb8b03009b8
Merge "VMware: Disable suds caching" into stable/havana
Block sqlalchemy-migrate 0.9.2

Breaks unit tests.

Conflicts:
	requirements.txt

Closes-Bug: #1368391
Change-Id: Ic814a91038800201603baf33ca40e4586944343b
(cherry picked from commit eb01ccba28b0feabe6220c125776fee3c2c52505)
Sync latest process and str utils from oslo

This backport the necessary changes to fix both issues:
* Make execute method clean password in exception
* Make sure mask_password works properly

Backport in oslo-incubator: 4cf1a2a158f7c3c21799bf2e6ba0e7b5fbc25d62

Closes-Bug: 1343604
Closes-Bug: 1345233
SecurityImpact

Change-Id: I3b49b1d667f6ade9ae3f6765d735440a3e838917
Merge "LVM: Activate source snap LV when cloning from volume" into stable/havana
Don't clear _mounted_shares list in remoteFS while updating

This fix makes the updating of the _mounted_shares list in
remoteFS more of an atomic operation.  Previously this list
would be cleared, then rebuilt.  That allowed a race
condition where operations that took place during this
update would have a list of 0 shares to work with.

Closes-Bug: #1366083
cherry-picked from commit 9cc9cf111ef8a0265df5323fecaed12b0dabe312
Change-Id: I740d8f1b87db911242326a38ff398b81c5974cea
Merge "Don't clear _mounted_shares list in remoteFS while updating" into stable/havana