Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-462

HorizontalPodAutoscalers fail to restore on ocp4 from ocp3 backup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • OADP 1.0.3
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Passed
    • OADP Sprint 218
    • 1
    • 0
    • 0
    • 0
    • None

      From Bugzilla:

      Description of problem:
      When migrating

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

      How reproducible:
      Always when migrating HPAs from Openshift 3.x to 4.x

      Steps to Reproduce:
      1. Migrate a project based on a Openshift 3.x cluster containing a deploymentconfig and a horizontalpodautoscaler that scales this deployment config. Check that on the destination 4.x cluster, the apiversion/kind of the spec.scaleTargetRef of the migrated HPA is not using the updated GVK of DeploymentConfig on Openshift 4.x

      Actual results:

      • hpa.spec.scaleTargetRef.apiVersion is "v1"

      Expected results:

      • hpa.spec.scaleTargetRef.apiVersion should be "apps.openshift.io/v1"

      This bugfix needs to be included in OADP 1.0.3 for the next MTC release.

              sseago Scott Seago
              rhn-engineering-dymurray Dylan Murray
              Prasad Joshi Prasad Joshi
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: