nova-docker snapshot does not return proper image ID
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned | ||
nova-docker |
New
|
Undecided
|
Unassigned |
Bug Description
With the current impl of the nova-docker virt driver and the docker-registry (https:/
For example consumer code should be able to do something like this:
image_uuid = self.clients(
image = self.clients(
image = bench_utils.
image,
)
That is, the image returned from the create_image should reflect the image UUID of the "final" image created during capture. However with docker driver the process actually creates a final image call <image_
Example:
- Install devstack + nova-docker driver
- Pull, tag and push a docker image into glance using docker-registry with glance store
- Create a nova server for docker -- results in a docker container
- Use the nova python api to snapshot the server (see code snippet above).
- The image_uuid returned in the above snippet might point to an image named 'myzirdsivgoftfqp'. However the actual final image created by the snapshot is named 'myzirdsivgoftf
Such behavior impacts consumers and is not consistent with the nova snapshot behavior.
Changed in nova: | |
status: | Incomplete → Invalid |
nova doesn't support docker any more (as per commit I1c9bea2fdeebc4 199c4f7d8fca458 0a6fb7fed5b) What version of nova are you using?