kolla-ansible/ansible/roles/glance
Mark Goddard 1abd15d4a6 Fix glance bootstrap with file backend
Change https://review.opendev.org/#/c/670247/ attempted to fix glance
deployment with the file backend. However, it added a new bug by being
more strict about only generating configuration where the container will
be deployed. This means that the current method of running the glance
bootstrap container on any host in glance-api group could be broken,
since it needs the container configuration.

This change only runs the bootstrap container on hosts in the
glance_api_hosts list, which in the case of the file backend typically
only contains one host.

This change also fixes up some logic during rolling upgrade, where we
might not generate new configuration for the bootstrap host.

Change-Id: I83547cd83b06ddefb3a9e1f39844537bdb32bd7f
Related-Bug: #1836151
2019-07-18 14:36:56 +00:00
..
defaults Fix glance with file backend 2019-07-11 09:25:46 +01:00
handlers Simplify handler conditionals 2019-06-27 15:57:19 +00:00
meta Remove unused project_yaml parameter from role metadata files 2016-08-07 22:18:17 +02:00
tasks Fix glance bootstrap with file backend 2019-07-18 14:36:56 +00:00
templates Use keystone_*_url var in all configs 2019-03-06 15:08:26 -05:00