Upgrade for minor 3.11 fails with wait for /apis/metrics.k8s.io/v1beta1 when registered
Issue
- We attempted to upgrade one of our cluster but it fails on the below
fatal: [master0005.example.com]: FAILED! => {"attempts": 30, "changed": true, "cmd": ["oc", "--config=/etc/origin/master/admin.kubeconfig", "get", "--raw", "/apis/metrics.k8s.io/v1beta1"], "delta": "0:00:00.231558", "end": "2019-09-30 15:00:49.390257", "msg": "non-zero return code", "rc": 1, "start": "2019-09-30 15:00:49.158699", "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": []}
[WARNING]: Could not create retry file '/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-
cluster/upgrades/v3_11/upgrade.retry'. [Errno 13] Permission denied: u'/usr/share/ansible/openshift-ansible/playbooks/byo
/openshift-cluster/upgrades/v3_11/upgrade.retry'
PLAY RECAP ***************************************************************************************************************************
localhost : ok=30 changed=0 unreachable=0 failed=0
app0007.example.com : ok=24 changed=1 unreachable=0 failed=0
app0008.example.com : ok=25 changed=1 unreachable=0 failed=0
infra0009.example.com : ok=24 changed=1 unreachable=0 failed=0
infra0010.example.com : ok=24 changed=1 unreachable=0 failed=0
infra0011.example.com : ok=24 changed=1 unreachable=0 failed=0
master0005.example.com : ok=309 changed=48 unreachable=0 failed=1
master0006.example.com : ok=191 changed=37 unreachable=0 failed=0
master0007.example.com : ok=191 changed=37 unreachable=0 failed=0
INSTALLER STATUS *********************************************************************************************************************
Initialization : Complete (0:17:45)
Failure summary:
1. Hosts: master0005.example.com
Play: Pre master upgrade - Upgrade all storage
Task: Wait for /apis/metrics.k8s.io/v1beta1 when registered
Message: non-zero return code
Environment
- Red Hat OpenShift Container Platform
- 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.