← Back to team overview

openstack team mailing list archive

Re: nova volume creation problem

 

On Mon, May 7, 2012 at 7:17 PM, Shashi Kanth Boddula
<shashi.bsd@xxxxxxxxx> wrote:
> I tried creating from Dashboard as well as command, but both are not
> creating volumes.
>
> nova volume-create --display_name v1 2
>
> " specifically, what zone are you passing?"
>
> Please can you tell me what is a zone here, where to define and how to pass
> zone information ?
>
>
>
> On Tue, May 8, 2012 at 12:24 AM, Joshua Tobin <joshua.tobin@xxxxxxxxxxxxx>
> wrote:
>>
>> On May 7, 2012, at 11:14, Shashi Kanth Boddula <shashi.bsd@xxxxxxxxx>
>> wrote:
>>
>> > 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
>> >
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~openstack
>> > Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~openstack
>> > More help   : https://help.launchpad.net/ListHelp
>>
>> What command are you issuing to create the volume, specifically, what zone
>> are you passing?
>
>
>
>
> --
> Thanks & Regards,
> Shashi Kanth
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>

Hello Sashi,

Along with the zone info requested, would it be possible to get a look
at the nova-volume logs and possibly the nova-compute logs?  If you
look in these two places one of them is likely to contain some more
information that would help isolate the problem.

Thanks,
John


Follow ups

References