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

[4.17] MicroShift 4.17 rc0 is failing because of bug in rebase which produces invalid kubelet.yaml template

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • None
    • 4.17.0, 4.18.0
    • MicroShift
    • Critical
    • None
    • 3
    • uShift Sprint 258, uShift Sprint 259
    • 2
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required

      Description of problem:

      MicroShift 4.17 rc0 is failing because of bug in rebase which produces invalid kubelet.yaml template

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

          4.17 rc0

      How reproducible:

          100%

      Steps to Reproduce:

          1. Install MicroShift 4.17 rc0 from the mirror
          2. Start MicroShift
          

      Actual results:

      MicroShift fails to start because of error:
      
      Failed to load Kubelet Configuration failed to load Kubelet config file /var/lib/microshift/resources/kubelet/config/config.yaml, error failed to decode: Object 'Kind' is missing in '...'

      Expected results:

          MicroShift starts

      Additional info:

      I inspected the binary with `strings` utility and indeed the embedded string for kubelet.yaml is missing Kind, apiVersion and other fields.
      
      In current rebase PRs we can see how rebase affects the kubelet.yaml:
      https://github.com/openshift/microshift/pull/3804/files#diff-0c69124e76e85d9cd3b1be593a5005cf1f5c7cf111bdf6d76483cbfbfc2ccbab
      
      

              pmatusza@redhat.com Patryk Matuszak
              pmatusza@redhat.com Patryk Matuszak
              John George John George
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: