← Back to team overview

openstack team mailing list archive

nova volume creation problem

 

Ubuntu 12.04 LTS Essex.

I am not able to create nova volumes, the command never ends up, and the
volume status will be always "creating".

# nova volume-list
+----+----------+-------------------+------+-------------+-------------+
| ID |  Status  |    Display Name   | Size | Volume Type | Attached to |
+----+----------+-------------------+------+-------------+-------------+
| 1  | creating | OpenStack Volume1 | 16   | None        |             |
| 2  | creating | shashi            | 1    | None        |             |
| 3  | creating | v1                | 2    | None        |             |
| 4  | creating | v1                | 2    | None        |             |
+----+----------+-------------------+------+-------------+-------------+

The nova volume service is running.

# nova-manage service list | grep volume
2012-05-07 23:40:30 DEBUG nova.utils
[req-0f8aa0b7-fa77-4e5b-93de-fc1621b575c9 None None] backend <module
'nova.db.sqlalchemy.api' from
'/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from
(pid=9641) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658
nova-volume      OpenStack                            nova
enabled    XXX   2012-05-06 08:40:57


In the nova.conf the volume is defined.

# Volumes
--volume_group=nova-volumes
--volume_name_template=volume-%08x
--iscsi_helper=tgtadm


And in the system nova VG is already created, but no logical volumes are
getting created whenever i issue "nova volume-create" command.

# vgdisplay | grep nova
  VG Name               nova-volumes




-- 
Thanks & Regards,
Shashi Kanth

Follow ups