Improvements to EDPM role

It contains following improvements to EDPM role.
- use tripleo_podman role to configure insecure registry to pull
  containers from content provider.
- Added timestamp in deploy_compute logs
- Use VIP as a controle_plane ip so that
  compute can communicate with controller.

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I59cf9170c4f19ecb58b4b378d2b0accb699381fc
This commit is contained in:
Chandan Kumar (raukadah) 2022-10-20 21:12:04 +05:30
parent 8c9860311a
commit 0b9620e17f
3 changed files with 10 additions and 2 deletions

View File

@ -14,13 +14,20 @@ role_type: "Standalone"
copy_inventory: false
target_host: undercloud
timestamper_cmd: >-
| awk '{ print strftime("%Y-%m-%d %H:%M:%S |"), $0; fflush(); }'
# Vars required for compute service deployment
tripleo_network_config_template: templates/ci/multinode.j2
neutron_public_interface_name: eth0
tripleo_selinux_mode: permissive
tripleo_hosts_entries_overcloud_hosts_entries:
- 192.168.24.1 standalone.ctlplane.localdomain standalone.ctlplane
ctlplane_ip: 192.168.24.1
tripleo_container_registry_insecure_registries:
- "{{ docker_registry_host }}"
# VIP of the standalone
ctlplane_ip: 192.168.24.3
# Vars needed when allinone compute deployment is done
ctlplane_dns_nameservers:

View File

@ -58,4 +58,4 @@
shell: >
set -o pipefail &&
{{ working_dir }}/deploy_compute.sh
2>&1 > {{ working_dir }}/deploy_compute.log
2>&1 {{ timestamper_cmd }} > {{ working_dir }}/deploy_compute.log

View File

@ -8,6 +8,7 @@ sudo ansible-playbook -i /usr/share/ansible/tripleo-inventory \
-e neutron_public_interface_name={{ neutron_public_interface_name }} \
-e tripleo_network_config_template={{ tripleo_network_config_template }} \
-e '{ctlplane_dns_nameservers: {{ ctlplane_dns_nameservers }}}' \
-e '{tripleo_container_registry_insecure_registries: {{ tripleo_container_registry_insecure_registries }}}' \
-e '{tripleo_hosts_entries_overcloud_hosts_entries: {{ tripleo_hosts_entries_overcloud_hosts_entries|to_json }}}' \
{% if not copy_inventory | bool %}
-e '{dns_search_domains: {{ dns_search_domains }}}' \