Bug 1395584 - OCP: Hello World sample app not running: "http: server gave HTTP response to HTTPS client"
Summary: OCP: Hello World sample app not running: "http: server gave HTTP response to ...
Keywords:
Status: CLOSED DUPLICATE of bug 1373843
Alias: None
Product: Red Hat Quickstart Cloud Installer
Classification: Red Hat
Component: Installation - OpenShift
Version: 1.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.1
Assignee: Dylan Murray
QA Contact: James Olin Oden
Derek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-16 09:29 UTC by Antonin Pagac
Modified: 2016-12-08 18:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-08 18:44:13 UTC
Target Upstream Version:


Attachments (Terms of Use)

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 ***


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