1. docker pull cirros to locally
2. upload cirros from local docker to openstack glance (with a name as cir or something else)
3. zun run -n c12 --iamge-driver glance cir
Error not found cir.
The reason is, when zun try to load glance image cir from glance, it works, but when using docker driver, we do a "docker image load `cir.tar`", so it will load cir.tar to docker images but it's name's the origin one "cirros", the images is loaded but we run it as a wrong name.
So there are some limitation while using glance as image-driver:
1. We can not use glance uuid
2. The glance image name should be same with the origin docker image name.
Interesting...
The process is this:
1. docker pull cirros to locally
2. upload cirros from local docker to openstack glance (with a name as cir or something else)
3. zun run -n c12 --iamge-driver glance cir
Error not found cir.
The reason is, when zun try to load glance image cir from glance, it works, but when using docker driver, we do a "docker image load `cir.tar`", so it will load cir.tar to docker images but it's name's the origin one "cirros", the images is loaded but we run it as a wrong name.
So there are some limitation while using glance as image-driver:
1. We can not use glance uuid
2. The glance image name should be same with the origin docker image name.
Or that will fail.
I can not find how to resolve this.
@hongbin thought?