snapshots return wrong UUID for image

Bug #1314322 reported by Erica Windisch
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nova-docker
Fix Committed
Critical
Erica Windisch

Bug Description

Snapshots return the UUID of the image. Unfortunately, the UUID returned by the docker driver does not match the image created within glance.

When the driver uploads to the registry, it passes a HTTP header to the docker daemon which actually communicates to the registry. However, the docker daemon seems not to be forwarding that header to the registry, thus the registry uploads the image with a new ID, rather than using the one given to it from Nova.

Changed in nova-docker:
importance: Undecided → Critical
Revision history for this message
Peng Gu (gp-will) wrote :

May be Docker Registry API should be used to resolve this problem. I suggest always use Docker Registry API instead of Docker Remote API when dealing with images.

Revision history for this message
Erica Windisch (ewindisch) wrote :

@gp-will that's a good suggestion. Actually, I believe this problem has been fixed in Docker itself, allowing the HTTP headers to pass-through. However, I've been working on a patch that would eliminate the registry as a proxy between docker and glance, allowing direct uploads to Glance.

Changed in nova-docker:
status: New → In Progress
assignee: nobody → Eric Windisch (ewindisch)
Revision history for this message
Erica Windisch (ewindisch) wrote :
Changed in nova-docker:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.