OpenStack: Creating a Cinder Volume Failed
Issue
Tried to create a new volume with cinder and it failed, with no indication that it failed from lack of storage space. - The failure didn't show up until I listed information about the volume:
# cinder create --display-name=bigvol 25 ... # cinder list +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ | ID | Status | Display Name | Size | Volume Type | Bootable | Attached to | +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ | 78a852e2-7f02-4272-a2ac-ec08cbee854f | error | bigvol | 25 | None | | | +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ # less /var/log/cinder/volume.log ... 2013-03-21 13:14:25 2556 TRACE cinder.openstack.common.rpc.amqp Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf lvcreate -L 25G -n volume-78a852e2-7f02-4272-a2ac-ec08cbee854f cinder-volumes 2013-03-21 13:14:25 2556 TRACE cinder.openstack.common.rpc.amqp Exit code: 5 2013-03-21 13:14:25 2556 TRACE cinder.openstack.common.rpc.amqp Stdout: '' 2013-03-21 13:14:25 2556 TRACE cinder.openstack.common.rpc.amqp Stderr: ' Volume group "cinder-volumes" has insufficient free space (5913 extents): 6400 required.\n'
Environment
- OpenStack Folsom (Preview)
- Red Hat Enterprise Linux 6.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
