Bug 1470339 - [3.4] Error upgrading control_plane
Summary: [3.4] Error upgrading control_plane
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.4.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.4.z
Assignee: Scott Dodson
QA Contact: Anping Li
URL:
Whiteboard:
Depends On: 1468572
Blocks: 1470338
TreeView+ depends on / blocked
 
Reported: 2017-07-12 18:40 UTC by Scott Dodson
Modified: 2020-12-14 09:06 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1468572
Environment:
Last Closed: 2018-08-08 16:39:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
The upgrade logs (11.88 KB, application/x-gzip)
2017-07-18 01:55 UTC, Anping Li
no flags Details

Comment 2 liujia 2017-07-13 07:33:46 UTC
Version:
atomic-openshift-utils-3.4.116-1.git.0.5d0e9b6.el7.noarch

Steps:
1. install ocp3.3
2. oc login with non system:admin user on master host
...
current-context: /x.x.x.x:8443/test
...
3. upgrade 3.3 to 3.4

Result:
Upgrade control_plane still failed due to another similar issue.

failed: [openshift-x.x.x.x] (item=/usr/share/openshift/examples/image-streams/dotnet_imagestreams.json) => {
    "changed": false,
    "cmd": [
        "oc",
        "create",
        "-n",
        "openshift",
        "-f",
        "/usr/share/openshift/examples/image-streams/dotnet_imagestreams.json"
    ],
    "delta": "0:00:00.405391",
    "end": "2017-07-13 03:18:41.410389",
    "failed": true,
    "failed_when_result": true,
    "invocation": {
        "module_args": {
            "_raw_params": "oc create -n openshift -f /usr/share/openshift/examples/image-streams/dotnet_imagestreams.json",
            "_uses_shell": false,
            "chdir": null,
            "creates": null,
            "executable": null,
            "removes": null,
            "warn": true
        },
        "module_name": "command"
    },
    "item": "/usr/share/openshift/examples/image-streams/dotnet_imagestreams.json",
    "rc": 1,
    "start": "2017-07-13 03:18:41.004998",
    "warnings": []
}

STDERR:

Error from server: User "test" cannot create imagestreams in project "openshift"
        to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_4/upgrade_control_plane.retry

PLAY RECAP *********************************************************************
localhost                  : ok=34   changed=2    unreachable=0    failed=0
openshift-x.x.x.x : ok=309  changed=36   unreachable=0    failed=1

Comment 4 Anping Li 2017-07-17 05:42:06 UTC
Failed with atomic-openshift-utils-3.4.118-1.git.0.c57cb80.el7.noarch

TASK [setup] *******************************************************************
ok: [host-8-175-178.host.centralci.eng.rdu2.redhat.com]

TASK [Determine if node is currently scheduleable] *****************************
fatal: [host-8-175-178.host.centralci.eng.rdu2.redhat.com -> host-8-175-178.host.centralci.eng.rdu2.redhat.com]: FAILED! => {
    "changed": false, 
    "cmd": [
        "/usr/local/bin/oc", 
        "get", 
        "node", 
        "host-8-175-178.host.centralci.eng.rdu2.redhat.com", 
        "-o", 
        "json"
    ], 
    "delta": "0:00:01.034996", 
    "end": "2017-07-17 05:34:27.392526", 
    "failed": true, 
    "rc": 1, 
    "start": "2017-07-17 05:34:26.357530", 
    "warnings": []
}

STDERR:

Error from server: User "anli" cannot get nodes at the cluster scope

NO MORE HOSTS LEFT *************************************************************
	to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_4/upgrade.retry

Comment 6 Anping Li 2017-07-18 01:55:14 UTC
Created attachment 1300195 [details]
The upgrade logs

Comment 7 Stephen Cuppett 2018-08-08 16:39:56 UTC
Will not address for 3.4. Addressed in 3.5+.


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