-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
Product / Portfolio Work
-
2
-
False
-
-
False
-
CNV v4.21.0.rhel9-47
-
-
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).