Prepare cifmw to run with ZIronic#3505
Prepare cifmw to run with ZIronic#3505danpawlik wants to merge 6 commits intoopenstack-k8s-operators:mainfrom
Conversation
|
Skipping CI for Draft Pull Request. |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/189b934b700044f3bda13641b2aad34b ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 53m 17s |
0cc183e to
04bb19b
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/d82a46fe901b4ac6b31d905a4f72965e ❌ openstack-k8s-operators-content-provider FAILURE in 5m 47s |
04bb19b to
1f0dbfa
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/c0a79539bc5a4c4daa61e899fe05df2a ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 35m 45s |
edf50ab to
aecb718
Compare
aecb718 to
48e1843
Compare
91087e3 to
027c701
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/6bd9648e591946998c4051294b4e437e ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 57m 16s |
027c701 to
b4f2ed6
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/cdcf666e6e5044fb81389ea41616d604 ❌ openstack-k8s-operators-content-provider FAILURE in 4m 11s |
f5a6ed3 to
913b4ce
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/ae0591df2b6c4f1f9b2117dea2932ac1 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 43m 07s |
913b4ce to
807b4ef
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/0ca00602c8c146aa8b58f4a0f5123107 ✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 17m 59s |
d959258 to
8da207d
Compare
| validate: "/usr/sbin/dnsmasq -C %s --test" | ||
| loop: "{{ cifmw_dnsmasq_host_record }}" | ||
|
|
||
| # NOTE(dpawlik): Add also short names like controller-0, master-0 |
There was a problem hiding this comment.
error that controller-0 was not detected was in other place, where libvirt_inventory.yaml was not provided in reproducer script.
I would say, that feature would be good to keep, but set a parameter that would handle that.
8da207d to
8c8d974
Compare
8c8d974 to
0edff90
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/921dd99de48d4bbe959ba50ef3fdd7e8 ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 13m 19s |
0edff90 to
0ebad93
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/8c2208a83bc34616b27e0417f967be8e ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 15m 49s |
|
recheck |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/555ea3333b8d42ef932d8230733043ee ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 14m 49s |
0ebad93 to
953c19c
Compare
953c19c to
670e937
Compare
670e937 to
d42c099
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/ad39211ebce645788f294895296ae344 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 08m 35s |
|
recheck |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/f14532aad6564a23aff60af2dec8a2c3 ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 22m 06s |
The Zironic tool would pre-deploy OCP cluster before CI job will "pick" the baremetal host. Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>
Without gathering facts here, on executing reproducer playbook via Zironic or locally, the /etc/ci/env/networking-environment-definition.yml in later stage will not contain: "hostname" and "interface_name" keys, which would fail on generating network-values using ci_gen_kustomize_values. Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>
The libvirt_manager is adding the VMs into the inventory during the playbook execution. It means, if Zironic would bootstrap the host, later the CI job will continue running the CI job, but it would not be able to reach the VMs, like controller-0. Add a feature that dump the VMs groups into the inventory file. Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>
By moving the bootstrap procedure from job execution to ZIronic, we changed the way, what is configuring the baremetal host (BM). Normally in CI job execution, Zuul is spawning a controller, then the controller is configuring the baremetal host, then the job continuation is done on controller-0 via baremetal host. With Zironic, to avoid creating additional VM - controller - we moved the procedure to be done directly on the baremetal host. It means, that the ansible-core package needs to be available, otherwise bootstrap procedure would fail because of missing modules, libraries etc. Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>
On busy host, if the restart is performed, Ansible is not waiting enough of time to continue. Sometimes it happens that the service was configured few seconds after the Ansible task that require it was executed. Retry and wait for dnsmasq to be restarted before continuation. Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>
In some cases, we need to be able to resolve short host names like controller-0 and not always relay on ssh configuration file. Normally on executing the reproducer playbook, we are reading the libvirt_inventory file, that contains most of the host on which we want to connect. That feature gives just developers to connect to VMs using other tools than SSH. Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>
d42c099 to
8287f37
Compare
The Zironic tool would pre-deploy OCP cluster before CI job will "pick" the baremetal host.
Depends-On: #3523