Unable to fetch images from glance
Bug #1452105 reported by
Ben Ramsey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-docker |
Incomplete
|
Undecided
|
keerthivasan selvaraj |
Bug Description
When attempting to launch a Docker instance from an image that is stored in Glance but not on the compute host (i.e. docker images on the compute host does not contain a reference to the image) the launch fails with:
APIError: 404 Client Error: Not Found ("No such image: <image_name>")
It is my understanding that when the image can not be found by docker then Glance should be contacted in order to pull the image from, this is not happening.
nova-docker branch : stable/juno, commit: b724e65134ea7eb
OpenStack version: juno
nova version: 2.19.0
glance version: 0.14.0
There are no errors within glance logs.
To post a comment you must log in.
From further investigation I have found that nova-docker does send the request to Glance, and all of the HTTP requests respond with 200 OK.
However the image being pulled from glance is not being loaded into Docker as an image. I gather from this that nova-docker once all of the steps have been completed it performs a docker run <image name>, but as the image is not loaded into Docker itself it is unable to run the image.