Uploaded image for project: 'Migration Toolkit for Red Hat Openshift Project Lead'
  1. Migration Toolkit for Red Hat Openshift Project Lead
  2. MTRHO-131

[MTRHO] UI is unable to connect to the source cluster for validation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Yes
    • Proposed

      Description: While providing the source cluster details and the project to be migrated on the first page of the mtrho UI, it is unable to connect to the source cluster with the provided API URL and the OAuth token and hence unable to validate the project name.

      Version-Release number of selected component (if applicable):
      Source GCP 4.6

      Target GCP 4.11

      Steps to Reproduce:

      1. Navigate to the Application Imports page
      2. Click on “Start a new import” button.
      3. Provide the source cluster details on the “Source cluster and project” page

       

      Actual Result: UI unable to connect to the source cluster saying “Cannot connect using those credentials”

      Hence, Project name is not validated and Next option is not enabled.

      Expected Result: The UI should be able to connect to the source cluster for project validation and UI should not be blocked.

      Additional Info:

      All pods are healthy
      $ oc get all -n openshift-migration-toolkit

      NAME                                                     READY   STATUS    RESTARTS   AGE

      pod/crane-operator-controller-manager-666554479f-8pvpt   2/2     Running   0          124m

      pod/crane-ui-plugin-657c4b7dd4-sb94t                     1/1     Running   0          123m

      pod/openshift-pipelines-operator-6ffb49b89f-rmv5b        1/1     Running   0          124m

      pod/secret-service-7fcd4c5d66-nrcw6                      1/1     Running   0          123m

      pod/tekton-operator-webhook-7689bffbf7-2ct6w             1/1     Running   0          124m

       

      NAME                              TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)    AGE

      service/crane-ui-plugin           ClusterIP   172.30.107.18    <none>        9443/TCP   123m

      service/proxy                     ClusterIP   172.30.148.254   <none>        8443/TCP   123m

      service/secret-service            ClusterIP   172.30.154.244   <none>        8443/TCP   123m

      service/tekton-operator           ClusterIP   172.30.211.141   <none>        9090/TCP   124m

      service/tekton-operator-webhook   ClusterIP   172.30.212.152   <none>        443/TCP    124m

       

      NAME                                                READY   UP-TO-DATE   AVAILABLE   AGE

      deployment.apps/crane-operator-controller-manager   1/1     1            1           124m

      deployment.apps/crane-ui-plugin                     1/1     1            1           123m

      deployment.apps/openshift-pipelines-operator        1/1     1            1           124m

      deployment.apps/secret-service                      1/1     1            1           123m

      deployment.apps/tekton-operator-webhook             1/1     1            1           124m

       

      NAME                                                           DESIRED   CURRENT   READY   AGE

      replicaset.apps/crane-operator-controller-manager-666554479f   1         1         1       124m

      replicaset.apps/crane-ui-plugin-657c4b7dd4                     1         1         1       123m

      replicaset.apps/openshift-pipelines-operator-6ffb49b89f        1         1         1       124m

      replicaset.apps/secret-service-7fcd4c5d66                      1         1         1       123m

      replicaset.apps/tekton-operator-webhook-7689bffbf7             1         1         1       124m

       

      Console Errors
      Failed to load resource: the server responded with a status of 504 (Gateway Time-out)

      main-chunk-2367222d63b1979c8594.min.js:1 consoleFetch failed for url /api/accounts_mgmt/v1/subscriptions?page=1&search=external_cluster_id%3D%2720180eb6-68e5-4957-917c-9bd2f25b0224%27 a: Access denied due to cluster policy.

          at [*https://console-openshift-console.apps.cam-tgt-44370.qe.gcp.devcluster.openshift.com/static/main-chunk-2367222d63b1979c8594.min.js:1:163568*] ** 

      Screenshot attached.

            Unassigned Unassigned
            rhn-support-ssingla Sachin Singla
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: