Bug 1867519

Summary: [OSP] External network is not an optional parameter
Product: OpenShift Container Platform Reporter: Mike Fedosin <mfedosin>
Component: InstallerAssignee: Mike Fedosin <mfedosin>
Installer sub component: OpenShift on OpenStack QA Contact: weiwei jiang <wjiang>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: wjiang
Version: 4.6   
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:26:36 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:

Description Mike Fedosin 2020-08-10 09:22:02 UTC
Description of problem:

Despite the fact `externalNetwork` is considered as an optional parameter, installations fails if it's not specified.
https://github.com/openshift/installer/pull/3822

How reproducible:
100%

Steps to Reproduce:
1. Begin installation without externalNetwork value in the config

Actual results:
$ ./openshift-install-4.6.0-0.nightly-2020-08-07-202945 create manifests --dir . --log-level debug                                                                                                                                    
DEBUG OpenShift Installer 4.6.0-0.nightly-2020-08-07-202945 
DEBUG Built from commit d36a3719da1ee43da5691d90ac51afc190d9b708 
DEBUG Fetching Master Machines...                  
DEBUG Loading Master Machines...                   
DEBUG   Loading Cluster ID...                      
DEBUG     Loading Install Config...                
DEBUG       Loading SSH Key...                     
DEBUG       Loading Base Domain...                 
DEBUG         Loading Platform...                  
DEBUG       Loading Cluster Name...                
DEBUG         Loading Base Domain...               
DEBUG         Loading Platform...                  
DEBUG       Loading Pull Secret...                 
DEBUG       Loading Platform...                    
FATAL failed to fetch Master Machines: failed to load asset "Install Config": platform.openstack.externalNetwork: Not found: "" 

Expected results:

Installation should continue, as externalNetwork is optional.

Comment 3 weiwei jiang 2020-08-13 05:12:56 UTC
Verified with openshift-install-4.6.0-0.nightly-2020-08-12-155346

$ ./openshift-install-4.6.0-0.nightly-2020-08-12-155346 create install-config --dir .                                                                                                                                                   1 ↵
? SSH Public Key /home/wjiang/.ssh/openshift-qe.pub
? Platform openstack
? Cloud openstack
? ExternalNetwork <none>
? FlavorName m1.xlarge
? Base Domain wjtest.example.com
? Cluster Name wjocp
? Pull Secret [? for help] *************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
**********************************************************************************************************************************************************************************************************************************************
**********************************************************************************************************************************************************************************************************************************************
**********************************************************************************************************************************************************************************************************************************************
**********************************************************************************************************************************************************************************************************************************************
**********************************************************************************************************************************************************************************************************************************************
INFO Install-Config created in: .                 ***************************************************************

Comment 5 errata-xmlrpc 2020-10-27 16:26:36 UTC
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.6 GA Images), 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:4196