<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi folks,</div><div><br></div><div>Context: <a href="https://bugs.launchpad.net/tripleo/+bug/1805825">https://bugs.launchpad.net/tripleo/+bug/1805825</a></div><div><br></div><div>Today I randomly found this module:</div><div><a href="https://github.com/openstack/tripleo-validations/blob/d21e7fa30f9be15bb980279197dc6c5206f38a38/validations/library/undercloud_conf.py">https://github.com/openstack/tripleo-validations/blob/d21e7fa30f9be15bb980279197dc6c5206f38a38/validations/library/undercloud_conf.py</a><br></div><div><br></div><div>And it gave me 2 ideas, as I think we don't need this module and would consider it as technical debt at this point:</div><div>- it's relying on a file, which isn't super safe and flexible IMHO.</div><div>- a lot of validations rely on Hieradata which isn't safe either, we saw it with the Containerized Undercloud.</div><div><br></div><div>So I propose that:</div><div>- we export require parameters via the Heat templates into Ansible variables</div><div>- we consume these variables from tripleo-validations (can be in the inventory or a dedicated var file for validations).</div><div><br></div><div>So that way we remove the dependency on having the undercloud.conf access from Mistral Executor and also stop depending on Puppet (hieradata) which we don't guarantee to be here in the future.</div><div><br></div><div>Can someone from TripleO validations team ack this email and put this work in your backlog? If you need assistance we're happy to help but I believe this is an important effort to avoid technical debt here.</div><div><br></div><div>Thanks,<br></div><div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Emilien Macchi<br></div></div></div></div></div></div>