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

Unable to deploy 4.11 spoke using ZTP 4.13 due to new spec added to performanceprofile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Undefined
    • None
    • 4.13
    • GitOps ZTP
    • Important
    • No
    • CNF RAN Sprint 233, CNF RAN Sprint 234
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      A new workloadhints spec was added to 4.13 PerformanceProfile source-crs, which does not exist in previous ztp versions, this has caused installation of 4.11 spoke to fail with the following error when enforcing policy: 
      
      
      violation - performanceprofiles [openshift-node-performance-profile] is missing, and cannot be created, reason: `ValidationError(PerformanceProfile.spec.workloadHints): unknown field "perPodPowerManagement" in io.openshift.performance.v2.PerformanceProfile.spec.workloadHints`
      
      https://github.com/openshift-kni/cnf-features-deploy/commit/9e9d50d4ce24a7d06bfeadc5247f13a3af9a6249
      
      

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

      ZTP version: 4.13
      Spoke version: 4.11

      How reproducible:

      100%

      Steps to Reproduce:

      1. Attempt to install 4.11 spoke using 4.13 ZTP
      2. 
      3.
      

      Actual results:

      Failed to apply performanceprofile due to workloadHints spec.
      
      violation - performanceprofiles [openshift-node-performance-profile] is missing, and cannot be created, reason: `ValidationError(PerformanceProfile.spec.workloadHints): unknown field "perPodPowerManagement" in io.openshift.performance.v2.PerformanceProfile.spec.workloadHints`

      Expected results:

      Should be able to install previous releases on spoke using latest ZTP

      Additional info:

       

      Attachments

        Activity

          People

            sakhoury@redhat.com Sharat Akhoury
            rhn-support-yliu1 Yang Liu
            Dwaine Gonyier Dwaine Gonyier
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: