Reviewed: https://review.openstack.org/149934 Committed: https://git.openstack.org/cgit/stackforge/powervc-driver/commit/?id=4fcd0c76dfdf1dbeb9f90d368695f61a474cdc00 Submitter: Jenkins Branch: stable/juno
commit 4fcd0c76dfdf1dbeb9f90d368695f61a474cdc00 Author: terryyao <email address hidden> Date: Mon Nov 24 23:02:33 2014 +0800
Clear pvc_id during instance spawn failing
1. In powevc nova driver, it's better to use instance.save() instead of db call
2. clear pvc_id after destory the powervc instance.
3. override pvc_id regardless powervc instance's metadata pvc_id.
Closes-Bug: #1395731 Change-Id: I2bb2494a8a2976064494101af811f6be22379472 (cherry picked from commit e506e9a9b46950efab9a6a82e228d5d71c804d11)
Reviewed: https:/ /review. openstack. org/149934 /git.openstack. org/cgit/ stackforge/ powervc- driver/ commit/ ?id=4fcd0c76dfd f1dbeb9f90d3686 95f61a474cdc00
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 4fcd0c76dfdf1db eb9f90d368695f6 1a474cdc00
Author: terryyao <email address hidden>
Date: Mon Nov 24 23:02:33 2014 +0800
Clear pvc_id during instance spawn failing
1. In powevc nova driver, it's better to use instance.save() instead of
db call
2. clear pvc_id after destory the powervc instance.
3. override pvc_id regardless powervc instance's metadata pvc_id.
Closes-Bug: #1395731 064494101af811f 6be22379472 fab9a6a82e228d5 d71c804d11)
Change-Id: I2bb2494a8a2976
(cherry picked from commit e506e9a9b46950e