Bug 1404744 - OCP: Create Hello Openshift application failed: "unable to load template file"
Summary: OCP: Create Hello Openshift application failed: "unable to load template file"
Keywords:
Status: CLOSED ERRATA
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: 1412784 1421259
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-14 14:32 UTC by Antonin Pagac
Modified: 2017-02-28 01:42 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-28 01:42:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:0335 0 normal SHIPPED_LIVE Red Hat Quickstart Installer 1.1 2017-02-28 06:36:13 UTC

Description Antonin Pagac 2016-12-14 14:32:56 UTC
Description of problem:
OCP deployment failed at 95.0%:

"
2016-12-14 08:46:20,693 p=21652 u=foreman | TASK [Create Hello Openshift application] **************************************

2016-12-14 08:46:58,498 p=21652 u=foreman | fatal: [rhv-ocp2-ose-master1.example.com]: FAILED! => {"changed": true, "cmd": ["oc", "new-app", "--insecure-registry=true", "http://www.github.com/dymurray/php-helloworld.git"], "delta": "0:00:37.459085", "end": "2016-12-14 13:46:58.221740", "failed": true, "rc": 1, "start": "2016-12-14 13:46:20.762655", "stderr": "error: unable to load template file \"http://www.github.com/dymurray/php-helloworld.git\": yaml: line 6: mapping values are not allowed in this context\nerror: no match for \"http://www.github.com/dymurray/php-helloworld.git\"\n\nThe 'oc new-app' command will match arguments to the following types:\n\n 1. Images tagged into image streams in the current project or the 'openshift' project\n - if you don't specify a tag, we'll add ':latest'\n 2. Images in the Docker Hub, on remote registries, or on the local Docker engine\n 3. Templates in the current project or the 'openshift' project\n 4. Git repository URLs or local paths that point to Git repositories\n\n--allow-missing-images can be used to point to an image that does not exist yet.\n\nSee 'oc new-app -h' for examples.", "stdout": "", "stdout_lines": [], "warnings": []}
"

Version-Release number of selected component (if applicable):
QCI-1.1-RHEL-7-20161212.t.2

How reproducible:
Happened to me once

Steps to Reproduce:
1. Start a deployment of OCP on RHV
2. OCP fails at 95%
3.

Actual results:
OCP deployment failed

Expected results:
OCP installed successfully

Additional info:

Comment 2 Jason Montleon 2016-12-14 15:59:58 UTC
Not really sure what is going on here. I used the same iso and the helloworld app successfully deployed. Out of curiosity can you manually clone the git repo to from the master? All I can think is that perhaps it's a network issue.

Otherwise the command may have not been parsed correctly for some reason I am not seeing.

Comment 3 Antonin Pagac 2016-12-22 08:35:17 UTC
After a couple of successful OCP deployments I hit the error again with ISO 	QCI-1.1-RHEL-7-20161215.t.0. I'm able to manually clone the git repo on master without issues. I'm using the same HW setup as with the original bug.

The deployment was running over night, it's now failed at 95.0% and on port 8443 the webUI shows just some garbled characters:

"
�
"

Comment 4 Dylan Murray 2017-01-06 17:00:15 UTC
I have run three OCP deployments in development and have been unable to reproduce this. I tested one deployment with the latest compose and did not hit this issue either.

Comment 5 Antonin Pagac 2017-01-09 13:47:31 UTC
Didn't hit this with OCP and 20170106.t.0.

Comment 6 John Matthews 2017-01-11 16:30:25 UTC
Moving this to ON_QA since we haven't been able to reproduce.
Please help define reproducer steps or close if no longer applicable

Comment 7 James Olin Oden 2017-01-12 20:02:33 UTC
Testing this bug is blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1412784

Comment 8 John Matthews 2017-01-16 16:26:58 UTC
James,

Moving this to ON_QA

I am under impression that BZ 1412784 is an intermittent issue, we haven't hit it ourselves yet in testing.

Comment 10 James Olin Oden 2017-01-20 19:00:37 UTC
Compose: QCI-1.1-RHEL-7-20170118.t.1

Comment 12 errata-xmlrpc 2017-02-28 01:42:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:0335


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