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

MicroShift 4.12.7 RPM fails to run due to untemplated KAS asset

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.13.0
    • 4.12.z
    • MicroShift
    • None
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Due to the change of rebase periodic name create_pr.py fails (expecting older branch name) which resulted in about a week of unnoticed rebase 4.12 failures.
      During this time Pod Security Admission was backported to 4.12 branch introducing file that contains invalid values to make sure it'll be templated.
      

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

      4.12.7
      https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2408181
      

      How reproducible:

      100%
      

      Steps to Reproduce:

      1. Install and start MicroShift using 4.12.7 RPM
      2.
      3.
      

      Actual results:

      MicroShift fails to start with an error:
      
      microshift[29830]: kube-apiserver E0315 10:21:35.705160   29830 manager.go:116] service kube-apiserver exited with error: failed to initialize admission: failed to initialize admission plugin "PodSecurity": PodSecurity configuration error: [enforce: must be one of privileged, baseline, restricted, enforce-version: must be "latest" or "v1.x", audit: must be one of privileged, baseline, restricted, audit-version: must be "latest" or "v1.x", warn: must be one of privileged, baseline, restricted, warn-version: must be "latest" or "v1.x"], stopping MicroShift
      

      Expected results:

      MicroShift starts successfully 
      

      Additional info:

      
      

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

              Created:
              Updated:
              Resolved: