[openstack-dev] [Magnum] What is Magnum's behaviour wrt Images in Glance and which ones are downloaded to COE ?

Waines, Greg Greg.Waines at windriver.com
Tue Jul 19 16:35:24 UTC 2016


I have successfully setup devstack with Magnum,
following this link https://github.com/openstack/magnum/blob/master/doc/source/dev/quickstart.rst#building-and-using-a-swarm-bay

I created a Docker-Swarm bay and successfully launched a simple container.

What is the behavior of MAGNUM wrt downloading of Container-formatted Images in Glance to the COE ?

e.g. in the setup from the above link
gwaines at wildcat-76:~$ glance -v image-list
+--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+----------------------------------+
| ID                                   | Name                            | Disk_format | Container_format | Size      | Status | Owner                            |
+--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+----------------------------------+
| 96a63dda-e9e8-45ac-843c-1635909aa79e | cirros-0.3.4-x86_64-uec         | ami         | ami              | 25165824  | active | a7e010ece2bf4bbfa84551a03c0770ae |
| 9ff4c5a2-30d8-4c46-ac3e-fde566654fec | cirros-0.3.4-x86_64-uec-kernel  | aki         | aki              | 4979632   | active | a7e010ece2bf4bbfa84551a03c0770ae |
| df11374e-ef88-47eb-8603-5e646fa7c76c | cirros-0.3.4-x86_64-uec-ramdisk | ari         | ari              | 3740163   | active | a7e010ece2bf4bbfa84551a03c0770ae |
| 296d607a-6d7a-472b-987d-8bcde63ff124 | fedora-atomic-latest            | qcow2       | bare             | 507928064 | active | a7e010ece2bf4bbfa84551a03c0770ae |
+--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+----------------------------------+
gwaines at wildcat-76:~$
gwaines at wildcat-76:~$ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
swarm               1.0.0               4a0d7b83266a        5 months ago        0 B
cirros              latest              807dd1cf91c7        6 months ago        0 B
gwaines at wildcat-76:~$

Does MAGNUM automatically download all Glance Images of a particular Container Format to the COE ?

In the above setup, which Glance Image does the ‘docker image’ “cirros” correspond to ?

Greg.









-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160719/b3e37fba/attachment.html>


More information about the OpenStack-dev mailing list