Bug 1668057

Summary: create cluster produces an error that should be a warning
Product: OpenShift Container Platform Reporter: Eric Jones <erjones>
Component: InstallerAssignee: Alex Crawford <crawford>
Installer sub component: openshift-installer QA Contact: Johnny Liu <jialiu>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: low    
Priority: unspecified CC: cshereme, wking
Version: 4.1.0   
Target Milestone: ---   
Target Release: 4.1.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: 2019-03-01 18:31:54 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:
Bug Depends On:    
Bug Blocks: 1664187    

Description Eric Jones 2019-01-21 20:03:38 UTC
Description of problem:
Installing OpenShift 4 using openshift-installer results in a GOAWAY HTTP message
Raw
$ openshift-install create cluster
? SSH Public Key /home/example/.ssh/id_rsa.pub
? Platform aws
? Region us-east-2
? Base Domain example.test
? Cluster Name example
? Pull Secret [? for help] ****************************************************************************************************************************************************************************************INFO Creating cluster...                          
INFO Waiting up to 30m0s for the Kubernetes API... 
INFO API v1.11.0+c69f926354 up                    
INFO Waiting up to 30m0s for the bootstrap-complete event... 
ERROR: logging before flag.Parse: E0118 16:44:16.504437   16253 streamwatcher.go:109] Unable to decode an event from the watch stream: http2: server sent GOAWAY and closed the connection; LastStreamID=3, ErrCode=NO_ERROR, debug=""
WARNING RetryWatcher - getting event failed! Re-creating the watcher. Last RV: 247 

Should be a warning as the "solution" is to just wait.

This has been KCS'd [0] but should be corrected as well.

Version-Release number of selected component (if applicable):
> ./openshift-install version
./openshift-install v0.10.0


Additional info:
[0]
https://access.redhat.com/solutions/3818101

Comment 1 W. Trevor King 2019-01-28 21:07:24 UTC
> ERROR: logging before flag.Parse: E0118 16:44:16.504437   16253 streamwatcher.go:109] Unable to decode an event from the watch stream: http2: server sent GOAWAY and closed the connection; LastStreamID=3, ErrCode=NO_ERROR, debug=""

This is coming out of our vendored Kubernetes libraries, which use glog while our installer code uses logrus.  I hear that we can address it by bumping our vendored libraries (and possibly tweaking some log setting) now that 1.12 is fair game.

Comment 4 W. Trevor King 2019-02-27 05:48:43 UTC
The glog output has been surpressed since [1], so this should be fixed.

[1]: https://github.com/openshift/installer/pull/1181 v0.12.0