mistral-executor: bind-mount undercloud.conf when validations are enabled
When validations are enabled, let's:
- Bind mount undercloud.conf using UndercloudConfigFilePath generated by
tripleoclient and mount it to mistral-executor into
/var/lib/mistral/undercloud.conf in raed-only mode.
- Export tripleo_undercloud_conf_file hieradata, needed by Ansible when
looking for the the Undercloud config file path.
Note: it could be improved in the future by not relying on Hiera
anymore and using an Ansible variable that we would export into the
container.
Reviewed: https:/ /review. openstack. org/624623 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=09daf69622d 560bb0c349e65e6 3c75c1c6aff108
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 09daf69622d560b b0c349e65e63c75 c1c6aff108
Author: Sofer Athlan-Guyot <email address hidden>
Date: Wed Oct 31 12:26:58 2018 +0100
mistral- executor: bind-mount undercloud.conf when validations are enabled
When validations are enabled, let's:
- Bind mount undercloud.conf using UndercloudConfi gFilePath generated by var/lib/ mistral/ undercloud. conf in raed-only mode. undercloud_ conf_file hieradata, needed by Ansible when
tripleoclient and mount it to mistral-executor into
/
- Export tripleo_
looking for the the Undercloud config file path.
Note: it could be improved in the future by not relying on Hiera
anymore and using an Ansible variable that we would export into the
container.
Closes-Bug: #1805825
Co-Authored-By: Sofer Athlan-Guyot <email address hidden>
Co-Authored-By: Emilien Macchi <email address hidden>
Co-Authored-By: Gael Chamoulaud <email address hidden>
Co-Authored-By: Florian Fuchs <email address hidden>
Depends-On: I38f6d562ab452f 765672e7cc4e712 06b562c471b
Change-Id: Id947ad7efc96c4 657f7b0a0fec4c0 036e0044d0e 62a6d29dd0f1fd3 84fcbe4883)
(cherry picked from commit bcb079af86304e1