Boot from volume instance creation fails while using a snapshot of volume as the source image with the below error in UI.
400 Error: Volume is smaller than the minimum size specified in image metadata. Volume size is 10737418240 bytes, the minimum size is 85899345920 bytes.
- Platform9 Managed OpenStack - All Versions
Currently, Nova is using disk size in flavor to set min_disk property in the image when creating an instance snapshot, even if it's a volume-backend instance. If disk size in flavor is bigger than volume size, there is an issue that Nova will raise "Volume is smaller than the minimum size specified in image metadata" when using this image to create a new instance.
Nova should set min_disk just using volume size if it's a volume-backend instance.
There is no fix available for this bug. Follow the below steps to work around this issue.
1. Create a new volume using the already present volume snapshot (snapshot for VM-Snapshot-Volume).
2. Create a new instance by choosing the option to boot the instance from an existing volume (created in Step 1).
This issue is also tracked in upstream bug 1646740