Red Hat Bugzilla – Bug 1248634
Horizon Create volume from Image not mountable
Last modified: 2016-07-13 18:37:17 EDT
Description of problem:
When using Horizon -> Images - > Create volume from a certain image, the resulting volume is not mountable, at least not with an ISO image as source. Also when looking at the volume details, there is no "Volume source" section. cinder show does not display a volume_image_metadata field.
However, when you go to Horizon -> Volumes, Create volume and select the same image as source, everything works as expected.
This is using a Ceph backend.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Go to Images, pick an image
2. Select Action -> Create volume
3. Leave everything as default
4. Volume is created instantly
5. Try to attach the volume to an instance
6. The device will show up but it is not mountable
Volume is not mountable in an instance.
Volume is mountable in an instance.
Any update please?
The way it works is:
go to images, pick image create volume
then go to volumes, pick that volume and launch an instance from that volume.
When trying to add a new volume to a running instance, create a new volume, and attach that volume to the instance.
I'm not sure, it is supposed to work like you describe at all.
The idea is that I need to mount an ISO file to an existing instance. So I upload the ISO as an Image, then create a volume from that image so I can attach it to an instance.
This doesn't work as I described it, though in my opinion it should as the functionality is there in Horizon. The alternate method I described does work which has the same effect, it is just a different way of getting there.
I'm guessing the failing method in Horizon is merely not doing something it should with the volume_image_metadata.
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.