SSC volume filtering for extra specs can result in inconsistent list

Bug #1243081 reported by Navneet
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
Navneet
Havana
Fix Released
Medium
Navneet

Bug Description

The volume filtering to match volume type extra specs operates on the original data structure. This can cause inconsistency on the original list of netapp volumes available during certain operations. The better method would be to operate on the copy of data structure and not the original list hence keeping the original volumes safe for future provisioing operations.

Navneet (singn)
Changed in cinder:
assignee: nobody → Navneet (singn)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Changed in cinder:
status: New → In Progress
Navneet (singn)
tags: added: havana-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/53082
Committed: http://github.com/openstack/cinder/commit/1d503937e841da27f5e3441775b2d208e44f5e75
Submitter: Jenkins
Branch: master

commit 1d503937e841da27f5e3441775b2d208e44f5e75
Author: Navneet Singh <email address hidden>
Date: Sun Oct 20 06:25:55 2013 +0530

    NetApp fix ssc volume filtering inconsistency

    This fixes the situation when the actual netapp
    volume data structure becomes inconsistent
    because of operating on the actual object
    than the copy of it. It also introduces some checks
    before calculating volume stats.

    Change-Id: I626f9ca9aa8c7cc41ba4aa6058f14cc040f7301f
    Closes-Bug:#1243081

Changed in cinder:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/53913

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/havana)

Reviewed: https://review.openstack.org/53913
Committed: http://github.com/openstack/cinder/commit/5376d78e72ac33f32f01607db801589f4ac2041d
Submitter: Jenkins
Branch: stable/havana

commit 5376d78e72ac33f32f01607db801589f4ac2041d
Author: Navneet Singh <email address hidden>
Date: Sun Oct 20 06:25:55 2013 +0530

    NetApp fix ssc volume filtering inconsistency

    This fixes the situation when the actual netapp
    volume data structure becomes inconsistent
    because of operating on the actual object
    than the copy of it. It also introduces some checks
    before calculating volume stats.

    Change-Id: I626f9ca9aa8c7cc41ba4aa6058f14cc040f7301f
    Closes-Bug:#1243081
    (cherry picked from commit 1d503937e841da27f5e3441775b2d208e44f5e75)

tags: added: in-stable-havana
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Alan Pevec (apevec)
tags: removed: havana-backport-potential in-stable-havana
Changed in cinder:
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in cinder:
milestone: icehouse-1 → 2014.1
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.