cinder : extend volume Error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Critical
|
John Griffith |
Bug Description
On the environment where using Cinder LVM driver, extend_volume fails like the following.
# cinder extend 9dd8b44a-
# cinder list
+------
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+------
| 9dd8b44a-
+------
2013-10-16 09:00:05.573 19511 ERROR cinder.
2013-10-16 09:00:05.573 19511 TRACE cinder.
2013-10-16 09:00:05.573 19511 TRACE cinder.
2013-10-16 09:00:05.573 19511 TRACE cinder.
2013-10-16 09:00:05.573 19511 TRACE cinder.
2013-10-16 09:00:05.573 19511 TRACE cinder.
2013-10-16 09:00:05.573 19511 TRACE cinder.
2013-10-16 09:00:05.573 19511 TRACE cinder.
2013-10-16 09:00:05.573 19511 TRACE cinder.
2013-10-16 09:00:05.573 19511 TRACE cinder.
2013-10-16 09:00:05.573 19511 TRACE cinder.
2013-10-16 09:00:05.573 19511 TRACE cinder.
2013-10-16 09:00:05.573 19511 TRACE cinder.
2013-10-16 09:00:05.573 19511 TRACE cinder.
2013-10-16 09:00:05.577 19511 ERROR cinder.
2013-10-16 09:00:05.580 19511 ERROR cinder.
2013-10-16 09:00:05.580 19511 ERROR cinder.
Run `lvextend --help' for more information.
# cinder help extend
usage: cinder extend <volume> <new-size>
Attempt to extend the size of an existing volume.
Positional arguments:
<volume> Name or ID of the volume to extend.
<new-size> New size of volume in GB
In cinder cli, the integer of 'new-size' is in GB .
But In LVM command, (lvextend -L 2 cinder-
so, If I really want to extend size of volume, 1 GB to 2 GB, I have to try like the following.
# cinder extend 54a7125f-
# cinder list
+------
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+------
| 54a7125f-
| 9dd8b44a-
+------
# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
volume-
please check this bug. Thank you.
description: | updated |
description: | updated |
description: | updated |
description: | updated |
summary: |
- cinder extend + cinder : extend volume Error |
Changed in cinder: | |
status: | New → Triaged |
assignee: | nobody → John Griffith (john-griffith) |
milestone: | none → havana-rc3 |
importance: | Undecided → Critical |
Changed in cinder: | |
milestone: | havana-rc3 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/51989
Review: https:/