Comment 9 for bug 1242942

Revision history for this message
John Griffith (john-griffith) wrote : Re: cinder does not handle missing volume group gracefully

Very odd, I guess I'll have to duplicate your setup exactly (ie Puppet, Ubuntu pkg's etc)

In devstack just commented out the vgcreate lines in lib/cinder I get exactly as described earlier:

=============================
vagrant@precise64 ~ $ sudo vgs
  VG #PV #LV #SN Attr VSize VFree
  precise64 1 2 0 wz--n- 79.76g 0
vagrant@precise64 ~ $ cinder create 1
+---------------------+--------------------------------------+
| Property | Value |
+---------------------+--------------------------------------+
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| created_at | 2013-10-31T17:15:07.517469 |
| display_description | None |
| display_name | None |
| id | e0206c48-c859-4c3f-860e-b9ca3493acf3 |
| metadata | {} |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| volume_type | None |
+---------------------+--------------------------------------+
vagrant@precise64 ~ $ cinder list
+--------------------------------------+--------+--------------+------+-------------+----------+-------------+
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+--------+--------------+------+-------------+----------+-------------+
| e0206c48-c859-4c3f-860e-b9ca3493acf3 | error | None | 1 | None | false | |
+--------------------------------------+--------+--------------+------+-------------+----------+-------------+
vagrant@precise64 ~ $ cd /opt/stack/cinder/
vagrant@precise64 /opt/stack/cinder $ git status
# On branch stable/havana
nothing to commit (working directory clean)
vagrant@precise64 /opt/stack/cinder $