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

Nonpriv user can't create a VM from catalog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • CNV v4.16.0
    • CNV v4.16.0
    • CNV User Interface
    • None
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • ---
    • ---
    • High
    • No

      Description of problem:

      When nonpriv user tries to create a VM from Templates Catalog, the app crashes

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

       

      How reproducible:

      always

      Steps to Reproduce:

      1. Login as test
      2. Navigate to Catalog
      3. Start VM Creation
      

      Actual results:

      App crashes with 
      TypeError
      Description:
      Cannot read properties of null (reading 'secretOption')

      Expected results:

      VM creation 

      Component trace:

      at AuthorizedSSHKey (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/api/plugins/kubevirt-plugin/exposed-Catalog-chunk.js:5107:29)
          at div
          at l (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-4-shared~main-chunk-89a84cefe16e3843f7de.min.js:1:678706)
          at div
          at l (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-4-shared~main-chunk-89a84cefe16e3843f7de.min.js:1:680052)
          at div
          at l (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-4-shared~main-chunk-89a84cefe16e3843f7de.min.js:1:679654)
          at form
          at https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/api/plugins/kubevirt-plugin/exposed-Catalog-chunk.js:6504:89
          at div
          at l (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-4-shared~main-chunk-89a84cefe16e3843f7de.min.js:1:679654)
          at div
          at div
          at l (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-4-shared~main-chunk-89a84cefe16e3843f7de.min.js:1:679654)
          at TemplatesCatalogDrawerFooter (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/api/plugins/kubevirt-plugin/exposed-Catalog-chunk.js:6582:41)
          at footer
          at l (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-4-shared~main-chunk-89a84cefe16e3843f7de.min.js:1:245846)
          at div
          at c (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-4-shared~main-chunk-89a84cefe16e3843f7de.min.js:1:290317)
          at div
          at o (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-4-shared~main-chunk-89a84cefe16e3843f7de.min.js:1:358793)
          at div
          at l (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-4-shared~main-chunk-89a84cefe16e3843f7de.min.js:1:199892)
          at O (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-4-shared~main-chunk-89a84cefe16e3843f7de.min.js:1:287590)
          at p (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-4-shared~main-chunk-89a84cefe16e3843f7de.min.js:1:547829)
          at DrawerContextProvider (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/api/plugins/kubevirt-plugin/exposed-Catalog-chunk.js:7154:34)
          at TemplatesCatalogDrawer (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/api/plugins/kubevirt-plugin/exposed-Catalog-chunk.js:6464:35)
          at div
          at l (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-4-shared~main-chunk-89a84cefe16e3843f7de.min.js:1:679654)
          at TemplatesCatalog (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/api/plugins/kubevirt-plugin/exposed-Catalog-chunk.js:5007:100)
          at section
          at u (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-4-shared~main-chunk-89a84cefe16e3843f7de.min.js:1:296237)
          at C (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-4-shared~main-chunk-89a84cefe16e3843f7de.min.js:1:623004)
          at div
          at CreateVMHorizontalNav (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/api/plugins/kubevirt-plugin/exposed-Catalog-chunk.js:4890:119)
          at k (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-plugins-shared~main-chunk-43facf517cd569b651de.min.js:31:4920)
          at ne (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-plugins-shared~main-chunk-43facf517cd569b651de.min.js:31:10364)
          at WizardVMContextProvider (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/api/plugins/kubevirt-plugin/utils_styles_ListPageCreateButton_scss-utils_components_AffinityModal_components_AffinityEdit-da0018-chunk.js:7160:36)
          at Catalog
          at T (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:1285061)
          at k (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-plugins-shared~main-chunk-43facf517cd569b651de.min.js:31:4920)
          at ne (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-plugins-shared~main-chunk-43facf517cd569b651de.min.js:31:10364)
          at Suspense
          at i (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:324871)
          at section
          at m (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-5~main-chunk-cc7e41ef9122e9fcc2ab.min.js:6:146104)
          at div
          at div
          at t.a (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:1285950)
          at div
          at div
          at s (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-5~main-chunk-cc7e41ef9122e9fcc2ab.min.js:60:95978)
          at d (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-5~main-chunk-cc7e41ef9122e9fcc2ab.min.js:6:268554)
          at div
          at d (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-5~main-chunk-cc7e41ef9122e9fcc2ab.min.js:6:28506)
          at c (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:1060432)
          at https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:295328
          at C (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-plugins-shared~main-chunk-43facf517cd569b651de.min.js:12:14964)
          at main
          at div
          at v (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-5~main-chunk-cc7e41ef9122e9fcc2ab.min.js:60:294623)
          at div
          at div
          at s (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-5~main-chunk-cc7e41ef9122e9fcc2ab.min.js:10:67980)
          at div
          at div
          at s (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-5~main-chunk-cc7e41ef9122e9fcc2ab.min.js:60:95978)
          at d (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-5~main-chunk-cc7e41ef9122e9fcc2ab.min.js:6:268554)
          at div
          at d (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-5~main-chunk-cc7e41ef9122e9fcc2ab.min.js:6:28506)
          at Dn (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-5~main-chunk-cc7e41ef9122e9fcc2ab.min.js:1:125979)
          at t.default (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:733434)
          at t.default (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/quick-start-chunk-272ef75068c636e623e3.min.js:1:3361)
          at l (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:144675)
          at t.a (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:1366531)
          at ee (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:1386737)
          at mt (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-patternfly-5~main-chunk-cc7e41ef9122e9fcc2ab.min.js:1:86112)
          at ee (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:1386737)
          at ee (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:1386737)
          at ee (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:1386737)
          at ModalProvider (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/api/plugins/kubevirt-plugin/exposed-modalProvider-chunk.js:44:26)
          at ee (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:1386737)
          at ee (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:1386737)
          at o (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:686749)
          at t.a (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:1358778)
          at t.a (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:1356358)
          at te (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:1386859)
          at ne (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:1388878)
          at k (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-plugins-shared~main-chunk-43facf517cd569b651de.min.js:31:4920)
          at ne (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-plugins-shared~main-chunk-43facf517cd569b651de.min.js:31:10364)
          at k (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-plugins-shared~main-chunk-43facf517cd569b651de.min.js:31:4920)
          at ne (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-plugins-shared~main-chunk-43facf517cd569b651de.min.js:31:10364)
          at te (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-plugins-shared~main-chunk-43facf517cd569b651de.min.js:31:9773)
          at G (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-plugins-shared~main-chunk-43facf517cd569b651de.min.js:12:11631)
          at t (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-plugins-shared~main-chunk-43facf517cd569b651de.min.js:12:26305)
          at ae (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:1389140)
          at t.a (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:662675)
          at t.a (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:978933)
          at l (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/main-chunk-56b6ce42bf340d5cddf4.min.js:1:513494)
          at t.a (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendor-plugins-shared~main-chunk-43facf517cd569b651de.min.js:12:21429)
          at Suspense 

      Satck trace:

      TypeError: Cannot read properties of null (reading 'secretOption')
          at https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/api/plugins/kubevirt-plugin/exposed-Catalog-chunk.js:5133:24
          at https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/api/plugins/kubevirt-plugin/exposed-Catalog-chunk.js:5124:13
          at ju (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendors~main-chunk-38611ef8246fdf325a96.min.js:108:104246)
          at t.unstable_runWithPriority (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendors~main-chunk-38611ef8246fdf325a96.min.js:116:3768)
          at Ui (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendors~main-chunk-38611ef8246fdf325a96.min.js:108:44551)
          at Eu (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendors~main-chunk-38611ef8246fdf325a96.min.js:108:103709)
          at hu (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendors~main-chunk-38611ef8246fdf325a96.min.js:108:95010)
          at https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendors~main-chunk-38611ef8246fdf325a96.min.js:108:44774
          at t.unstable_runWithPriority (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendors~main-chunk-38611ef8246fdf325a96.min.js:116:3768)
          at Ui (https://console-openshift-console.apps.uit-416-0216.rhos-psi.cnv-qe.rhood.us/static/vendors~main-chunk-38611ef8246fdf325a96.min.js:108:44551)

              mschatzm@redhat.com Matan Schatzman
              rhn-support-lkladnit Leon Kladnitsky
              Leon Kladnitsky Leon Kladnitsky
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: