Bug 1720982 - [3.11] upgrade failed at task "Wait for /apis/metrics.k8s.io/v1beta1 when registered"
Summary: [3.11] upgrade failed at task "Wait for /apis/metrics.k8s.io/v1beta1 when reg...
Status: CLOSED DUPLICATE of bug 1719362
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 3.11.z
Assignee: Joseph Callen
QA Contact: liujia
Depends On:
TreeView+ depends on / blocked
Reported: 2019-06-17 04:29 UTC by Weihua Meng
Modified: 2019-06-17 22:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-06-17 22:16:38 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Weihua Meng 2019-06-17 04:29:56 UTC
Description of problem:
upgrade failed at task "Wait for /apis/metrics.k8s.io/v1beta1 when registered"

Version-Release number of the following components:

How reproducible:
1 out of 1

Steps to Reproduce:
1. upgrade OCP v3.10.149 to V3.11

Actual results:
Upgrade failed.
Failure summary:

  1. Hosts:    wmengahha310149-master-etcd-zone1-1.0614-ewv.qe.rhcloud.com
     Play:     Pre master upgrade - Upgrade all storage
     Task:     Wait for /apis/metrics.k8s.io/v1beta1 when registered
     Message:  non-zero return code

fatal: [wmengahha310149-master-etcd-zone1-1.0614-ewv.qe.rhcloud.com]: FAILED! => {
    "attempts": 30, 
    "changed": true, 
    "cmd": [
    "delta": "0:00:00.194761", 
    "end": "2019-06-14 11:06:16.282878", 
    "invocation": {
        "module_args": {
            "_raw_params": "/usr/local/bin/oc --config=/etc/origin/master/admin.kubeconfig get --raw /apis/metrics.k8s.io/v1beta1", 
            "_uses_shell": false, 
            "argv": null, 
            "chdir": null, 
            "creates": null, 
            "executable": null, 
            "removes": null, 
            "stdin": null, 
            "warn": true
    "msg": "non-zero return code", 
    "rc": 1, 
    "start": "2019-06-14 11:06:16.088117", 
    "stderr": "Error from server (ServiceUnavailable): the server is currently unable to handle the request", 
    "stderr_lines": [
        "Error from server (ServiceUnavailable): the server is currently unable to handle the request"
    "stdout": "", 
    "stdout_lines": []

[root@wmengahha310149-master-etcd-zone1-1 ~]# oc get --raw /apis/metrics.k8s.io/v1beta1
Error from server (ServiceUnavailable): the server is currently unable to handle the request

[root@wmengahha310149-master-etcd-zone1-1 ~]# oc get apiservices
NAME                                   AGE
v1.                                    23h
v1.apps                                23h
v1.apps.openshift.io                   23h
v1.authentication.k8s.io               23h
v1.authorization.k8s.io                23h
v1.authorization.openshift.io          23h
v1.autoscaling                         23h
v1.batch                               23h
v1.build.openshift.io                  23h
v1.image.openshift.io                  23h
v1.network.openshift.io                23h
v1.networking.k8s.io                   23h
v1.oauth.openshift.io                  23h
v1.project.openshift.io                23h
v1.quota.openshift.io                  23h
v1.rbac.authorization.k8s.io           23h
v1.route.openshift.io                  23h
v1.security.openshift.io               23h
v1.storage.k8s.io                      23h
v1.template.openshift.io               23h
v1.user.openshift.io                   23h
v1alpha1.automationbroker.io           23h
v1beta1.admissionregistration.k8s.io   23h
v1beta1.apiextensions.k8s.io           23h
v1beta1.apps                           23h
v1beta1.authentication.k8s.io          23h
v1beta1.authorization.k8s.io           23h
v1beta1.batch                          23h
v1beta1.certificates.k8s.io            23h
v1beta1.events.k8s.io                  23h
v1beta1.extensions                     23h
v1beta1.metrics.k8s.io                 15h
v1beta1.policy                         23h
v1beta1.rbac.authorization.k8s.io      23h
v1beta1.servicecatalog.k8s.io          23h
v1beta1.storage.k8s.io                 23h
v1beta2.apps                           23h
v2beta1.autoscaling                    23h

Expected results:
Upgrade succeed.

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