[Openstack] Volume in attaching state

Narayanan, Krishnaprasad narayana at uni-mainz.de
Thu Nov 21 14:23:56 UTC 2013


I could find traces of INFO about the volume creation in the nova-compute.log, nova-volume.log and nova-api.log but I couldn't find any ERROR.
Using the CLI (nova volume-list), I see the status as "attaching".

-----Original Message-----
From: Razique Mahroua [mailto:razique.mahroua at gmail.com] 
Sent: Donnerstag, 21. November 2013 15:21
To: Narayanan, Krishnaprasad
Cc: Jitendra Kumar Bhaskar; openstack at lists.openstack.org
Subject: Re: [Openstack] Volume in attaching state

ok if you are SURE that there is not a single trace in nova-compute.log; then check nova-api on the controller, you'll see the volume creation request there.
Have you tried with the CLI?


- Razique
On 21 Nov 2013, at 6:19, Narayanan, Krishnaprasad wrote:

> I am using OpenStack ESSEX and use the nova-volume service. Neither I 
> couldn't find any error from the nova-volume.log nor from the 
> libvirtd.log on the compute node.
> Does this require any tags in the nova.conf of the compute node?
>
> -----Original Message-----
> From: Razique Mahroua [mailto:razique.mahroua at gmail.com]
> Sent: Donnerstag, 21. November 2013 15:07
> To: Jitendra Kumar Bhaskar
> Cc: Narayanan, Krishnaprasad; openstack at lists.openstack.org
> Subject: Re: [Openstack] Volume in attaching state
>
> If you are using Cinder,
> check into cinder-volume/ cinder-api as well.
> You can also check /var/log/libvirt/libvirtd.log on the compute node!
>
>
> - Razique
> On 21 Nov 2013, at 5:00, Jitendra Kumar Bhaskar wrote:
>
>> Hi Narayan,
>>
>> If you are able to create volume successfully. Then please share
>> nova-compute.log when you are trying to attach the volume.
>>
>> Regards
>> *Jitendra Bhaskar*
>>
>>
>>
>>
>>
>>
>> On Thu, Nov 21, 2013 at 4:12 PM, Narayanan, Krishnaprasad <
>> narayana at uni-mainz.de> wrote:
>>
>>> Hallo all,
>>>
>>>
>>>
>>> I am trying to attach a volume to an instance in my ESSEX Cloud. I
>>> was able to create a volume successfully but when I attached it to 
>>> an
>>> instance, I see that the status is in “Attaching” state for a 
>>> long
>>> time. On the compute node, I could see the “iscsitgtadm –m 
>>> session”
>>> returning a proper
>>> status.
>>>
>>> I also logged in to the VM and did fdisk –l but couldn’t find 
>>> the
>>> disk. In the nova-compute log, there is a log message that mentions
>>> “iscsi found a node vdc”. The vdc is the device on the VM to 
>>> which
>>> the volume is attached.
>>> On the cloud controller node, I did a lvdisplay and I am able to see
>>> the
>>> 100 GB volume.
>>>
>>>
>>>
>>> Can somebody guide me how should I confirm the creation of volume? 
>>> If
>>> it is not created, can I know the workaround to get rid of this
>>> problem?
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Krishnaprasad
>>>
>>> _______________________________________________
>>> Mailing list:
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> Post to     : openstack at lists.openstack.org
>>> Unsubscribe :
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>
>>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


More information about the Openstack mailing list