Ask Your Question
0

Cannot create instance snapshot in Havana [closed]

asked 2013-11-21 06:06:02 -0600

Srikanth Mergu gravatar image

Dear All,

Everything seems to work perfectly. I am able to create a snapshot of Volume but not running instance, I tried from Dashboard & Command line as well but i did not find a single error. Kindly help me out in this regards.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by dheeru
close date 2013-11-26 11:42:48.392416

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-11-21 06:53:26 -0600

dheeru gravatar image

updated 2013-11-26 11:42:10 -0600

1. Did it give any error while creating the snapshot or it was successful.
2. If it failed, please look at the /var/log/nova/compute*.log on compute hosts.
3. Please run the command 'nova image-list'. Do you see this image ?
4. Run the command 'glance image-list'. Now you don't see the image.

Is this the case ? Do let me know.

Final Solution : Havana creates the private images by default. Regarding your images not listed, images are created in database for private. We need to set the same to public. Please do the following

a. Run 'nova image-list'. Note the UUID of the image which you want to make it public
b. glance image-update <UUID> --is-public=True.
c. You can directly update the 'images' table in glance db as well using sql query.
edit flag offensive delete link more

Comments

1. Snapshot is successfully created. 2. No error in compute.log 3. This is some what intresting.. I can see the list in which i can see the names of snapshots which i tried and those are in active status.. 4. glance image-list shows the following output "publicURL endpoint for image not found."

Srikanth Mergu gravatar imageSrikanth Mergu ( 2013-11-21 12:47:54 -0600 )edit

https://answers.launchpad.net/glance/+question/222698 I added v1 at the end and restart the service,, But no luck..

Srikanth Mergu gravatar imageSrikanth Mergu ( 2013-11-21 13:35:53 -0600 )edit

Hi Srikant 1. keystone endpoint-list 2. keystone service-list 3. Send me the out put of 'glance image-list'. 4. Send me the output of 'nova image-list' I suspect some issue. Out put of above commands will help me. You many not be able to put all these in comments section. You can drop an email to dheerendra.madhusudhana@gmail.com May you can drop an email. We can quickly close this.

dheeru gravatar imagedheeru ( 2013-11-21 20:59:27 -0600 )edit

Thank you dheerendra for quick response... Kindly check the below link for the output... http://pastebin.com/JvaYgUZs .....

Srikanth Mergu gravatar imageSrikanth Mergu ( 2013-11-21 23:03:43 -0600 )edit

1. Glance issue. You have created the endpoint wrongly. Please look at the endpoint creation for glance. http://controller:9292/v1 | http://controller:9292/v1. Here 'v1' is not required. http://docs.openstack.org/trunk/openstack-compute/install/apt/content/keystone-service-endpoint-create.html 2. You are seeing these images in 'nova image-list'. I'm sure they are not visible in 'glance image-list'. Can you drop an email. It is becoming difficult to type the comments due space limitation. If you are ok tell me your mail id. I will drop an detail email.

dheeru gravatar imagedheeru ( 2013-11-21 23:25:33 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-11-21 06:06:02 -0600

Seen: 1,490 times

Last updated: Nov 26 '13