Create volume fails with EMC VNX driver

Bug #1364554 reported by Sridhar Venkat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
Jeegn Chen

Bug Description

EMC VNX driver is used to create volume and it fails. We have a storage pool of free space 200GB and when a volume of size 200GB was created, it failed with this error message :
2014-09-01 08:14:32.174 3898 ERROR cinder.exception [req-0eff464d-12dc-447d-ae04-e302287e2275 0 2aa5b39aba934359a1c9114adcdec5e9 - - -] EMCVnxCLICmdError : ['lun', '-create', '-capacity', 200, '-sq', 'gb', '-sp', 'a', '-poolName', 'PowerVC_0', '-name', u'volume-7a1c76ea-e7aa-4bd8-a0dd-5f735a712953', '-type', 'NonThin'] (Return Code: 9) (Output: ['There is insufficient free space in the pool to complete the operation. Please add storage to the Pool and retry. (0x712d8709)\\n'])

We determine free space in pool by parsing -userCap value of command :
storagepool -list -availableCap -userCap -state

This command reports userCap of 200GB.

Tags: drivers emc vnx
Rushi Agrawal (rushiagr)
summary: - Create volume fails
+ Create volume fails with EMC VNX driver
tags: added: drivers
Xing Yang (xing-yang)
Changed in cinder:
assignee: nobody → Jeegn Chen (jeegn-chen)
status: New → In Progress
Xing Yang (xing-yang)
Changed in cinder:
importance: Undecided → Medium
Revision history for this message
Jeegn Chen (jeegn-chen) wrote :

Hi Srihdar,

You mentioned "This command reports userCap of 200GB".
Do you mean "availableCap" here or not?
I ask this because userCap is total but not necessarily free.

Thanks,
Jeegn

Revision history for this message
Sridhar Venkat (svenkat) wrote :

Hi Chen,
You are right, we use -avilableCap to determine free space. Sorry about this confusion.

Revision history for this message
Sridhar Venkat (svenkat) wrote :

Any updates on this problem?

Jeegn Chen (jeegn-chen)
Changed in cinder:
status: In Progress → Confirmed
Revision history for this message
Jeegn Chen (jeegn-chen) wrote :

Return reserved_percentage to make scheduler take the overhead used by meta data into consideration

Fixed as part of https://review.openstack.org/#/c/141629/

Changed in cinder:
status: Confirmed → Fix Committed
Jeegn Chen (jeegn-chen)
tags: added: vnx
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → kilo-3
status: Fix Committed → Fix Released
Jeegn Chen (jeegn-chen)
tags: added: emc
Thierry Carrez (ttx)
Changed in cinder:
milestone: kilo-3 → 2015.1.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.