WIP SNO BM support for hybrid CI jobs#3739
WIP SNO BM support for hybrid CI jobs#3739bogdando wants to merge 5 commits intoopenstack-k8s-operators:mainfrom
Conversation
|
Skipping CI for Draft Pull Request. |
|
[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 |
ba7f9a3 to
647266a
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/9bd4674b8d4c4b52b1cd39592c1a29c8 ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 15m 24s |
9858edf to
cd5e154
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/c078ef19bb6347c28eeaf5336ae0bbe7 ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 18m 59s |
b359870 to
b15906d
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/24c52f4231c343c5b77791ceeb4a0b06 ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 14m 54s |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/302bb0bb5235426b982f4db10356cc88 ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 05m 34s |
This commit allows reproducer to create OpenShift cluster using Single Node OpenShift (SNO) feature. Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>
Replace the hardcoded value with a variable. This value may need changes for SNO BM cases. Signed-off-by: Bohdan Dobrelia <bdobreli@redhat.com>
1a09008 to
5a68d1a
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/0aefcac6cf914cf1838e68de6b58b488 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 36m 50s |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/b103a318d7a84c699c19ccb2c9b8f7d8 ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 08m 24s |
10bd617 to
7929c2f
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/aea45626478e496ab11af83d2658cb85 ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 10m 53s |
a4f66de to
bf27637
Compare
Allow deploying SNO OCP for RHOSO control plane instead of
the classic hybrid jobs approach.
Change the controller-0 which runs dev-scripts and deploy
architecture script to become the zuul controller node.
Skip libvirt/vmnet configuration and use no VMs at all.
Ditch dev-scripts and use agent-based openshift-installer
to also cover scenarios with isolated L2 domains between
zuul controller, SNO BM, and EDPM BM (will be added in
the future).
Allow to auto configure usb boot on the target SNO host,
and allow auto-discovery (or validation) of UEFI target
to boot from as Virtual Media Live CD. It is important
to make sure we boot from the image that we build as
we do not wipe the target host disks, and without
those guard rails it may result in confusing behavior
(booting from unexpected sources).
Allow live debug mode for agent appliance.
Password handling for agent aplliance and OCP:
* Pre-ISO generation (for post-bootstrap):
- MachineConfig 99-core-password.yaml -- sets password via MCO after
cluster is up
* Post-ISO generation (for discovery phase):
- coreos-installer iso ignition show -- extracts the embedded
ignition from the agent ISO
- patch_ignition.py -- patches the ignition JSON to add
passwordHash on the core user and a getty@tty1.service autologin
drop-in
- coreos-installer iso ignition embed -f -- re-embeds the patched
ignition back into the ISO
Generated-by: Cursor (claude-4.6-opus-high)
Signed-off-by: Bohdan Dobrelia <bdobreli@redhat.com>
Signed-off-by: Bohdan Dobrelia <bdobreli@redhat.com>
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/19f2b3cf3b694c8f8fbd23a8cb5f9670 ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 10m 39s |
Openshift-install agent wait-for bootstrap-complete needs to reach the cluster API at api.<cluster>.<domain>, but the /etc/hosts entries for that hostname are only added after both wait tasks. Without DNS resolution for the API endpoint, the command hangs until it times out. Move the /etc/hosts entries to before the wait tasks. Signed-off-by: Bohdan Dobrelia <bdobreli@redhat.com>
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/b8b556f8cf3e4883ac21d16dd81b2bd5 ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 15m 32s |
Based on SNO WIP pr #3129
Allow deploying SNO OCP for RHOSO control plane instead of
the classic hybrid jobs approach.
Change the controller-0 which runs dev-scripts and deploy
architecture script to become the zuul controller node.
Skip libvirt/vmnet configuration and use no VMs at all.
Ditch dev-scripts and use agent-based openshift-installer
to also cover scenarios with isolated L2 domains between
zuul controller, SNO BM, and EDPM BM (will be added in
the future).
Allow to auto configure usb boot on the target SNO host,
and allow auto-discovery (or validation) of UEFI target
to boot from as Virtual Media Live CD. It is important
to make sure we boot from the image that we build as
we do not wipe the target host disks, and without
those guard rails it may result in confusing behavior
(booting from unexpected sources).
Allow live debug mode for agent appliance.
Password handling for agent aplliance and OCP:
cluster is up
ignition from the agent ISO
passwordHash on the core user and a getty@tty1.service autologin
drop-in
ignition back into the ISO
Jira: OSPRH-26767
Generated-by: Cursor (claude-4.6-opus-high)
Signed-off-by: Bohdan Dobrelia bdobreli@redhat.com