Bug 1389701 - Upgrade/Reinstall failed due to invalid repository/tag
Summary: Upgrade/Reinstall failed due to invalid repository/tag
Keywords:
Status: CLOSED DUPLICATE of bug 1389137
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: Jason DeTiberus
QA Contact: Anping Li
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-28 09:28 UTC by Anping Li
Modified: 2016-10-28 14:24 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-28 14:24:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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