Bug 1395584

Summary: OCP: Hello World sample app not running: "http: server gave HTTP response to HTTPS client"
Product: Red Hat Quickstart Cloud Installer Reporter: Antonin Pagac <apagac>
Component: Installation - OpenShiftAssignee: Dylan Murray <dymurray>
Status: CLOSED DUPLICATE QA Contact: James Olin Oden <joden>
Severity: unspecified Docs Contact: Derek <dcadzow>
Priority: unspecified    
Version: 1.1CC: arubin, bthurber, joden, qci-bugzillas
Target Milestone: ---Keywords: Triaged
Target Release: 1.1   
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: 2016-12-08 18:44:13 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:

Description Antonin Pagac 2016-11-16 09:29:35 UTC
Description of problem:
After a successful deployment of RHV self-hosted with 2 hypervisors and OCP with 1 master + 1 node the sample Hello World app is not accessible.

The full log from OCP UI:

Cloning "http://www.github.com/dymurray/php-helloworld.git" ...
	Commit:	914c47acd188ff7628d4a038b997387c74b3e298 (Changed outputted text)
	Author:	Dylan Murray <dymurray>
	Date:	Thu Aug 25 12:39:04 2016 -0400

---> Installing application source...


Pushing image 172.30.240.2:5000/helloworld/php-helloworld:latest ...
E1115 14:17:54.400042       1 dockerutil.go:92] push for image 172.30.240.2:5000/helloworld/php-helloworld:latest failed, will retry in 5s ...
E1115 14:17:59.610565       1 dockerutil.go:92] push for image 172.30.240.2:5000/helloworld/php-helloworld:latest failed, will retry in 5s ...
E1115 14:18:08.197409       1 dockerutil.go:92] push for image 172.30.240.2:5000/helloworld/php-helloworld:latest failed, will retry in 5s ...
E1115 14:18:15.158306       1 dockerutil.go:92] push for image 172.30.240.2:5000/helloworld/php-helloworld:latest failed, will retry in 5s ...
E1115 14:18:20.412616       1 dockerutil.go:92] push for image 172.30.240.2:5000/helloworld/php-helloworld:latest failed, will retry in 5s ...
E1115 14:18:26.248718       1 dockerutil.go:92] push for image 172.30.240.2:5000/helloworld/php-helloworld:latest failed, will retry in 5s ...
E1115 14:18:31.516420       1 dockerutil.go:92] push for image 172.30.240.2:5000/helloworld/php-helloworld:latest failed, will retry in 5s ...
Registry server Address: 
Registry server User Name: serviceaccount
Registry server Email: serviceaccount
Registry server Password: <<non-empty>>
error: build error: Failed to push image: unable to ping registry endpoint https://172.30.240.2:5000/v0/
v2 ping attempt failed with error: Get https://172.30.240.2:5000/v2/: http: server gave HTTP response to HTTPS client
v1 ping attempt failed with error: Get https://172.30.240.2:5000/v1/_ping: http: server gave HTTP response to HTTPS client 

Version-Release number of selected component (if applicable):
QCI-1.1-RHEL-7-20161111.n.0

How reproducible:
Happened to me once

Steps to Reproduce:
1. Start and finish deployment of self-hosted RHV and OCP as mentioned above
2. Check on the Hello World sample app
3.

Actual results:
The sample app is inaccessible; there is an error in OCP log

Expected results:
The sample app should be accessible

Additional info:

Comment 2 Dylan Murray 2016-11-29 14:26:11 UTC
https://github.com/fusor/ansible-ocp/pull/4

The sample app not coming up could be for a variety of reasons, but with the upgrade to 3.3 this temporary workaround should resolve this issue.

Comment 3 James Olin Oden 2016-12-08 18:44:13 UTC

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