Currently after calling the cinderclient to create an image from a volume,
it also then tries to create another image. This fails as the keyword
volume is unexpected. This add checks so the image is not created in
this case. Allowing --volume to not throw an error when it has worked.
Reviewed: https:/ /review. openstack. org/225195 /git.openstack. org/cgit/ openstack/ python- openstackclient /commit/ ?id=1afd8f62cd5 b59c9bd3042af6d bc4ba94717c023
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1afd8f62cd5b59c 9bd3042af6dbc4b a94717c023
Author: NiallBunting <email address hidden>
Date: Fri Sep 18 15:21:59 2015 +0000
Image fix bug with --volume
Currently after calling the cinderclient to create an image from a volume,
it also then tries to create another image. This fails as the keyword
volume is unexpected. This add checks so the image is not created in
this case. Allowing --volume to not throw an error when it has worked.
Change-Id: I67e650eb0b8c33 1d86515e3e326c3 9a5d6dad5e1
Closes-Bug: 1497221