Open pmandreoli opened 3 years ago
The image works if converted to qcow2 using Quemu image converter.
sudo apt install quemu-utils
qemu-img convert -f raw -O qcow2 image.img image.qcow2
openstack image create
Had the same issue, if anyone faces this still then here's the solution.. removing signature_verified property from the image post it is uploaded seems to fix the issue.
glance image-update
Hi, I'm trying to create openstack qcow2 images using packer. Everything goes well, the image was created and i was able to create instances using default opensztack options.
The problem is that the instanced launched using this image fail if created using --boot-from-volume in the command for the server creation
openstack server create
.Error:
error: build of instance <instance-id> aborted: volume <volume-id> did not finish being created even after we waited 181 seconds or 19 attempts. and its status is error
This does not happen if the image is first created in raw format and then converted to qcow2 later using
qemu-img convert
.I wanted to ask, I need to set some additional variables in the json to enable the image to be launched using
--boot-from-volume
? or is a error in the image format conversion in packer?