Description of problem: If you disable OSE 3.1 repo. atomic-openshift&atomic-openshift-client wountn't be installed by ansible (openshift-ansible-3.0.47-1). Same as installation, we don't specify the OSE3.2 repo, upgrade failed due to "no Package matching 'atomic-openshift' found available" to containerized ose 3.1 on RHEL Hosts. After add ose3.2 repo, upgrade pass. atomic-openshift and atomic-openshift-client were installed, however oc and oadm commands are still link to docker command. It seems these packages are useless for containerized OSE3.2 on RHEL. Version-Release number of selected component (if applicable): atomic-openshift-utils-3.0.69-1 How reproducible: always Steps to Reproduce: 1. Don't enable ose3.1 repo, and then setup containerized ose3.1 on RHEL Host 2. Don't enable ose3.2 repo, upgrade to ose3.2 Actual results: 1. OSE can be installed without ose3.1 repo. the atomic-openshift and atomic-openshift-client weren't installed. 2. upgrade failed due to "no Package matching 'atomic-openshift' found available" failed: [ha2-node1.example.com] => {"changed": false, "failed": true, "rc": 0, "results": []} msg: No Package matching 'atomic-openshift' found available, installed or updated <ha2-master3.example.com> ESTABLISH CONNECTION FOR USER: root <ha2-master3.example.com> REMOTE_MODULE yum name=atomic-openshift state=present <ha2-master3.example.com> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 ha2-master3.example.com /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1459504995.66-96594069083802 && echo $HOME/.ansible/tmp/ansible-tmp-1459504995.66-96594069083802' <ha2-master3.example.com> PUT /tmp/tmpR6RRa0 TO /root/.ansible/tmp/ansible-tmp-1459504995.66-96594069083802/yum <ha2-master3.example.com> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 ha2-master3.example.com /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python -tt /root/.ansible/tmp/ansible-tmp-1459504995.66-96594069083802/yum; rm -rf /root/.ansible/tmp/ansible-tmp-1459504995.66-96594069083802/ >/dev/null 2>&1' failed: [ha2-master3.example.com] => {"changed": false, "failed": true, "rc": 0, "results": []} msg: No Package matching 'atomic-openshift' found available, installed or updated <ha2-master2.example.com> ESTABLISH CONNECTION FOR USER: root <ha2-master2.example.com> REMOTE_MODULE yum name=atomic-openshift state=present <ha2-master2.example.com> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 ha2-master2.example.com /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1459504995.66-241776725470531 && echo $HOME/.ansible/tmp/ansible-tmp-1459504995.66-241776725470531' <ha2-master2.example.com> PUcontainerized OSE T /tmp/tmpgr8jWI TO /root/.ansible/tmp/ansible-tmp-1459504995.66-241776725470531/yum <ha2-master2.example.com> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 ha2-master2.example.com /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python -tt /root/.ansible/tmp/ansible-tmp-1459504995.66-241776725470531/yum; rm -rf /root/.ansible/tmp/ansible-tmp-1459504995.66-241776725470531/ >/dev/null 2>&1' failed: [ha2-master2.example.com] => {"changed": false, "failed": true, "rc": 0, "results": []} msg: No Package matching 'atomic-openshift' found available, installed or updated <ha2-master1.example.com> ESTABLISH CONNECTION FOR USER: root <ha2-master1.example.com> REMOTE_MODULE yum name=atomic-openshift state=present <ha2-master1.example.com> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 ha2-master1.example.com /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1459504995.65-213152210284728 && echo $HOME/.ansible/tmp/ansible-tmp-1459504995.65-213152210284728' <ha2-master1.example.com> PUT /tmp/tmpZxfE32 TO /root/.ansible/tmp/ansible-tmp-1459504995.65-213152210284728/yum <ha2-master1.example.com> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 ha2-master1.example.com /bin/sh -c 'LANG=C LC_CTYPE=C /usr/bin/python -tt /root/.ansible/tmp/ansible-tmp-1459504995.65-213152210284728/yum; rm -rf /root/.ansible/tmp/ansible-tmp-1459504995.65-213152210284728/ >/dev/null 2>&1' failed: [ha2-master1.example.com] => {"changed": false, "failed": true, "rc": 0, "results": []} msg: No Package matching 'atomic-openshift' found available, installed or updated FATAL: all hosts have already failed -- aborting Expected Result: Containerized OSE upgrade don't rely on atomic-openshift or atomic-openshift-client on RHEL Additional info: Expected results: Additional info:
https://github.com/openshift/openshift-ansible/pull/1695
The upgrade needn't OSE 3.2 repo now.
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/RHSA-2016:1064