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

TemplateInstance fails to create any resources

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.19.z
    • Templates
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • x86_64
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          TemplateInstance doesn't ever create resources.

      Version-Release number of selected component (if applicable):

      Client Version: 4.19.6
      Kustomize Version: v5.5.0
      Server Version: 4.19.6
      Kubernetes Version: v1.32.6

      How reproducible:

          always

      Steps to Reproduce:

          1. create an openshift template or use an included one such as those that come with openshift virt
          2. create a TemplateInstance that uses the Template
          

      Actual results:

          No resources get created. the Status will show that everything is fine, but spec.template.objects will be "null".

      Expected results:

          Resources get created.

      Additional info:

      I'll attach a script that reproduces this.
      
      I also noticed that the logs for the openshift-api-server have this message whenever I try to use a templateinstance, so something is happening:
      
      I0810 19:44:58.950421 1 controller.go:615] quota admission added evaluator for: templateinstances.template.openshift.io
      I0810 19:44:58.950591 1 controller.go:615] quota admission added evaluator for: templateinstances.template.openshift.io

              rhn-support-spoole Shannon Poole
              mhrivnak@redhat.com Michael Hrivnak
              None
              None
              Sushanta Das Sushanta Das
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: