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

[self-validation]tier2 tests failing on hypershift

XMLWordPrintable

    • CNV I/U Operators Sprint 281
    • None

      Description of problem:
      The tier2 test errors in the ocp-virt-validation tool observed on ROKS infrastructure are due to:
       

        kubernetes.dynamic.exceptions.UnprocessibleEntityError: 422
        Reason: Unprocessable Entity
        Message: "This resource cannot be created, updated, or deleted.
        Please ask your administrator to modify the resource in the HostedCluster object."  

      This is happening because this is hypershift and the hosted cluster does not have permissions to modify the Oauth resource, as the tests are trying to do.  They all use the fixture identity_provider_with_htpasswd.
      Version-Release number of selected component (if applicable):

      CNV-4.19.12

      How reproducible:

      Always on Hypershift clusters

      Steps to Reproduce:

      1. Run self-validation on hypershift clusters
      

      Actual results:

      Some test cases are failing in tier2. List provided on private comment.

      Expected results:

      Tests should pass

      Additional info:

      The fix can be to include below param on the tier2 run:

      --tc=no_unprivileged_client:True

      That will skip the creation of unprivileged client and will use the default one (the one provided in the kubeconfig). 

              ocohen@redhat.com Oren Cohen
              rlobillo Ramón Lobillo
              Ramón Lobillo Ramón Lobillo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: