-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.20, 4.21
-
None
-
None
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
JobSetOperator is currently being created with the default name example. Using it, no new JobSets can be created, an error is shown. However, when we change JobSetOperator from example to cluster, new JobSets can be create successfully.
Version-Release number of selected component (if applicable):
How reproducible:
Install JobSet Operator and Operand and try to create a new JobSet.
Steps to Reproduce:
1. Go to Software Catalog > Install cert-manager
2. Install Job Set Operator
3. Go to the Job Set Operator > Job Set Operator tab > Create JobSetOperator > Yaml view > Create > JSO called example will be created (video attached)
4. Create a namespace
5. Create a new JobSet (example files attached)
5a. Ex: oc apply -f jobset_policy.yaml
Actual results:
An error is shown:
❯ oc apply -f jobset_failure.yaml
error: resource mapping not found for name: "jobset-failure" namespace: "test-jobset" from "jobset_failure.yaml": no matches for kind "JobSet" in version "jobset.x-k8s.io/v1alpha2"
ensure CRDs are installed first
❯ oc apply -f jobset_policy.yaml
error: resource mapping not found for name: "jobset-policy" namespace: "test-jobset" from "jobset_policy.yaml": no matches for kind "JobSet" in version "jobset.x-k8s.io/v1alpha2"
ensure CRDs are installed first
Expected results:
JobSet should be create successfully.
Additional info:
After step 5 delete JSO example (click on the 3 dots > Delete JobSetOperator) > create a new JobSetOperator but manually change the name from example to cluster > Try to apply the same files again:
❯ oc apply -f jobset_failure.yaml
jobset.jobset.x-k8s.io/jobset-failure created
❯ oc apply -f jobset_policy.yaml
jobset.jobset.x-k8s.io/jobset-policy created
Files are applied successfully.
- relates to
-
OCPKUEUE-480 Feature Verification for JobSet
-
- In Progress
-