Include project_id as part of unregister volume

Bug #1712093 reported by Arun Mani
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
powervc-driver
Fix Released
Undecided
Arun Mani

Bug Description

As part of out of band volume delete, the cleanup on ICM doesn't use the project id while unregistering volume from ICM. This leads to a situation of reserving quotas of project which is updated in the powervc conf file. But, the volume may not belong to the same project as mentioned in conf file. Hence, this fix will make sure it is deducted for the same project to which the volume belong to.

Arun Mani (arun-mani)
Changed in powervc-driver:
assignee: nobody → Arun Mani (arun-mani)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to powervc-driver (master)

Fix proposed to branch: master
Review: https://review.openstack.org/496122

Changed in powervc-driver:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to powervc-driver (master)

Reviewed: https://review.openstack.org/496122
Committed: https://git.openstack.org/cgit/openstack/powervc-driver/commit/?id=0738af993d01390196954a0dc97b981e0c060aa5
Submitter: Jenkins
Branch: master

commit 0738af993d01390196954a0dc97b981e0c060aa5
Author: arunmani <email address hidden>
Date: Tue Aug 22 02:35:46 2017 -0400

    Include project_id in QUOTAS.reserve call

    Add project_id kwarg as part of the call to deduct quotas
    during unregister volume. This will make sure the
    deduction happens for the correct project to which
    the volume actually belongs to in ICM.

    Change-Id: Ib0596aef1b2fde4da0c8164141d39dae2ece4c94
    Closes-Bug: #1712093

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.