Fix ironic inspector public endpoint
Fixes a bug where the Baremetal Introspection service's public endpoint
registered in the Identity service referenced the internal API endpoint.
Also updates keystone endpoints for the Baremetal and Baremetal
Introspection services during reconfigure and upgrade operations.
Previously this was only done during deploy.
Change-Id: I32d475f288bb4a3834c13cc86f0c53b5437c3d25
Closes-Bug: #1738418
(cherry picked from commit dda24c47bc
)
This commit is contained in:
parent
15be00e6a6
commit
a5f46f99b2
|
@ -50,8 +50,8 @@ ironic_internal_endpoint: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{
|
|||
ironic_public_endpoint: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ ironic_api_port }}"
|
||||
|
||||
ironic_inspector_admin_endpoint: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ ironic_inspector_port }}"
|
||||
ironic_inspector_internal_endpoint: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ ironic_inspector_port }}"
|
||||
ironic_inspector_public_endpoint: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ ironic_inspector_port }}"
|
||||
ironic_inspector_internal_endpoint: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ ironic_inspector_port }}"
|
||||
ironic_inspector_public_endpoint: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ ironic_inspector_port }}"
|
||||
|
||||
ironic_logging_debug: "{{ openstack_logging_debug }}"
|
||||
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
---
|
||||
- include: register.yml
|
||||
when: enable_keystone | bool and
|
||||
(inventory_hostname in groups['ironic-api'] or
|
||||
inventory_hostname in groups['ironic-inspector'])
|
||||
|
||||
- name: Ensuring the containers up
|
||||
kolla_docker:
|
||||
name: "{{ item.name }}"
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
---
|
||||
- include: register.yml
|
||||
when: enable_keystone | bool and
|
||||
(inventory_hostname in groups['ironic-api'] or
|
||||
inventory_hostname in groups['ironic-inspector'])
|
||||
|
||||
- include: config.yml
|
||||
|
||||
- include: bootstrap_service.yml
|
||||
|
|
|
@ -82,6 +82,7 @@ user_domain_id = default
|
|||
project_name = service
|
||||
username = {{ ironic_keystone_user }}
|
||||
password = {{ ironic_keystone_password }}
|
||||
service_url = {{ ironic_inspector_internal_endpoint }}
|
||||
|
||||
[agent]
|
||||
deploy_logs_local_path = /var/log/kolla/ironic
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes a bug where the Baremetal Introspection service's public endpoint
|
||||
registered in the Identity service referenced the internal API endpoint.
|
Loading…
Reference in New Issue