Instance snapshot is created with wrong image format
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When you boot an instance with image of RAW image format then after taking instance snapshot it creates a snapshot with image format QCOW2.
Steps to reproduce using Horizon:
1. Go to Project --> Compute --> Images and click on 'Create Image'.
2. Create an image with 'Raw' format.
3. Go to Project --> Compute --> Instances and click on 'Launch Instance'.
4. Boot an instance by selecting the 'Boot from image' as source and newly created raw image from the Image Name drop-down.
5. Click on 'Create Snapshot' to create a snapshot of this instance.
6. You will be redirected to image list page where you will see the format of snapshot as 'QCOW2'.
Ideally the snapshot format should be same as its source image.
Changed in nova: | |
status: | New → Invalid |
I do not believe this is a bug. You can configure which format your snapshot image is in nova.conf. Could you check what snapshot_ image_format is in your nova.conf?
Snapshot image format (valid options are : raw, qcow2, vmdk, vdi). Defaults to same as source image