Bug 1323123 - upgrade failed to containerized OSE on RHEL Host without ose3.2 repo
Summary: upgrade failed to containerized OSE on RHEL Host without ose3.2 repo
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: Anping Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-01 10:32 UTC by Anping Li
Modified: 2016-05-12 16:35 UTC (History)
5 users (show)

Fixed In Version: openshift-ansible-3.0.74-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-12 16:35:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1064 0 normal SHIPPED_LIVE Important: Red Hat OpenShift Enterprise 3.2 security, bug fix, and enhancement update 2016-05-12 20:19:17 UTC

Description Anping Li 2016-04-01 10:32:16 UTC
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:

Comment 1 Brenton Leanhardt 2016-04-06 13:54:55 UTC
https://github.com/openshift/openshift-ansible/pull/1695

Comment 3 Anping Li 2016-04-07 05:07:46 UTC
The upgrade needn't OSE 3.2 repo now.

Comment 5 errata-xmlrpc 2016-05-12 16:35:26 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/RHSA-2016:1064


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