Glance image with volumes attached

asked 2017-06-23 01:54:33 -0500

vblando gravatar image

I have a running instnace... Not my idea, it is a customer requirement, I myself won't recommend .

RHEL 7.x with volumes attached /dev/vda = root disk /dev/vdb = /home /dev/vdc = /var

I had to do a reconfiguration so that I can point /home /and /var to the new device. Everything is working fine.

Snapshot the instance, launch from the snapshot, it automatically created all the volumes... GREAT!

BUT i want to convert it to a glance image so I can make this as my golden image when I want to launch it on another Tenant.

Is there a way to do it as I can't launch the bundled snapshot to other tenants other than where it was created.

edit retag flag offensive close merge delete

Comments

If you create a snapshot of a running instance, it is uploaded to glance. Probably, you'll just have to make it public to be able to launch instances in other tenants.

eblock gravatar imageeblock ( 2017-06-23 04:17:45 -0500 )edit

that's the weird thing, even if i make it public it still won't launch on the other tenant.

vblando gravatar imagevblando ( 2017-06-23 20:52:14 -0500 )edit

So the image is available for all tenants, it just doesn't launch successfully, right? Try to figure out which service rejects the launch (cinder, nova or glance), check log files cinder-volume, nova-compute. Maybe your quotas are exceeded...

eblock gravatar imageeblock ( 2017-06-26 04:35:34 -0500 )edit