Reproducer readme is misleading about how to configure the undercloud.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
In Progress
|
Medium
|
Sofer Athlan-Guyot |
Bug Description
Hi,
running the reproducer on the psi cloud, I need to setup nameserver and ntp server for the undercloud or else the undercloud deployment fail.
In the README [1] it's mentioned that I could do it like this:
- job:
name: tripleo-
parent: tripleo-
vars:
mirror_fqdn: afs-mirror.
custom_
- 10.5.30.160
- 10.11.5.19
underclou
- 10.5.30.160
external_net: provider_
ntp_server: '10.5.26.
underclou
- 10.5.26.10
- clock.redhat.com
This doesn't work as those variables becomes accessible for ansible as:
job.undercloud_
A working way is to have those variable as "top level" variable (ie not as hash entry in the job variable).
One way to do this is to modify the multinode-psi.yml in tripleo-ci and have the readme in reproducer like this:
- job:
name: tripleo-
parent: tripleo-
vars:
mirror_fqdn: afs-mirror.
custom_
- 10.5.30.160
- 10.11.5.19
playbooks:
- multinode-psi.yml
Question:
1. is there another way to achieve this from the zuul.d of any project (working with test1 for instance): ie can I just add variable somewhere in the zuul.d directory that would be taken into account.
That would have the advantage of not having to mess with multinode-psi.yml in tripleo-ci and be totally confined. That would have the disadvantage of not being readily available.
2. are we ok with having this hardcoded in tripleo-ci ... it seems to me that it's ok, but I might miss something.
If 1. is not an option and 2. is a go I can push the code for review, but would like some opinion here before doing so.
[1] https:/
Fix proposed to branch: master /review. opendev. org/c/openstack /tripleo- ci/+/840506
Review: https:/