Bug 1818522 - [DOCS] install procedure provided seems not correct
Summary: [DOCS] install procedure provided seems not correct
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.5.0
Assignee: Rolfe Dlugy-Hegwer
QA Contact: Jan Zmeskal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-28 22:03 UTC by daniel
Modified: 2020-04-18 14:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-17 10:37:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description daniel 2020-03-28 22:03:05 UTC
Description of problem:

Version-Release number of the following components:
- rhv 4.3.7.2
- oc version 
Client Version: 4.4.0-rc.4
Server Version: 4.4.0-rc.4
Kubernetes Version: v1.17.1

- openshift-install version
openshift-install 4.4.0-rc.4
built from commit ddafb2d87d4744e56bd5d857621245311f186261
release image quay.io/openshift-release-dev/ocp-release@sha256:c05f74a898c7185de870edc1441865545441223a94b9f185a45ed2e020b38d16

How reproducible:

follow pdf provided via https://access.redhat.com/articles/4903411

Steps to Reproduce:
1. follow https://access.redhat.com/articles/4903411 : Running the installer
2. Enter oVirt's API endpoint URL : Enter the URL of the oVirt API using this format:
<ovirt-admin> : <password> https:// <engine-fqdn> /ovirt-engine/api
For example:
admin:pw123 https://rhv-env.virtlab.example.com/ovirt-engine/api

--> produces errors


Actual results:

[root@bastion rhv]# openshift-install create cluster --dir=./cluster 
? SSH Public Key /root/.ssh/id_rsa.pub
? Platform ovirt
? Enter oVirt's api endpoint URL admin:redhat https://rhv-manager.ocp4-test-lab.fun/ovirt-engine/api
? Is the installed oVirt certificate trusted? Yes
? Enter oVirt's CA bundle 
-----BEGIN CERTIFICATE-----
<redacted> 
-----END CERTIFICATE-----
? Enter ovirt-engine username admin@internal
? Enter password ******
X Sorry, your reply was invalid: failed to connect to oVirt platform Post admin:redhat https://rhv-manager.ocp4-test-lab.fun/ovirt-engine/api: unsupported protocol scheme "admin"
? Enter password 
FATAL failed to fetch Terraform Variables: failed to fetch dependency of "Terraform Variables": failed to fetch dependency of "Cluster ID": failed to fetch dependency of "Install Config": failed to fetch dependency of "Base Domain": failed to generate asset "Platform": interrupt 
[root@bastion rhv]# 


Expected results:

installer proceeds .... and eventually runs successful

Additional info:
seems the line is not working:
- ? Enter oVirt's api endpoint URL admin:redhat https://rhv-manager.ocp4-test-lab.fun/ovirt-engine/api
--> removing admin:redhat works

[root@bastion rhv]# openshift-install create cluster --dir=./cluster 
? SSH Public Key /root/.ssh/id_rsa.pub
? Platform ovirt
? Enter oVirt's api endpoint URL https://rhv-manager.ocp4-test-lab.fun/ovirt-engine/api
? Is the installed oVirt certificate trusted? Yes
? Enter oVirt's CA bundle 
-----BEGIN CERTIFICATE-----
<redacted> 
-----END CERTIFICATE-----
? Enter ovirt-engine username admin@internal
? Enter password ******
? Select the oVirt cluster modular
? Select the oVirt storage domain RHV
? Select the oVirt network ovirtmgmt
? Enter the internal API Virtual IP 172.99.10.153
? Enter the internal DNS Virtual IP 172.99.10.159
? Enter the ingress IP  172.99.10.154
? Base Domain ocp4-csa.ocp4-test-lab.fun
? Cluster Name cluster
? Pull Secret [? for help] **********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
INFO Obtaining RHCOS image file from 'https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-4.4/44.81.202003110027-0/x86_64/rhcos-44.81.202003110027-0-openstack.x86_64.qcow2.gz?sha256=237b9e0af475bf318abbe8d83d5508c2c3d4cca96fdcdb16edace2cc062216d1' 
INFO Creating infrastructure resources...         
INFO Waiting up to 20m0s for the Kubernetes API at https://api.cluster.ocp4-csa.ocp4-test-lab.fun:6443... 
INFO API v1.17.1 up                               
INFO Waiting up to 40m0s for bootstrapping to complete... 
INFO Destroying the bootstrap resources...        
INFO Waiting up to 30m0s for the cluster at https://api.cluster.ocp4-csa.ocp4-test-lab.fun:6443 to initialize... 
INFO Waiting up to 10m0s for the openshift-console route to be created... 
INFO Install complete!                            
INFO To access the cluster as the system:admin user when using 'oc', run 'export KUBECONFIG=/root/rhv/cluster/auth/kubeconfig' 
INFO Access the OpenShift web-console here: https://console-openshift-console.apps.cluster.ocp4-csa.ocp4-test-lab.fun 
INFO Login to the console with user: kubeadmin, password: <redacted> 
[root@bastion rhv]# 


--> not sure if this is the installer version but it seems to be redundant to add user and pw twice as it is later on asked again, also admin:redhat as user:pw ould be incomplete anyway as auth profile is missing ...

Comment 1 Peter Lauterbach 2020-04-14 13:57:44 UTC
Rolfe, removing the username and password from the URL of the oVirt API needs to be updated in the pdf

Comment 2 Rolfe Dlugy-Hegwer 2020-04-14 19:20:11 UTC
Updated in both the Quickstart revision 1.5 and the official docs.

Comment 3 Scott Dodson 2020-04-16 14:39:17 UTC
Are there additional fixes for this? if not please move it to modified and set appropriate target release, severity and priority. Why is comment 2 private?

Comment 6 Rolfe Dlugy-Hegwer 2020-04-17 10:37:14 UTC
Fixed in Quickstart Guide: Installing OpenShift Container Platform on Red Hat Virtualization
Revision 1.5, April 17th, 2020

Comment 7 Rolfe Dlugy-Hegwer 2020-04-18 14:09:53 UTC
Published the updated Quickstart guide: https://access.redhat.com/articles/4903411
Updated the source for the official 4.4 GA doc.


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