Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-14047

Comp Review labs fail to grade despite operator subscription existing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • DO316 - OCP4.14-en-4-20240806
    • DO316
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • en-US (English)

      Please fill in the following information:


      URL:  
      Reporter RHNID:  
      Section Title:                                                                        

      Issue description

       

      Steps to reproduce:

      Point the workstation oc client to a namespace that's not `openshift-cnv` and then install the operator and try to run `lab grade review-cr1`

      Workaround:

      Either `oc project openshift-cnv` before you run the grade command or edit the file on workstation ~/.venv/labs/bin/python3.9/site-packages/do316/review-cr1.py

      update the line 249 to include a namespace option

              items.append(
                  {
                      "label": "The OpenShift Virtualization Operator is installed",
                      "task": common.grade_virtualization,
                      "oc_client": self.oc_client,
                      "namespace": "openshift-cnv",
                      "fatal": False,
                      "grading": True,
      {{            }}}
              )

      Expected result:

      Grade passes when the operator is correctly installed in the openshift-cnv namespace

              rht-nlind Natalie Watkins
              rht-rallred Richard Allred
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: