Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1500931 - Image streams may fail to import during an upgrade blocking the install
Image streams may fail to import during an upgrade blocking the install
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Upgrade (Show other bugs)
3.7.0
Unspecified Unspecified
low Severity medium
: ---
: 3.7.z
Assigned To: Scott Dodson
liujia
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-11 14:58 EDT by Scott Dodson
Modified: 2018-04-04 16:00 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-03 13:34:17 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0636 normal SHIPPED_LIVE OpenShift Container Platform 3.7 bug fix and enhancement update 2018-04-05 10:00:42 EDT

  None (edit)
Description Scott Dodson 2017-10-11 14:58:19 EDT
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 10:47:09 EST
https://github.com/openshift/openshift-ansible/pull/6194 fixed this on release-3.7
Comment 3 liujia 2018-01-24 21:13:34 EST
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.