Error installing dx O2 25.1
search cancel

Error installing dx O2 25.1

book

Article ID: 418396

calendar_today

Updated On:

Products

DX Operational Intelligence

Issue/Introduction

When trying to install the DX Operational Observability version 25.1, we are facing the following error that are preventing us from continuing:

[cluster-permission] [ ERROR ] User admin/Hostname:port does not have sufficient permissions in Hostname:port cluster or has expired token.

Environment

DX O2 25.1

Resolution

If it is OpenShift, log in to the cluster with the user credentials and re-run the installer.
 
Root cause must be in cluster certificate. Please, check cluster section in kubeconfig (~/.kube/config) .
This section should have either "certificate-authority-data" with base64 encoded certificate or "insecure-skip-tls-verify: true". If you do not how to provide a correct server certificate for your environment, you can try to log in with an additional flag to disable TLS verification:
 
oc login -u <cluster_user> --insecure-skip-tls-verify=true

Then check that kubeconfig has insecure-skip-tls-verify. The clusters section should look like
clusters:
- cluster:
    insecure-skip-tls-verify: true
    server: https://<cluster_api_url>:6443
  name: <cluster_name>