Bug 1936744 - Missing libvirtURI in install-config.yaml should cause a validation error
Summary: Missing libvirtURI in install-config.yaml should cause a validation error
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Cluster Lifecycle
Version: rhacm-2.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: James Talton
QA Contact: Hui Chen
Christopher Dawson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-09 03:53 UTC by Lars Kellogg-Stedman
Modified: 2021-11-10 22:03 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 08:25:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github open-cluster-management backlog issues 10271 0 None None None 2021-03-10 14:12:01 UTC

Description Lars Kellogg-Stedman 2021-03-09 03:53:25 UTC
Description of problem:

We started an install of OCP 4.7 bare metal using ACM 2.2 in which we had dropped the "libvirtURI" key from our install-config.yaml. The install started and ran for a while before eventually failing with an error about being unable to access the libvirt socket.

Rather than attempting to contact a local libvirt socket in the hive container, the installer should fail with a clear error message.

Version-Release number of selected component (if applicable):

ACM 2.2

Steps to Reproduce:
1. Submit an install-config secret that is missing the libvirtURI key

Actual results:

The installer attempts to communicate with a local libvirt instance.

Expected results:

The installer should stop immediately with a clear error message indicating that the install configuration is missing critical information.

Comment 1 Nathan Weatherly 2021-03-09 12:59:53 UTC
This is concerning the installation of a Bare Metal cluster, not ACM's Hub; reassigning to Cluster Lifecycle for triage.

Comment 2 Mike Ng 2021-05-13 18:19:59 UTC
G2Bsync 840723933 comment 
 jamestalton Thu, 13 May 2021 17:49:16 UTC 
 G2Bsync
libvirtURI is required
will not fix - working as designed

Comment 3 Derek Ho 2021-11-10 22:03:59 UTC
Update QA contact for CLC


Note You need to log in before you can comment on or make changes to this bug.