Comment 3 for bug 1395731

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to powervc-driver (stable/juno)

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)