]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix cinder-manage volume delete cmd
authorAnton Arefiev <aarefiev@mirantis.com>
Wed, 24 Jun 2015 15:45:35 +0000 (18:45 +0300)
committerAnton Arefiev <aarefiev@mirantis.com>
Wed, 24 Jun 2015 15:45:35 +0000 (18:45 +0300)
commit8076457cd069cfd734976c544f4aed49c38b4fc9
tree040f38de6f2d9d9b68d21c10e585faf46a7fb987
parent843c5efe8e8b387da5ad0b81ef2912e5a5b7a501
Fix cinder-manage volume delete cmd

Since pools was introduced in cinder, field 'host' in resources
contains pool part. So when we are trying to delete volume with
cinder-manage, 'host' with pool part passed to rpc target. As
result message isn't delivered to host, and we can't delete volume.

Change-Id: Ie6dcbbfe28dcc5b6dc838490b351a13b43936da9
Closes-Bug: 1468401
cinder/cmd/manage.py
cinder/tests/unit/test_cmd.py