kolla-ansible/ansible/roles/glance/tasks/precheck.yml
caoyuan 03fd9715c5 Remove the deprecate the Glance Registry
A spec to Deprecate the Glance Registry Service[0] was accepted in Newton,
but it contained the ambiguous statement, "Mark the service as deprecated
and ready for removal in the Q release." kolla-ansible disable the
glance-registry in Q release[1], and since we are in S now,
remove glance-registry is safe.

[0]: http://specs.openstack.org/openstack/glance-specs/specs/newton/approved/glance/deprecate-registry.html
[1]: https://review.openstack.org/#/c/566804/

Change-Id: I48f794029e97aa6f76bbd500e33f28f51a3f2ac4
2018-11-21 20:51:51 +08:00

17 lines
485 B
YAML

---
- name: Get container facts
kolla_container_facts:
name: "{{ glance_services.values()|map(attribute='container_name')|list }}"
register: container_facts
- name: Checking free port for Glance API
wait_for:
host: "{{ api_interface_address }}"
port: "{{ glance_api_port }}"
connect_timeout: 1
timeout: 1
state: stopped
when:
- inventory_hostname in groups[glance_services['glance-api']['group']]
- container_facts['glance_api'] is not defined