Closed eliu closed 4 years ago
some solution?
Having this problem also.
I am having the exact problem upgrading from 3.9 to 3.10:
TASK [Upgrade all storage] *********************************************************************************************************************************************************************
Tuesday 11 September 2018 16:32:57 +0300 (0:00:00.182) 0:04:05.415 *****
fatal: [zift.ozguryazilim.com.tr]: FAILED! => {"changed": true, "cmd": ["oc", "adm", "--config=/etc/origin/master/admin.kubeconfig", "migrate", "storage", "--include=*", "--confirm"], "delta": "0:00:00.148438", "end": "2018-09-11 16:32:57.823826", "failed_when_result": true, "msg": "non-zero return code", "rc": 1, "start": "2018-09-11 16:32:57.675388", "stderr": "error: could not calculate the list of available resources: an error on the server (\"Error: 'x509: certificate signed by unknown authority (possibly because of \\\"crypto/rsa: verification error\\\" while trying to verify candidate authority certificate \\\"service-catalog-signer\\\")'\\nTrying to reach: 'https://172.30.136.60:443/apis/servicecatalog.k8s.io/v1beta1'\") has prevented the request from succeeding", "stderr_lines": ["error: could not calculate the list of available resources: an error on the server (\"Error: 'x509: certificate signed by unknown authority (possibly because of \\\"crypto/rsa: verification error\\\" while trying to verify candidate authority certificate \\\"service-catalog-signer\\\")'\\nTrying to reach: 'https://172.30.136.60:443/apis/servicecatalog.k8s.io/v1beta1'\") has prevented the request from succeeding"], "stdout": "", "stdout_lines": []}
PLAY RECAP *************************************************************************************************************************************************************************************
localhost : ok=18 changed=0 unreachable=0 failed=0
zift.ozguryazilim.com.tr : ok=150 changed=16 unreachable=0 failed=1
Tuesday 11 September 2018 16:32:57 +0300 (0:00:00.320) 0:04:05.736 *****
===============================================================================
openshift_excluder : Install docker excluder - yum ------------------------------------------------------------------------------------------------------------------------------------- 64.86s
openshift_excluder : Get available excluder version ------------------------------------------------------------------------------------------------------------------------------------ 63.10s
Run health checks (upgrade) ------------------------------------------------------------------------------------------------------------------------------------------------------------ 15.40s
openshift_excluder : Get available excluder version ------------------------------------------------------------------------------------------------------------------------------------- 8.79s
Check latest available OpenShift RPM version -------------------------------------------------------------------------------------------------------------------------------------------- 2.86s
openshift_excluder : Install openshift excluder - yum ----------------------------------------------------------------------------------------------------------------------------------- 2.41s
openshift_version : Get available RPM version ------------------------------------------------------------------------------------------------------------------------------------------- 2.20s
Ensure openshift-ansible installer package deps are installed --------------------------------------------------------------------------------------------------------------------------- 1.83s
Gathering Facts ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.78s
Gather Cluster facts -------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.39s
openshift_facts ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.07s
Initialize openshift.node.sdn_mtu ------------------------------------------------------------------------------------------------------------------------------------------------------- 1.07s
openshift_facts ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 1.02s
Gathering Facts ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 0.88s
openshift_manage_node : Label nodes ----------------------------------------------------------------------------------------------------------------------------------------------------- 0.82s
etcd : Record RPM based etcd version ---------------------------------------------------------------------------------------------------------------------------------------------------- 0.81s
openshift_manage_node : Set node schedulability ----------------------------------------------------------------------------------------------------------------------------------------- 0.76s
openshift_repos : Configure correct origin release repository --------------------------------------------------------------------------------------------------------------------------- 0.61s
openshift_etcd_facts : Check for CA indicator files ------------------------------------------------------------------------------------------------------------------------------------- 0.57s
openshift_repos : refresh cache --------------------------------------------------------------------------------------------------------------------------------------------------------- 0.55s
Failure summary:
1. Hosts: zift.ozguryazilim.com.tr
Play: Pre master upgrade - Upgrade all storage
Task: Upgrade all storage
Message: non-zero return code
When I run the migrate command manually, I also get certificate error:
sudo oc adm migrate storage --include=* --loglevel=2 --confirm --config /etc/origin/master/admin.kubeconfig
F0911 16:36:10.584760 13923 helpers.go:119] error: could not calculate the list of available resources: an error on the server ("Error: 'x509: certificate signed by unknown authority (possibly because of \"crypto/rsa: verification error\" while trying to verify candidate authority certificate \"service-catalog-signer\")'\nTrying to reach: 'https://172.30.136.60:443/apis/servicecatalog.k8s.io/v1beta1'") has prevented the request from succeeding
@eliu did you find a solution to this? How did you manage to upgrade?
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle rotten /remove-lifecycle stale
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting /reopen
.
Mark the issue as fresh by commenting /remove-lifecycle rotten
.
Exclude this issue from closing again by commenting /lifecycle frozen
.
/close
@openshift-bot: Closing this issue.
Description
Trying to upgrade my existing openshift origin cluster (3 nodes) to
v3.7.0
using openshift-ansible'srelease-3.7
branch and get the following error:Version
Please put the following version information in the code block indicated below.
ansible --version
If you're operating from a git clone:
git describe
If you're running from playbooks installed via RPM or
atomic-openshift-utils
rpm -q atomic-openshift-utils openshift-ansible
Place the output between the code block below:
Steps To Reproduce
ansible-playbook /path/to/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_7/upgrade.yml
Expected Results
Successfully done with upgrade process without errors.
Observed Results
See descriptions above please.
Additional Information
Host environments are built with Vagrant and VirtualBox.