0 free capacity should be reported by VNX Cinder Driver when the pool is Offline

Bug #1431233 reported by Jeegn Chen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
Jeegn Chen

Bug Description

When the storage pool is Offline, no more LUN can be created before the pool get out of the status.
So when a pool is Offline, its free capacity is de facto 0.
Current EMCVnxCliBase._build_pool_stats() does not check the status of the pool when returning free_capacity_gb.

Tags: drivers emc vnx
Jeegn Chen (jeegn-chen)
Changed in cinder:
status: New → Confirmed
assignee: nobody → Jeegn Chen (jeegn-chen)
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/172254

Changed in cinder:
status: Confirmed → In Progress
Changed in cinder:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/172254
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=a47925b0f936440aad572c53d62cf483e6cac022
Submitter: Jenkins
Branch: master

commit a47925b0f936440aad572c53d62cf483e6cac022
Author: Jeegn Chen <email address hidden>
Date: Thu Apr 2 16:42:08 2015 +0800

    VNX Cinder Driver should report 0 free_capacity_gb in some scenarios

    When the storage pool is Initializing, Offline or Deleting, no more LUNs
    can be created before the pool gets out of the state.
    So when a pool is in the 3 states, its free capacity is de facto 0.

    This patch is to add logic to report 0 free capacity accordingly.

    Change-Id: I4ef56d48e987795a48e6dcb23615e4b2a7580452
    Closes-Bug: #1431233

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → liberty-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: liberty-1 → 7.0.0
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.