Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-34503

VM list page is crashed when visit project "openshift-virtualization-os-images" for regular user

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • CNV v4.14.0
    • CNV v4.14.0
    • CNV User Interface
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ---
    • ---
    • Critical
    • No

      This is a clone of issue CNV-34341. The following is the description of the original issue:

      Description of problem:

      Regular user cannot load VM list page, the error in the devtool is:
      
      main-chunk-0d4fa32c0730b7096f9a.min.js:1 WebSocket connection to 'wss://console-openshift-console.apps.uit-414-1024.rhos-psi.cnv-qe.rhood.us/api/kubernetes/api/v1/namespaces/default/configmaps?watch=true&fieldSelector=metadata.name%3Dkubevirt-user-settings&cluster=local-cluster' failed: 
      
             GET https://console-openshift-console.apps.uit-414-1024.rhos-psi.cnv-qe.rhood.us/api/kubernetes/api/v1/namespaces/default/configmaps/kubevirt-ui-features 403 (Forbidden)
      
             GET https://console-openshift-console.apps.uit-414-1024.rhos-psi.cnv-qe.rhood.us/api/kubernetes/api/v1/namespaces/default/configmaps/kubevirt-user-settings 403 (Forbidden)
      
             GET https://console-openshift-console.apps.uit-414-1024.rhos-psi.cnv-qe.rhood.us/api/kubernetes/apis/config.openshift.io/v1/infrastructures 403 (Forbidden)
      

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

      
      

      How reproducible:

      
      

      Steps to Reproduce:

      1. Create regular user via https://github.com/openshift/console/blob/master/test-prow-e2e.sh#L26
      2. Login with the regular user
      3. Navigate to VM list page, the page is stucking in loading
      4. Assign a view role to the user 'oc adm policy remove-role-from-user view -n default test'
      5. refresh the page, the vm list page is crashed
      

      Actual results:

      VM list page is not able to be loaded for regular user and it crashed when a view role is assigned
      

      Expected results:

      VM list page is always loaded for regular user
      

      Additional info:

      
      

              mschatzm@redhat.com Matan Schatzman
              gouyang1@redhat.com Guohua Ouyang
              Ying Cui Ying Cui
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: