Bug 1816714
Summary: | RHV - openshift-install errors out if vnic profile != vnic name | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Jonathan Mainguy <jon> | |
Component: | Installer | Assignee: | Roy Golan <rgolan> | |
Installer sub component: | OpenShift on RHV | QA Contact: | Jan Zmeskal <jzmeskal> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | urgent | |||
Priority: | urgent | CC: | agarcial, akrzos, ggore, mkalinin, mruzicka, obockows, pelauter, rgolan, scuppett, sergey.smirnov | |
Version: | 4.4 | |||
Target Milestone: | --- | |||
Target Release: | 4.5.0 | |||
Hardware: | Unspecified | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1820575 (view as bug list) | Environment: | ||
Last Closed: | 2020-08-04 18:06:52 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1830852 | |||
Bug Blocks: | 1820575 |
Description
Jonathan Mainguy
2020-03-24 15:29:54 UTC
Changed severity to urgent, since it is blocking deployment and there is no workaround for my understanding. For the record, there is a workaround, just to change the name of the profile to match the network name. Setting target release to current development version (4.5) for resolution. Where fixes (if any) are required/requested for prior versions, cloned BZs will be created when appropriate. Some important validation that where added: 1. multiple vnic profile - run 'create install-config' and choose a network with multiple vnic profiles. the wizard will ask to select that specific profile. - run 'create cluster' with an install-config.yaml *without* vnicProfileID specified. If there is one, the installer would choose it. If there are multiple it will error and exit the install. 2. the vnic profile name doesn't matter, it is based on ID. validate the vnic profile name is different than the network name. 3. specify a vnic profile in install-config.yaml which doesn't belong to the cluster, or wrong UUID Roy
> 3. specify a vnic profile in install-config.yaml which doesn't belong to the cluster, or wrong UUID
What is the expected outcome here? Do we expect the installer to expect with reasonable error message?
(In reply to Jan Zmeskal from comment #15) > Roy > > > 3. specify a vnic profile in install-config.yaml which doesn't belong to the cluster, or wrong UUID > > What is the expected outcome here? Do we expect the installer to expect with > reasonable error message? exit with an error message. Verified with: openshift-install-linux-4.5.0-0.nightly-2020-05-11-032504 rhvm-4.3.9.4-11.el7.noarch Verification steps: -> run 'create install-config' and choose a network with multiple vnic profiles. the wizard will ask to select that specific profile. DONE -> run 'create cluster' with an install-config.yaml *without* vnicProfileID specified. --> If there is one, the installer would choose it. DONE --> If there are multiple it will error and exit the install. DONE (Although here it's far from obvious what went wrong. Roy, do we have any control over the format of terraform error messages? http://pastebin.test.redhat.com/863571) -> the vnic profile name doesn't matter, it is based on ID. validate the vnic profile name is different than the network name. DONE (Verified by deploying OCP4.5 using network with name "ovirtmgmt" and network profile "testprofile") -> specify a vnic profile in install-config.yaml which doesn't belong to the cluster, or wrong UUID. DONE (http://pastebin.test.redhat.com/863575) -> I also verified that the help for VNIC Profile step in installation wizard works *** Bug 1823725 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.5 image release advisory), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2409 |