MGMT-22968: Add infrastructure-only mode and Landing Zone VM support#1846
MGMT-22968: Add infrastructure-only mode and Landing Zone VM support#1846eliorerz wants to merge 1 commit intoopenshift-metal3:masterfrom
Conversation
|
Hi @eliorerz. Thanks for your PR. I'm waiting for a openshift-metal3 member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
FYI @carbonin |
|
/ok-to-test |
|
/approve AFAIK what you call "landing zone vm" is called "bastion host" and "landing zone" itself is "everything in my cloud subscription what can possibly interact with each other. But it's just a naming so whatever works for you, works |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mkowalski The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
1 similar comment
|
/retest |
|
/retest |
|
/retest |
eee61f9 to
a59f828
Compare
Add new 'infra_only' Makefile target and Landing Zone VM support to
dev-scripts, enabling creation of baremetal-like test infrastructure
without deploying an OpenShift cluster.
Changes:
1. New 'infra_only' Makefile target
- Runs 'requirements' and 'configure' steps only
- Stops before cluster deployment (build_installer, ironic, etc.)
- Useful for testing external deployment tools
2. Landing Zone VM support
- Added NUM_LANDINGZONE environment variable (default: 0)
- Configurable specs: LANDINGZONE_MEMORY (8192 MB), LANDINGZONE_DISK
(60 GB), LANDINGZONE_VCPU (4)
- Landing Zone VM has dual network access (BMC and cluster networks)
- Worker VMs use cluster network only when NUM_LANDINGZONE > 0
3. NetworkManager connection handling fix
- Fixed nmcli error when cluster network is managed by libvirt
- Suppress error if NetworkManager connection doesn't exist:
sudo nmcli con del ${BAREMETAL_NETWORK_NAME} 2>/dev/null || true
- Prevents make infra_only from failing in CI pipelines
4. Documentation
- Added "Infrastructure-Only Mode" section to README
- Added "Deploying with Landing Zone VMs" section to README
Use case: Testing external deployment tools (e.g., GoRI Lab) that need
infrastructure without cluster deployment.
Backward compatibility: All existing targets work unchanged. New variables
default to 0 (no Landing Zone VMs).
a59f828 to
1e2c202
Compare
|
/retest |
|
@eliorerz: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
This commit adds a new
infra_onlyMakefile target and support for Landing Zone VMs to dev-scripts. This enables users to create baremetal-like test infrastructure (VMs, networks, BMC emulation) without deploying an OpenShift cluster.Changes:
New
infra_onlyMakefile targetLanding Zone VM support
Network topology fix for Landing Zone use case
Documentation updates
Use case: Testing external deployment tools that need infrastructure without cluster deployment, such as GoRI Lab for bare metal OpenShift installations.
Backward compatibility: All existing targets (default, agent, assisted) work unchanged. New variables default to 0 (no Landing Zone VMs).