Comment 4 for bug 1620629

Revision history for this message
Michael Johnson (johnsom) wrote :

In testing this with a stock master (newton) devstack I disabled the security in glance API and then uploaded a tagged image using the demo user account (image 2). There are now two glance images tagged with the "amphora" tag.

stack@devstack:~/devstack$ glance image-list
+--------------------------------------+---------------------------------+
| ID | Name |
+--------------------------------------+---------------------------------+
| f0b08fe6-d5b6-4d48-916d-095c30f04bbc | amphora-x64-haproxy |
| 1082ac09-4caf-40ab-b848-ffbf007a375b | amphora-x64-haproxy2 |
| 4516dbf3-b995-4444-9836-68516e7d9d55 | cirros-0.3.3-x86_64-disk |
| 43d426bf-eaf0-4e37-89de-6f3469680609 | cirros-0.3.4-x86_64-uec |
| 848e862f-99ef-4ff3-aeca-c6358718bfea | cirros-0.3.4-x86_64-uec-kernel |
| 909d6608-9315-4364-9fbd-789c33eb4038 | cirros-0.3.4-x86_64-uec-ramdisk |
+--------------------------------------+---------------------------------+

When I booted a load balancer, I got the expected warning from Octavia:

2016-09-07 23:21:25.085 73535 WARNING octavia.compute.drivers.nova_driver [-] A single Glance image should be tagged with amphora tag, but 2 found. Using f0b08fe6-d5b6-4d48-916d-095c30f04bbc.

This indicated that with the current default configuration, octavia will still select the correct image.