Upgrade fails in ansible task "Import xPaas image streams" for OCP 3
Issue
When performing the upgrade from OCP 3.7 to 3.9 it fails in the following task.
TASK [openshift_examples : Import xPaas image streams] *************************
fatal: [master1.example.com]: FAILED! => {"changed": false, "cmd": ["oc", "replace", "--config=/etc/origin/master/admin.kubeconfig", "-n", "openshift", "-f", "/usr/share/openshift/examples/xpaas-streams/"], "delta": "0:00:55.346548", "end": "2018-11-08 12:45:11.593770", "failed": true, "failed_when_result": true, "msg": "non-zero return code", "rc": 1, "start": "2018-11-08 12:44:16.247222", "stderr": "Error from server (Conflict): Operation cannot be fulfilled on imagestreams \"jboss-amq-63\": the object has been modified; please apply your changes to the latest version and try again\nError from server: etcdserver: request timed out", "stderr_lines": ["Error from server (Conflict): Operation cannot be fulfilled on imagestreams \"jboss-amq-63\": the object has been modified; please apply your changes to the latest version and try again", "Error from server: etcdserver: request timed out"], "stdout": "imagestream \"jboss-amq-62\" replaced\nimagestream \"jboss-amq-63\" replaced\nimagestream \"jboss-datagrid65-openshift\" replaced\nimagestream \"jboss-datagrid65-client-openshift\" replaced\nimagestream \"jboss-datagrid71-openshift\" replaced
...
PLAY RECAP *********************************************************************
localhost : ok=26 changed=0 unreachable=0 failed=0
node.example.com : ok=37 changed=2 unreachable=0 failed=0
master1.example.com : ok=378 changed=74 unreachable=0 failed=1
master2.example.com : ok=281 changed=47 unreachable=0 failed=0
master3.example.com : ok=281 changed=47 unreachable=0 failed=0
Failure summary:
1. Hosts: master1.example.com
Play: Upgrade default router and default registry
Task: Import xPaas image streams
Message: non-zero return code
Environment
Red Hat Openshift Container Platform 3.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.