Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-72507

[JobSet] - It's not possible to create a JobSet using default options

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.20, 4.21
    • JobSet
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • 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.

        1. jobset_failure.yaml
          2 kB
        2. jobset_policy.yaml
          0.9 kB
        3. jobset-install.mov
          25.99 MB

              Unassigned Unassigned
              rh-ee-anahas Alice Nahas
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: