Bug 1829153 - openshift-install only shows one RHV network
Summary: openshift-install only shows one RHV network
Keywords:
Status: CLOSED DUPLICATE of bug 1838559
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Douglas Schilling Landgraf
QA Contact: Jan Zmeskal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-29 03:33 UTC by Alejandro Bonilla
Modified: 2023-09-14 05:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-29 11:40:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot RHEV Networks (34.71 KB, image/png)
2020-05-26 14:36 UTC, Alejandro Bonilla
no flags Details

Description Alejandro Bonilla 2020-04-29 03:33:20 UTC
Description of problem:

openshift-install only shows one network vs all available networks in RHV.


Version-Release number of the following components:
$ openshift-install version
openshift-install 4.4.0-0.nightly-2020-04-27-013217
built from commit 78b817ceb7657f81176bbe182cc6efc73004c841
release image quay.io/openshift-release-dev/ocp-release-nightly@sha256:3453f60569f5354aa19381562ed513647bd22e0d405cb9b94c35073366c6818e

How reproducible:

Steps to Reproduce:
1. Create a Network/vNIC in RHV
2. Use openshift-install 4.4 NR
3. openshift-install create cluster --log-level=debug --dir=ocpnr

Actual results:
DEBUG       Generating SSH Key...                  
? SSH Public Key /Users/abonilla/.ssh/id_rsa.pub
DEBUG       Fetching Base Domain...                
DEBUG         Fetching Platform...                 
DEBUG         Generating Platform...               
? Platform ovirt
? oVirt cluster Default
? oVirt storage domain hosted_storage
? oVirt network ocp
? Internal API virtual IP 10.0.0.155
? Internal DNS virtual IP 10.0.0.156
? Ingress virtual IP 10.0.0.157
DEBUG       Generating Base Domain... 
Expected results:
? oVirt storage domain hosted_storage
? oVirt network
ocp
ocpnr
default

It should show all available networks

Comment 1 Douglas Schilling Landgraf 2020-05-21 01:49:00 UTC
Going to start digging this one.

Comment 2 Douglas Schilling Landgraf 2020-05-21 11:27:59 UTC
Cannot reproduce the issue on master. Moving to ON_QA.

? oVirt network  [Use arrows to move, enter to select, type to filter, ? for more help]
> net1
  net2
  ovirtmgmt

Comment 3 Alejandro Bonilla 2020-05-21 12:25:29 UTC
Can you share which version of the client you tried? 3.4 or 3.5 branch?

Comment 4 Douglas Schilling Landgraf 2020-05-21 12:26:40 UTC
(In reply to Alejandro Bonilla from comment #3)
> Can you share which version of the client you tried? 3.4 or 3.5 branch?

just tried on master.

Comment 8 Douglas Schilling Landgraf 2020-05-25 16:17:14 UTC
Hi Alejandro,

Could you please test against a fresh installer/image. I have tried to reproduce but looks like everything is working at this moment.

Thanks!

Comment 10 Alejandro Bonilla 2020-05-26 14:36:14 UTC
I have the same problem - I moved away from 4.4 to 4.5

$ openshift-install create cluster --log-level=debug --dir=ocp
DEBUG OpenShift Installer 4.5.0-0.nightly-2020-05-26-100313 
DEBUG Built from commit bbb9006efe1f7d289892f33328bc6e43a9ea664e 

? Platform ovirt
? oVirt cluster Default
? oVirt storage domain hosted_storage
? oVirt network  [Use arrows to move, enter to select, type to filter, ? for more help]
> ocp

only one network is visible, but I have 3 in RHEV. (see Attachment)

RHEV 4.3.9.4-11.el7

Comment 11 Alejandro Bonilla 2020-05-26 14:36:47 UTC
Created attachment 1692295 [details]
screenshot RHEV Networks

Comment 12 Douglas Schilling Landgraf 2020-05-27 02:00:22 UTC
Hi Alejandro,

(In reply to Alejandro Bonilla from comment #10)
> I have the same problem - I moved away from 4.4 to 4.5
> 
> $ openshift-install create cluster --log-level=debug --dir=ocp
> DEBUG OpenShift Installer 4.5.0-0.nightly-2020-05-26-100313 
> DEBUG Built from commit bbb9006efe1f7d289892f33328bc6e43a9ea664e 
> 
> ? Platform ovirt
> ? oVirt cluster Default
> ? oVirt storage domain hosted_storage
> ? oVirt network  [Use arrows to move, enter to select, type to filter, ? for
> more help]
> > ocp
> 
> only one network is visible, but I have 3 in RHEV. (see Attachment)
> 
> RHEV 4.3.9.4-11.el7

Here my data:

Execution
----------------
$ git clone https://github.com/openshift/installer.git
$ cd installer
$ hack/build.sh

$ bin/openshift-install create cluster 
? SSH Public Key /home/douglas/.ssh/id_rsa.pub
? Platform ovirt
? oVirt API endpoint URL https://engine.medogz.home/ovirt-engine/api
? Is the oVirt CA trusted locally? No
WARNING Communication with the oVirt engine will be insecure. 
? oVirt engine username admin@internal
? oVirt engine password ******
? oVirt cluster Default
? oVirt storage domain data
? oVirt network  [Use arrows to move, enter to select, type to filter, ? for more help]
> net1
  net2
  ovirtmgmt

^^^ 3 networks


Versions
-----------------
$ bin/openshift-install version
bin/openshift-install unreleased-master-3083-g95dbce303475a4f2697dae3b9f8d6dee6935dd8e
built from commit 95dbce303475a4f2697dae3b9f8d6dee6935dd8e
release image registry.svc.ci.openshift.org/origin/release:4.5

RHVM: Version 4.3.9.4-1.el7
ovirt-engine-ui-extensions-1.0.10-1.el7.noarch
ovirt-engine-extension-aaa-jdbc-1.1.10-1.el7.noarch
ovirt-engine-setup-plugin-websocket-proxy-4.3.9.4-1.el7.noarch
ovirt-engine-backend-4.3.9.4-1.el7.noarch
ovirt-engine-tools-4.3.9.4-1.el7.noarch
ovirt-engine-setup-4.3.9.4-1.el7.noarch
ovirt-engine-wildfly-overlay-17.0.1-1.el7.noarch
ovirt-engine-setup-base-4.3.9.4-1.el7.noarch
ovirt-engine-tools-backup-4.3.9.4-1.el7.noarch
ovirt-engine-metrics-1.3.7-1.el7.noarch
ovirt-engine-restapi-4.3.9.4-1.el7.noarch
ovirt-engine-setup-plugin-vmconsole-proxy-helper-4.3.9.4-1.el7.noarch
ovirt-engine-4.3.9.4-1.el7.noarch
ovirt-engine-wildfly-17.0.1-1.el7.x86_64
ovirt-engine-dwh-4.3.8-1.el7.noarch
python2-ovirt-engine-lib-4.3.9.4-1.el7.noarch
ovirt-engine-websocket-proxy-4.3.9.4-1.el7.noarch
ovirt-engine-dbscripts-4.3.9.4-1.el7.noarch
ovirt-engine-vmconsole-proxy-helper-4.3.9.4-1.el7.noarch
ovirt-engine-webadmin-portal-4.3.9.4-1.el7.noarch
python-ovirt-engine-sdk4-4.3.2-2.el7.x86_64
ovirt-engine-api-explorer-0.0.5-1.el7.noarch
ovirt-engine-dwh-setup-4.3.8-1.el7.noarch
ovirt-engine-setup-plugin-cinderlib-4.3.9.4-1.el7.noarch
ovirt-engine-setup-plugin-ovirt-engine-common-4.3.9.4-1.el7.noarch
ovirt-engine-extensions-api-impl-4.3.9.4-1.el7.noarch
ovirt-engine-setup-plugin-ovirt-engine-4.3.9.4-1.el7.noarch

Comment 13 Douglas Schilling Landgraf 2020-05-27 02:05:49 UTC
Hi Alejandro,

Could you please provide the output from list_networks.go? 
https://github.com/dougsland/ocp-ovirt/tree/master/tools/network

I have created a tool to list all networks from cluster. This is a tool based on oVirt golang sdk, the same as the OCP installer uses.
The idea is isolate the problem (avoid the installer bits at this moment).

Thanks!

Comment 14 Roberto Ciatti 2020-05-28 07:02:16 UTC
Hi All,
  just to add a test.

I have openshift-install 4.4.5 with ovirt 4.4 and I can see all logical_networks and external_networks created with the external provider ovirt-provider-ovn.

Comment 15 Sandro Bonazzola 2020-05-28 11:19:14 UTC
Closing with insufficient data for reproducing the issue. Please reopen if information for reproducing can be provided

Comment 16 Alejandro Bonilla 2020-05-28 14:26:22 UTC
$ go run ./list_networks.go
Cluster: Default id: a0d3f7e0-48ec-11ea-814d-00163e125107 networks: [ocp]

The tool also only shows one network but RHEV shows 3 Networks/3 vNICs as shown in Comment #11

Comment 17 Douglas Schilling Landgraf 2020-05-28 22:44:10 UTC
(In reply to Alejandro Bonilla from comment #16)
> $ go run ./list_networks.go
> Cluster: Default id: a0d3f7e0-48ec-11ea-814d-00163e125107 networks: [ocp]
> 
> The tool also only shows one network but RHEV shows 3 Networks/3 vNICs as
> shown in Comment #11

Could you please provide the logs from Engine ?

Comment 18 Douglas Schilling Landgraf 2020-05-29 11:40:53 UTC
Thanks Alejandro! I have reproduced the report. This bug is a duplicate of 1838559.

*** This bug has been marked as a duplicate of bug 1838559 ***

Comment 19 Red Hat Bugzilla 2023-09-14 05:55:55 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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