Hi,
I was also encountering the same error after I installed CP4D v3.0.1 and trying to upgrade it with v3.5 on OCP cluster 4.6.6 using command line. I was using the below upgrade command.
./cpd-cli adm --repo repo-300.yaml --assembly wkc --namespace wkc --apply --accept-all-licenses
./cpd-cli upgrade -r ./repo-300.yaml -a wkc -n wkc -c portworx-shared-gp3 --transfer-image-to=$REGISTRY/wkc --target-registry-username kubeadmin --target-registry-password $(oc whoami -t) --insecure-skip-tls-verify --cluster-pull-prefix image-registry.openshift-image-registry.svc:5000/wkc --version 3.5.2
Solution: As a workaround I added to bypass this issue, I added "
--silent-install"../cpd-cli upgrade -r ./repo-300.yaml -a wkc -n wkc -c portworx-shared-gp3 --transfer-image-to=$REGISTRY/wkc --target-registry-username kubeadmin --target-registry-password $(oc whoami -t) --insecure-skip-tls-verify --cluster-pull-prefix image-registry.openshift-image-registry.svc:5000/wkc --version 3.5.2
--silent-install------------------------------
Srinivas MANGI
------------------------------
Original Message:
Sent: Tue December 15, 2020 04:51 PM
From: Jean Carlos Ribeiro Goncalves
Subject: Unable to install CP4D 3.0.1 through web client
Have you found a way to fix this problem? I was trying to install CP4D v3.0.1 and v3.5 in an OCP cluster 4.6.6 through cpd-cli and faced this same error message. The installations are working fine in OCP 4.5.x and 4.4.x, but on this OCP cluster 4.6.6 I always got this error message:
Server Version: 4.6.6
Kubernetes Version: v1.19.0+43983cd
[ERROR] [2020-12-15 13:18:11-0008] Error verifying current oauth token - Error from server (NotFound): oauthaccesstokens.oauth.openshift.io "sha256~bkFZqnWoLgfXOl0tESzKPldbDWLHO3Q_D0y6y0v03Hk" not found
[INFO] [2020-12-15 13:18:11-0010] cpd cannot verify token expiry time due to above error
------------------------------
Jean Carlos Ribeiro Goncalves
Original Message:
Sent: Tue July 07, 2020 11:02 PM
From: Shivam Solanki
Subject: Unable to install CP4D 3.0.1 through web client
When I am trying to install Cloud pak for data v3.0.1 on the Redhat OpenShift Cluster v4.3.23_1527, I am getting an authentication error. I tried installing CP4D v2.5.0 on the Redhat OpenShift Cluster v3.11.219_1554 in the same manner and it works. Has there been any change in the procedure for installing CP4D on the Redhat OpenShift Cluster using web client. I am attaching the error log below. Kindly help me out . Thanks!
2020/07/07 23:21:18 Terraform apply | null_resource.script (local-exec): [ERROR] [2020-07-07 23:21:10-0458] Error verifying current oauth token - Error from server (NotFound): oauthaccesstokens.oauth.openshift.io "eyJhbGciOiJSUzI1NiIsImtpZCI6InBLVl95TDQwa2g0TURVVjQtZWwtclQzSnFReUJMQVJTX2tQWFk2bTdXQTAifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJ3b3Jrc2hvcC1hc3NldHMiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlY3JldC5uYW1lIjoiY3BkaW5zdGFsbC10b2tlbi05d2d0bSIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJjcGRpbnN0YWxsIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQudWlkIjoiOGI2NTQwNjAtZWJjNy00MGY3LTgzMmEtNTAyYmIzOGQ3MTNmIiwic3ViIjoic3lzdGVtOnNlcnZpY2VhY2NvdW50OndvcmtzaG9wLWFzc2V0czpjcGRpbnN0YWxsIn0.bM-rC0w1tr__KzmSET7bPJcLRI6dqCxvFe2Ru7yKSw6Gv4ebwmoHUQJYwJkrfADFcbu468J4p6JA5v6laNNk5C0WmGMeRqP1m7fFZVa9TCjK_4Hr20b_hAUvMTksScUDvGqeDfOfUcUc4YYClCttGLNurjpaf-PZj0w3TO7OoLBqsquCrmzbNDyKxuhkln0nH0eMejYonRTwSrkWjEEh6S6Wm9sqAOinJUAHuFIirG7tHoYYpAiFP11cum81NVeCjuSuVVXC_X-dG-uJ6rSTT3wTUtbsqNNR4TqFc3Afut8-J6G_l3wzrqQV8NlSnGYXffj1hoXTqvzAiKbPAaykQQ" not found 2020/07/07 23:21:18 Terraform apply | 2020/07/07 23:21:18 Terraform apply | null_resource.script (local-exec): [INFO] [2020-07-07 23:21:10-0459] cpd cannot verify token expiry time due to above error.
------------------------------
Shivam Solanki
------------------------------
#CloudPakforDataGroup