Bug 1389701

Summary: Upgrade/Reinstall failed due to invalid repository/tag
Product: OpenShift Container Platform Reporter: Anping Li <anli>
Component: Cluster Version OperatorAssignee: Jason DeTiberus <jdetiber>
Status: CLOSED DUPLICATE QA Contact: Anping Li <anli>
Severity: medium Docs Contact:
Priority: high    
Version: 3.4.0CC: aos-bugs, jiajliu, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-28 14:24:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anping Li 2016-10-28 09:28:25 UTC
Description of problem:
The latest openshift3/ose:v3.4 image version is v3.4.0.16+cc70b72 which is a invalid . That made the upgrade failed.

#docker run --rm --entrypoint=openshift brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/ose:v3.4 version
openshift v3.4.0.16+cc70b72
kubernetes v1.4.0+776c994



Version-Release number of selected component (if applicable):
atomic-openshift-utils-3.4.13-1.git.0.ff1d588.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. install containerized OCP-3.3 
2. upgrade to OCP-3.4

Actual results:
TASK [Verify containers are available for upgrade] *****************************
fatal: [openshift-181.lab.eng.nay.redhat.com]: FAILED! => {
    "changed": false, 
    "cmd": [
        "docker", 
        "pull", 
        "openshift3/ose:v3.4.0.16+cc70b72"
    ], 
    "delta": "0:00:00.065530", 
    "end": "2016-10-28 04:00:17.416798", 
    "failed": true, 
    "rc": 1, 
    "start": "2016-10-28 04:00:17.351268", 
    "warnings": []
}

STDERR:

Error parsing reference: "openshift3/ose:v3.4.0.16+cc70b72" is not a valid repository/tag
fatal: [openshift-182.lab.eng.nay.redhat.com]: FAILED! => {
    "changed": false, 
    "cmd": [
        "docker", 
        "pull", 
        "openshift3/ose:v3.4.0.16+cc70b72"
    ], 
    "delta": "0:00:00.076138", 
    "end": "2016-10-28 04:00:08.837244", 
    "failed": true, 
    "rc": 1, 
    "start": "2016-10-28 04:00:08.761106", 
    "warnings": []
}

STDERR:

Error parsing reference: "openshift3/ose:v3.4.0.16+cc70b72" is not a valid repository/tag
    to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_4/upgrade.retry




Expected results:
1) correct the version in openshift3/ose:v3.4
2) openshift-ansible can abstract the correct version from 'v3.4.0.16+cc70b72'.

Additional info:

Comment 1 liujia 2016-10-28 10:08:25 UTC
Re(install) with quick install tool has the same error:
1. install a OCP
2. re-install
3. it will fail for wrong version.
Play 15/29 (Configure masters)
..............................................................................................................fatal: [openshift-116.lab.eng.nay.redhat.com]: FAILED! => {"changed": false, "failed": true, "msg": "No Package matching 'atomic-openshift-3.4.0.16+cc70b72' found available, installed or updated", "rc": 0, "results": []}

Comment 2 Scott Dodson 2016-10-28 14:24:40 UTC

*** This bug has been marked as a duplicate of bug 1389137 ***