Bug 1324729 - Import xPaas image streams failed during 3.2 installation
Summary: Import xPaas image streams failed during 3.2 installation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: Ma xiaoqiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-07 06:22 UTC by Gaoyun Pei
Modified: 2016-07-04 00:46 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-12 16:40:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1065 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise atomic-openshift-utils bug fix update 2016-05-12 20:32:56 UTC

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


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