Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-823

HTTP requests to cluster in operator tests failing

XMLWordPrintable

    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • RHDH COPE 3275

      OCM, Topology, and Kubernetes-actions tests are failing on the operator nightly tests (showcase-operator-nightly) due to problems with cluster communication. The logs show that with HTTP requests, the cluster usually returns "self-signed certificate in certificate chain".

      https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/redhat-developer_rhdh/2860/pull-ci-redhat-developer-rhdh-main-e2e-tests-operator-nightly/1930216338177921024

      {"level":"error","message":"Request failed with status 500 request to https://api.rhdh-4-17-us-east-2-l99fv.XXXXXXX.devcluster.openshift.com:6443/apis/cluster.open-cluster-management.io/v1/managedclusters failed, reason: self-signed certificate in certificate chain","name":"request to https://api.rhdh-4-17-us-east-2-l99fv.XXXXXXX.devcluster.openshift.com:6443/apis/cluster.open-cluster-management.io/v1/managedclusters failed, reason: self-signed certificate in certificate chain","plugin":"ocm","service":"backstage","span_id":"11563a0f2f1cfccb","stack":"request to https://api.rhdh-4-17-us-east-2-l99fv.XXXXXXX.devcluster.openshift.com:6443/apis/cluster.open-cluster-management.io/v1/managedclusters failed, reason: self-signed certificate in certificate chain: request to https://api.rhdh-4-17-us-east-2-l99fv.XXXXXXX.devcluster.openshift.com:6443/apis/cluster.open-cluster-management.io/v1/managedclusters failed, reason: self-signed certificate in certificate chain\n at /opt/app-root/src/dynamic-plugins-root/backstage-community-plugin-ocm-backend-dynamic-5.5.0/node_modules/@backstage-community/plugin-ocm-backend/dist/helpers/kubernetes.cjs.js:54:25\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async /opt/app-root/src/dynamic-plugins-root/backstage-community-plugin-ocm-backend-dynamic-5.5.0/node_modules/@backstage-community/plugin-ocm-backend/dist/service/router.cjs.js:83:21\n at async Promise.all (index 0)\n at async /opt/app-root/src/dynamic-plugins-root/backstage-community-plugin-ocm-backend-dynamic-5.5.0/node_modules/@backstage-community/plugin-ocm-backend/dist/service/router.cjs.js:81:25","statusCode":500,"trace_flags":"01","trace_id":"bf41eb02bf900e5f84d281087ede428b","type":"errorHandler"}

       

      {"level":"error","message":"Error while syncing cluster resources from Open Cluster Management request to https://api.rhdh-4-17-us-east-2-l99fv.XXXXXXX.devcluster.openshift.com:6443/apis/cluster.open-cluster-management.io/v1/managedclusters/local-cluster failed, reason: self-signed certificate in certificate chain","name":"request to https://api.rhdh-4-17-us-east-2-l99fv.XXXXXXX.devcluster.openshift.com:6443/apis/cluster.open-cluster-management.io/v1/managedclusters/local-cluster failed, reason: self-signed certificate in certificate chain","plugin":"catalog","service":"backstage","span_id":"e25794bf9d17dc99","stack":"request to https://api.rhdh-4-17-us-east-2-l99fv.XXXXXXX.devcluster.openshift.com:6443/apis/cluster.open-cluster-management.io/v1/managedclusters/local-cluster failed, reason: self-signed certificate in certificate chain: request to https://api.rhdh-4-17-us-east-2-l99fv.XXXXXXX.devcluster.openshift.com:6443/apis/cluster.open-cluster-management.io/v1/managedclusters/local-cluster failed, reason: self-signed certificate in certificate chain\n at /opt/app-root/src/dynamic-plugins-root/backstage-community-plugin-ocm-backend-dynamic-5.5.0/node_modules/@backstage-community/plugin-ocm-backend/dist/helpers/kubernetes.cjs.js:54:25\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async ManagedClusterProvider.run (/opt/app-root/src/dynamic-plugins-root/backstage-community-plugin-ocm-backend-dynamic-5.5.0/node_modules/@backstage-community/plugin-ocm-backend/dist/providers/ManagedClusterProvider.cjs.js:92:7)\n at async Object.fn (/opt/app-root/src/dynamic-plugins-root/backstage-community-plugin-ocm-backend-dynamic-5.5.0/node_modules/@backstage-community/plugin-ocm-backend/dist/providers/ManagedClusterProvider.cjs.js:63:13)\n at async /opt/app-root/src/node_modules/@backstage/backend-defaults/dist/entrypoints/scheduler/lib/PluginTaskSchedulerImpl.cjs.js:111:13\n at async TaskWorker.fn (/opt/app-root/src/node_modules/@backstage/backend-defaults/dist/entrypoints/scheduler/lib/PluginTaskSchedulerImpl.cjs.js:108:9)\n at async TaskWorker.runOnce (/opt/app-root/src/node_modules/@backstage/backend-defaults/dist/entrypoints/scheduler/lib/TaskWorker.cjs.js:100:7)\n at async /opt/app-root/src/node_modules/@backstage/backend-defaults/dist/entrypoints/scheduler/lib/TaskWorker.cjs.js:48:31","trace_flags":"01","trace_id":"f50e911431cfe4b3ce5f2215b3dd6298"}

              rh-ee-oaljalju Omar Al Jaljuli (Inactive)
              rh-ee-oaljalju Omar Al Jaljuli (Inactive)
              RHIDP - Cope
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: