Bug 1500931 - Image streams may fail to import during an upgrade blocking the install
Summary: Image streams may fail to import during an upgrade blocking the install
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: 3.7.z
Assignee: Scott Dodson
QA Contact: liujia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-11 18:58 UTC by Scott Dodson
Modified: 2018-04-04 20:00 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-03 17:34:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0636 0 normal SHIPPED_LIVE OpenShift Container Platform 3.7 bug fix and enhancement update 2018-04-05 14:00:42 UTC

Description Scott Dodson 2017-10-11 18:58:19 UTC
TASK [openshift_examples : Import xPaas image streams] *************************
Wednesday 11 October 2017  18:51:52 +0000 (0:00:00.438)       0:18:18.379 ***** 
fatal: [free-int-master-3c664]: FAILED! => {"changed": false, "cmd": ["oc", "replace", "--config=/etc/origin/master/admin.kubeconfig", "-n", "openshift", "-f", "/usr/share/openshift/examples/xpaas-streams/"], "delta": "0:00:00.549085", "end": "2017-10-11 18:51:53.014016", "failed": true, "failed_when_result": true, "rc": 1, "start": "2017-10-11 18:51:52.464931", "stderr": "Error from server (Conflict): Operation cannot be fulfilled on imagestreams \"jboss-datagrid65-openshift\": the object has been modified; please apply your changes to the latest version and try again", "stderr_lines": ["Error from server (Conflict): Operation cannot be fulfilled on imagestreams \"jboss-datagrid65-openshift\": the object has been modified; please apply your changes to the latest version and try again"], "stdout": "imagestream \"fis-java-openshift\" replaced\nimagestream \"fis-karaf-openshift\" replaced\nimagestream \"jboss-webserver30-tomcat7-openshift\" replaced\nimagestream \"jboss-webserver30-tomcat8-openshift\" replaced\nimagestream \"jboss-webserver31-tomcat7-openshift\" replaced\nimagestream \"jboss-webserver31-tomcat8-openshift\" replaced\nimagestream \"jboss-eap64-openshift\" replaced\nimagestream \"jboss-eap70-openshift\" replaced\nimagestream \"jboss-decisionserver62-openshift\" replaced\nimagestream \"jboss-decisionserver63-openshift\" replaced\nimagestream \"jboss-decisionserver64-openshift\" replaced\nimagestream \"jboss-processserver63-openshift\" replaced\nimagestream \"jboss-processserver64-openshift\" replaced\nimagestream \"jboss-datagrid65-client-openshift\" replaced\nimagestream \"jboss-datavirt63-openshift\" replaced\nimagestream \"jboss-datavirt63-driver-openshift\" replaced\nimagestream \"jboss-amq-62\" replaced\nimagestream \"jboss-amq-63\" replaced\nimagestream \"redhat-sso70-openshift\" replaced\nimagestream \"redhat-sso71-openshift\" replaced\nimagestream \"redhat-openjdk18-openshift\" replaced", "stdout_lines": ["imagestream \"fis-java-openshift\" replaced", "imagestream \"fis-karaf-openshift\" replaced", "imagestream \"jboss-webserver30-tomcat7-openshift\" replaced", "imagestream \"jboss-webserver30-tomcat8-openshift\" replaced", "imagestream \"jboss-webserver31-tomcat7-openshift\" replaced", "imagestream \"jboss-webserver31-tomcat8-openshift\" replaced", "imagestream \"jboss-eap64-openshift\" replaced", "imagestream \"jboss-eap70-openshift\" replaced", "imagestream \"jboss-decisionserver62-openshift\" replaced", "imagestream \"jboss-decisionserver63-openshift\" replaced", "imagestream \"jboss-decisionserver64-openshift\" replaced", "imagestream \"jboss-processserver63-openshift\" replaced", "imagestream \"jboss-processserver64-openshift\" replaced", "imagestream \"jboss-datagrid65-client-openshift\" replaced", "imagestream \"jboss-datavirt63-openshift\" replaced", "imagestream \"jboss-datavirt63-driver-openshift\" replaced", "imagestream \"jboss-amq-62\" replaced", "imagestream \"jboss-amq-63\" replaced", "imagestream \"redhat-sso70-openshift\" replaced", "imagestream \"redhat-sso71-openshift\" replaced", "imagestream \"redhat-openjdk18-openshift\" replaced"]}

We should retry these commands

Description of problem:

Version-Release number of the following components:
rpm -q openshift-ansible
rpm -q ansible
ansible --version

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:
Please include the entire output from the last TASK line through the end of output if an error is generated

Expected results:

Additional info:
Please attach logs from ansible-playbook with the -vvv flag

Comment 2 Scott Dodson 2018-01-24 15:47:09 UTC
https://github.com/openshift/openshift-ansible/pull/6194 fixed this on release-3.7

Comment 3 liujia 2018-01-25 02:13:34 UTC
Version:
ansible-2.3.2.0-2.el7.noarch
openshift-ansible-3.7.26-1.git.0.f87f1af.el7.noarch

Import image steams succeed during upgrade from v3.6 to v3.7


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