Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-14056

DO316-4.14: lab-package: k8s_json_patch ansible module fails to use kubeconfig variable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • DO316 - OCP4.14-en-3-20240619
    • DO316
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • en-US (English)

      Please fill in the following information:


      URL:  
      Reporter RHNID:  
      Section Title:                                                                        

      Issue description

      Several playbooks use the kubernetes.core.k8s_json_patch module. The module uses variables from module_defaults in the playbook. Several students reported an error with the lab start command. On further inspection it seems that the task could not use the kubeconfig file referenced as a variable. The fix was to update the playbook to use a static reference, /home/lab/ocp4/auth/kubeconfig.

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

        1. image-2025-01-30-12-11-16-085.png
          88 kB
          Natalie Watkins
        2. image-2025-01-30-12-11-47-597.png
          74 kB
          Natalie Watkins
        3. image-2025-01-30-12-27-17-090.png
          85 kB
          Natalie Watkins
        4. image-2025-01-30-12-27-22-610.png
          71 kB
          Natalie Watkins
        5. image-2025-01-30-12-27-38-557.png
          134 kB
          Natalie Watkins
        6. image-2025-01-30-12-27-46-558.png
          142 kB
          Natalie Watkins
        7. Screenshot 2024-08-28 at 6.19.40 PM.png
          2.59 MB
          Ricardo da Costa
        8. Screenshot 2024-08-28 at 7.22.26 PM.png
          405 kB
          Ricardo da Costa

              rht-nlind Natalie Watkins
              rdacosta1@redhat.com Ricardo da Costa (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: