Bug 1324729

Summary: Import xPaas image streams failed during 3.2 installation
Product: OpenShift Container Platform Reporter: Gaoyun Pei <gpei>
Component: InstallerAssignee: Brenton Leanhardt <bleanhar>
Status: CLOSED ERRATA QA Contact: Ma xiaoqiang <xiama>
Severity: high Docs Contact:
Priority: high    
Version: 3.2.0CC: aos-bugs, bleanhar, jokerman, mmccomas, tdawson, xtian
Target Milestone: ---Keywords: TestBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-12 16:40:21 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:

Description Gaoyun Pei 2016-04-07 06:22:49 UTC
Description of problem:
During ose-3.2 installation, ansible aborted when doing 
TASK: [openshift_examples | Import xPaas image streams] ***********************  
TASK: [openshift_examples | Import xPaas image streams] *********************** 
failed: [openshift-x.com] => {"changed": false, "cmd": ["oc", "create", "-n", "openshift", "-f", "/usr/share/openshift/examples/xpaas-streams/"], "delta": "0:00:00.699265", "end": "2016-04-06 23:23:45.209757", "failed": true, "failed_when_result": true, "rc": 1, "start": "2016-04-06 23:23:44.510492", "stdout_lines": ["imagestream \"fis-java-openshift\" created", "imagestream \"fis-karaf-openshift\" created", "imagestream \"jboss-webserver30-tomcat7-openshift\" created", "imagestream \"jboss-webserver30-tomcat8-openshift\" created", "imagestream \"jboss-eap64-openshift\" created", "imagestream \"jboss-decisionserver62-openshift\" created", "imagestream \"jboss-datagrid65-openshift\" created", "imagestream \"jboss-amq-62\" created"], "warnings": []}
stderr: Error from server: ImageStream "jboss-eap70-openshift" is invalid: [spec.tags[1.3-Beta].from.name: Invalid value: "": must be of the form <tag>, <repo>:<tag>, <id>, or <repo>@<id>, spec.tags[1.3-Beta].from.name: Required value: name is required, spec.tags[1.3-Beta].from.kind: Required value: valid values are 'DockerImage', 'ImageStreamImage', 'ImageStreamTag']
Error from server: ImageStream "redhat-sso70-openshift" is invalid: [spec.tags[1.3-TP].from.name: Invalid value: "": must be of the form <tag>, <repo>:<tag>, <id>, or <repo>@<id>, spec.tags[1.3-TP].from.name: Required value: name is required, spec.tags[1.3-TP].from.kind: Required value: valid values are 'DockerImage', 'ImageStreamImage', 'ImageStreamTag']
stdout: imagestream "fis-java-openshift" created
imagestream "fis-karaf-openshift" created
imagestream "jboss-webserver30-tomcat7-openshift" created
imagestream "jboss-webserver30-tomcat8-openshift" created
imagestream "jboss-eap64-openshift" created
imagestream "jboss-decisionserver62-openshift" created
imagestream "jboss-datagrid65-openshift" created
imagestream "jboss-amq-62" created


Version-Release number of selected component (if applicable):
openshift-ansible-3.0.74-1.git.0.29a226f.el7.noarch


How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Brenton Leanhardt 2016-04-07 13:08:44 UTC
The fix for this is wrapped up in https://github.com/openshift/openshift-ansible/pull/1718

If I can get that ON_QA today I'll pull it out into it's on PR.

Comment 2 Brenton Leanhardt 2016-04-08 11:46:21 UTC
https://github.com/openshift/openshift-ansible/pull/1728

Comment 3 Gaoyun Pei 2016-04-12 03:18:23 UTC
Verify this bug with openshift-ansible-3.0.76-1.git.0.d6d9cba.el7.noarch

Import xPaas image streams could be done and the installation is finished.

Comment 5 errata-xmlrpc 2016-05-12 16:40:21 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/RHBA-2016:1065