Bug 1867519 - [OSP] External network is not an optional parameter
Summary: [OSP] External network is not an optional parameter
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.6.0
Assignee: Mike Fedosin
QA Contact: weiwei jiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-10 09:22 UTC by Mike Fedosin
Modified: 2020-10-27 16:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 16:26:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 4029 0 None open Bug 1867519: make externalNetwork optional 2020-08-10 09:36:58 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:26:48 UTC

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


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