Need pass in cutomized properties when "cinder upload-to-volume"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Cinder has a function of "create a image from a specified volume" with cli: "cinder upload-to-volume". That is to say specify the volume id and new image name, which passes parameter of "container-format", "disk-format" could create a image from a volume.
But one situation is when the volume is SAN storage backends volume, it also need specify the parameter of "os-distro"(rhel, sles or aix), "activation-
So is there any way(like --meta in nova boot, or properties set) could be used in "cinder upload-to-volume", that driver could aware for the upload image process? Or this could be a to-do item.
Expected cli will be revised like:
cinder upload-to-image --container-format bare --disk-format raw --meta "os-distro"="rhel" --meta "ovf"="
which driver could get use of those properties.
Hi Jerry,
Not completely sure I'm following, but I think you're referring to glance image-metadata perhaps? I think we just cleaned that up a bit and may provide what you're asking for. Can you verify we're not missing something here and we can look at getting the missing pieces sorted for you?
Thanks,
John