Bug 1881532

Summary: The interactive installer should only list external neutron networks in the `ExternalNetwork` question
Product: OpenShift Container Platform Reporter: Pierre Prinetti <pprinett>
Component: InstallerAssignee: Pierre Prinetti <pprinett>
Installer sub component: OpenShift on OpenStack QA Contact: weiwei jiang <wjiang>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: low CC: gpei, wjiang, wking
Version: 4.4   
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: When asking for the external network, the Installer interactive prompt was showing all networks as possible choices Consequence: The list included invalid options Fix: The Installer now filters the proposed options based on whether the network is externel Result: The Installer only prompts external networks when asking to choose the external network for the cluster.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:44:38 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 Pierre Prinetti 2020-09-22 15:59:21 UTC
The interactive installer list networks in the `? ExternalNetwork` question, however only external networks are valid choices.

The interactive installer should only list `external` neutron networks in the `ExternalNetwork` question.

Comment 1 W. Trevor King 2020-09-23 22:11:07 UTC
4.4 installer issues should not block 4.6 going GA.  Punting to 4.7.

Comment 5 weiwei jiang 2020-10-09 02:08:54 UTC
Checked and moved to verified.
$ ./openshift-install-4.6 version
./openshift-install-4.6 4.6.0-0.nightly-2020-10-08-210814
built from commit ebdbda57fc18d3b73e69f0f2cc499ddfca7e6593
release image registry.svc.ci.openshift.org/ocp/release@sha256:cc772ee5c176efc7781f305c0c205562cfe3b0ed2ac15a6ce305dbfc990eb22c


(shiftstack) [stack@undercloud-0 ~]$ openstack network list 
+--------------------------------------+----------------------------+--------------------------------------+
| ID                                   | Name                       | Subnets                              |
+--------------------------------------+----------------------------+--------------------------------------+
| 112e4af1-9961-4744-92b7-4e57b08265ad | public                     | 0b1ab2cf-096d-4442-b2ba-2b8f3dbf4033 |
| 7b4315a2-ef5d-41ba-aa12-31bf43152e17 | mrnd-16-46-bntt7-openshift | c99de001-7c22-48af-9f33-78bee9146a01 |
| 82bba4bd-505f-4757-a5e7-7d073f418163 | StorageNFS                 | b983c407-ef58-4209-99ab-56dc3c5fcf60 |
| ad7740a5-1544-44d5-8781-2125485c13df | byo-net                    | d9285b48-ad3a-4568-9fb3-105d368a4e48 |
| eee4f2b3-3bd2-4dc3-8d7d-d0f3a51131c2 | piqin-930-cd4b7-openshift  | b1b73c8e-336f-446a-8325-6d3e30b4ea51 |
+--------------------------------------+----------------------------+--------------------------------------+
(shiftstack) [stack@undercloud-0 ~]$ openstack network list  --external 
+--------------------------------------+--------+--------------------------------------+
| ID                                   | Name   | Subnets                              |
+--------------------------------------+--------+--------------------------------------+
| 112e4af1-9961-4744-92b7-4e57b08265ad | public | 0b1ab2cf-096d-4442-b2ba-2b8f3dbf4033 |
+--------------------------------------+--------+--------------------------------------+

$ ./openshift-install-4.6 create install-config --dir /tmp
? SSH Public Key /home/wjiang/.ssh/openshift-qe.pub
? Platform openstack
? Cloud shiftstack
? ExternalNetwork  [Use arrows to move, enter to select, type to filter, ? for more help]
  <none>
> public

Comment 7 errata-xmlrpc 2020-10-27 16:44:38 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