You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Skip controller reboot and wait_for_connection in deploy-edpm-reuse
when cifmw_bm_sno is true (no virtual controller assumption).
- Skip syncing local repos to the Ansible controller in push_code when
cifmw_bm_sno is true.
- In reuse_main, skip CRC/OCP layout detection for BM SNO; set
_use_crc/_use_ocp false and _has_openshift true.
- In deploy_architecture, fall back to play host facts when inventory
has no controller-* host; derive controller address from default IPv4
or inventory_hostname when ansible_host is unset.
- Run OCP cluster-size reduction in architecture only when the ocps
group exists.
- Add cifmw_bm_agent_disabled_ifaces and agent-config networkConfig so
extra NICs can stay link-up without IPv4/IPv6 (overlap validation);
install nmstate when that list is non-empty.
- Document bm_sno Zuul autohold workflow, reproducer scenarios vs
baremetal, and spellcheck terms (NICs, autoheld, tty).
- Update BM SNO logic to match the existing reuse_ocp
flow where OCP (and SNO) deployment becomes skipped
Generated-by: claude-4.6-opus-high
Signed-off-by: Bohdan Dobrelia <bdobreli@redhat.com>
Copy file name to clipboardExpand all lines: roles/bm_sno/README.md
+90-1Lines changed: 90 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,7 @@ provision IP via `/etc/hosts` entries managed by the role.
61
61
|`cifmw_bm_agent_vmedia_uefi_path`| str | auto-discovered | UEFI device path for the Virtual Optical Drive; auto-discovered from UEFI boot options if omitted |
62
62
|`cifmw_bm_agent_core_password`| str | — | Set a `core` user password post-install via MachineConfig |
63
63
|`cifmw_bm_agent_live_debug`| bool |`false`| Patch the agent ISO with password, autologin, and systemd debug shell on `tty6` for discovery-phase console access (requires `cifmw_bm_agent_core_password`) |
64
+
|`cifmw_bm_agent_disabled_ifaces`| list |`[]`| Extra NIC names to disable IPv4/IPv6 on during agent-based install. Prevents overlapping-subnet validation failures when multiple NICs share a native VLAN (e.g. `[eno2]`). The interfaces stay link-up but get no IP address; post-install NNCP configures them. |
64
65
65
66
## Secrets management
66
67
@@ -95,7 +96,7 @@ The agent-based deployment is composed of reusable task files under
95
96
| `bm_ensure_usb_boot.yml` | Wraps `bm_check_usb_boot.yml`; if disabled and `cifmw_bm_agent_enable_usb_boot` is true, sets the BIOS attribute, creates a config job, and power-cycles to apply |
96
97
| `bm_eject_vmedia.yml` | Ejects VirtualMedia from the iDRAC Virtual Optical Drive |
97
98
| `bm_discover_vmedia_target.yml` | Discovers or validates the UEFI device path for VirtualMedia, clears pending iDRAC config jobs, and sets a one-time boot override |
98
-
| `bm_patch_agent_iso.yml` | Patches the agent ISO ignition with core password, autologin, and debug shell (used when `cifmw_bm_agent_live_debug` is true) |
99
+
| `bm_patch_agent_iso.yml` | Patches the agent ISO ignition with core password, autologin, and debug shell on tty6 (used when `cifmw_bm_agent_live_debug` is true) |
99
100
| `bm_core_password_machineconfig.yml` | Generates a MachineConfig manifest to set the core user password hash post-install |
100
101
101
102
## openshift-install acquisition
@@ -178,6 +179,94 @@ cifmw_bm_nodes:
178
179
root_device: /dev/sda
179
180
```
180
181
182
+
## Local debugging on an autoheld Zuul node
183
+
184
+
When a Zuul job is held (`autohold`), you can SSH into the Zuul controller
185
+
and iterate on the deployment without re-provisioning SNO from scratch.
186
+
187
+
### 1. Prepare the environment
188
+
189
+
Edit `~/configs/zuul_vars.yaml` to skip SNO re-provisioning and OpenStack
190
+
cleanup (there is nothing to clean up if doing the first RHOSO deployment):
191
+
192
+
```yaml
193
+
cifmw_cleanup_architecture: false
194
+
reuse_ocp: true
195
+
run_cleanup: false
196
+
```
197
+
198
+
### 2. Run the playbook
199
+
200
+
From the `ci-framework-jobs` checkout on the Zuul controller:
201
+
202
+
```bash
203
+
cd ~/src/gitlab.cee.redhat.com/ci-framework/ci-framework-jobs
0 commit comments