Ask Your Question

Revision history [back]

Volume will not attach

Hello

I'm running openstack-nova.noarch 2012.1-4.el6 on a RHEL 6.2. I have the entire stack running on one node. All service are up and running and appear healthy.

My issue has to do with creating a volume. We've only attempted to create one volume so far. The horizon web interface displays an updating icon and says the volume is attaching. The nova commands display the following:

[root@open-stack1 red]# nova volume-list +----+-----------+--------------+------+-------------+-------------+ | ID | Status | Display Name | Size | Volume Type | Attached to | +----+-----------+--------------+------+-------------+-------------+ | 1 | attaching | None | 1 | None | | +----+-----------+--------------+------+-------------+-------------+ [root@open-stack1 red]# nova volume-show 1 +---------------------+---------------------+ | Property | Value | +---------------------+---------------------+ | attachments | [] | | availability_zone | nova | | created_at | 2012-05-11 18:25:29 | | display_description | None | | display_name | None | | id | 1 | | metadata | {} | | size | 1 | | snapshot_id | None | | status | attaching | | volume_type | None | +---------------------+---------------------+

As you can see its been attempting to attach since 5/11. One more additional piece of information. The nova-volumes LVM volume group was set up via losetup. Initially on reboot the nova-volume service would fail because "volume group nova-volumes doesn't exist". This occurred because the losetup configuration did not survive a reboot. We have since resolved that problem and the nova-volume service starts clean.

My question is how do I figure out what's wrong with the volume? I've gone through the logs and can't find anything indicating a problem. Looking at the api I cannot figure out anything that will provide more information than that provided above. How do we debug this?

Additionally, when I attempt to delete the volume from the web interface I get "Internal Server Error" as a response. I'll post details of that on the horizon question list.

Thanks Tom