Ask Your Question
0

Creating Volume stays in creating status and the rest are in error

asked 2013-01-13 07:56:48 -0500

theodotos gravatar image

I have setup a folsom single node machine in Ubuntu server 12.04. I used these scripts here:

https://github.com/dimtdv/folsom-single-node (https://github.com/dimtdv/folsom-sing...)

I used the above procedure after my failure to use the procedure described in Appandix B of the official guide:

http://docs.openstack.org/trunk/openstack-compute/install/apt/content/ap_installingfolsomubuntuprecise.html (http://docs.openstack.org/trunk/opens...)

I can create instances but I cannot create volumes. The first volume I created has stayed in the "Creating" status forever. Whenever I try to delete it I get a "You do not have permission to delete volume: test1" even though I am an admin.

If I try to create another volume the volume is apparently created but it stays in "Error" status. I can delete this volume but not the first one.

This is an excerpt from the logs when I try to create a new volume:

http://paste.ubuntu.com/1526710/

Any ideas?

edit retag flag offensive close merge delete

14 answers

Sort by ยป oldest newest most voted
0

answered 2013-01-17 00:24:03 -0500

keith-tobin gravatar image

In you nova config find the volume_name_volume and comment it out #, then restart nova. This will fix the problem, please le me know that it works.

edit flag offensive delete link more
0

answered 2013-01-16 23:36:06 -0500

keith-tobin gravatar image

In nova-volume.log.1 there is a exception/error at line 200. I am focusing in on

Volume_name_template

In the nova.conf file as having some sort of proble, but at this point I am not 100% sure, I need more info.

Can you post the nova.conf file.

edit flag offensive delete link more
0

answered 2013-01-15 20:04:22 -0500

keith-tobin gravatar image

I had a look at logs and their is not much info, you need to get the nova and volume/cinder logs, and post here. Where logs are stored, depends on your config, have a look at config files for nova and volume/cinder to help figure. Please also post logs for nova and volume/cinder, it will help.

edit flag offensive delete link more
0

answered 2013-01-16 10:43:55 -0500

theodotos gravatar image

I do not have cinder installed. I am using nova-volume.

The log files are under /var/log/nova:

nova-api.log: http://paste.ubuntu.com/1537174/

nova-compute.log: http://paste.ubuntu.com/1537182/

nova-volumes.log is empty so here is nova-volumes.log.1: http://paste.ubuntu.com/1537184/

I created a volume 10 minutes ago. It's name is "testing-vol" and the volume id is "60f9bd63-b020-4092-96c5-e312690827f9"

I hope they tell you something more because I couldn't find anything useful with them. On the other hand I am an openstack newbie so... :)

edit flag offensive delete link more
0

answered 2013-01-17 08:02:38 -0500

theodotos gravatar image

There are is no volume_name_volume in nova.conf but most likely is a typo and you meant volume_name_template. I commented it out, restarted all nova services, just in case, and now when I create a new volume I get status "Available". I will do some more tests later but we can mark this as "Solved" for now.

Keith I am so grateful for your time spend on the solution of this problem. Thank you very much and kudos to the community and organizations that develop and support open

P.S. I still have a volume in "Creating" status which I cannot delete. I get" Error: You do not have permission to delete volume: test1" but this is rather an annoyance than e real problem

edit flag offensive delete link more
0

answered 2013-01-17 08:02:47 -0500

theodotos gravatar image

Thanks Keith Tobin, that solved my question.

edit flag offensive delete link more
0

answered 2013-01-19 03:36:43 -0500

theodotos gravatar image

Alas! This change break the system! Now I can create volumes but not instances. If I create an instance it stays in the error state. If I enable the "volume_name_template" directive I can create instances but not volumes.

What a mess! Any ideas?

edit flag offensive delete link more
0

answered 2013-01-19 15:13:49 -0500

keith-tobin gravatar image

Can you tell me what line that I got you to comment out is set to, volume_name_template is?

edit flag offensive delete link more
0

answered 2013-01-22 09:54:52 -0500

theodotos gravatar image

OK I changed it to your proposed setup.

#volume_name_template=volume-%08x volume_name_template=volume-%s

Restarted and everything seems OK now. I can create instances and volumes and I can even boot an instance from volume.

Dear Keith, thanks again for the awesome support!

edit flag offensive delete link more
0

answered 2013-01-22 09:54:59 -0500

theodotos gravatar image

Thanks Keith Tobin, that solved my question.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-01-13 07:56:48 -0500

Seen: 110 times

Last updated: Jun 14 '13