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
[bm_sno] Allow SNO deploy for LVMS (leave free space)
Modify bm_sno role to let it provision thin volumes by
LVM Storage operator for a proper bare metal performance in BM
SNO CI jobs.
Signed-off-by: Bohdan Dobrelia <bdobreli@redhat.com>
Copy file name to clipboardExpand all lines: roles/bm_sno/README.md
+53-11Lines changed: 53 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,7 @@ provision IP via `/etc/hosts` entries managed by the role.
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
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. |
65
+
|`cifmw_bm_agent_lvms_partition`| dict |`{}`| When set, creates an Ignition partition at install time to cap CoreOS rootfs growth and leave unallocated space for the LVMS StorageClass. Keys: `device` (required, e.g. `/dev/nvme0n1`), `rootfs_mib` (default `150000`), `size_mib` (default `0` = rest of disk), `label` (default `lvmstorage`). See [LVMS partition](#lvms-partition). |
65
66
66
67
## Secrets management
67
68
@@ -119,17 +120,18 @@ If the binary already exists in the working directory it is reused.
119
120
2. Ensure `GenericUsbBoot` is enabled in BIOS (auto-enable with power cycle if allowed)
120
121
3. Power off the host
121
122
4. Generate SSH keys, template `install-config.yaml` and `agent-config.yaml`
122
-
5. Acquire `openshift-install` binary (see above) and run `openshift-install agent create image` to build the agent ISO
123
-
6. Optionally patch the ISO for discovery-phase console access
124
-
7. Serve the ISO via a root podman httpd container (rootless podman cannot use privileged ports)
125
-
8. Eject any existing VirtualMedia, then insert the agent ISO
126
-
9. Discover the Virtual Optical Drive UEFI path and set a one-time boot override
127
-
10. Power on the host
128
-
11. Verify BIOS `GenericUsbBoot` is enabled after POST
129
-
12. Add `/etc/hosts` entries for `api`/`api-int` and `*.apps` domains
130
-
13. Wait for bootstrap and install to complete
131
-
14. Copy kubeconfig and kubeadmin-password to the dev-scripts-compatible auth directory
132
-
15. Eject VirtualMedia and stop the HTTP server
123
+
5. Optionally generate an LVMS partition MachineConfig into `openshift/` manifests
124
+
6. Acquire `openshift-install` binary (see above) and run `openshift-install agent create image` to build the agent ISO
125
+
7. Optionally patch the ISO for discovery-phase console access
126
+
8. Serve the ISO via a root podman httpd container (rootless podman cannot use privileged ports)
127
+
9. Eject any existing VirtualMedia, then insert the agent ISO
128
+
10. Discover the Virtual Optical Drive UEFI path and set a one-time boot override
129
+
11. Power on the host
130
+
12. Verify BIOS `GenericUsbBoot` is enabled after POST
131
+
13. Add `/etc/hosts` entries for `api`/`api-int` and `*.apps` domains
132
+
14. Wait for bootstrap and install to complete
133
+
15. Copy kubeconfig and kubeadmin-password to the dev-scripts-compatible auth directory
0 commit comments