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

Agent Installer: Do not fail on deprecated apiVip and ingressVip values

XMLWordPrintable

    • Important
    • None
    • Agent Sprint 225, Agent Sprint 226
    • 2
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • Red Hat OpenShift Container Platform

      Description of problem:

      When providing install-config as

      platform:
       baremetal:
        apiVIP: 192.168.122.10
        ingressVIP: 192.168.122.11

      agent installer fails with 
      bin/openshift-install agent create cluster-manifests
      FATAL failed to fetch Agent Manifests: failed to load asset "Install Config": invalid install-config configuration: [Platform.Baremetal.ApiVips: Required value: apiVips must be set for baremetal platform, Platform.Baremetal.IngressVips: Required value: ingressVips must be set for baremetal platform]
       

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

       

      How reproducible:

      Always

      Steps to Reproduce:

      1. Git clone latest installer https://github.com/openshift/installer and build it
      2. Provide install-config.yaml for baremetal platform with deprecated apiVip and ingressVip set
      3. Create agent image with "bin/openshift-install agent create cluster-manifests"
      

      Actual results:

      bin/openshift-install agent create cluster-manifests
      FATAL failed to fetch Agent Manifests: failed to load asset "Install Config": invalid install-config configuration: [Platform.Baremetal.ApiVips: Required value: apiVips must be set for baremetal platform, Platform.Baremetal.IngressVips: Required value: ingressVips must be set for baremetal platform]

      Expected results:

      agent installer should upconvert the depreacted fields and should not error. apiVip, ingressVip should be upconverted into apiVips and ingressVips respectively

      Additional info:

       

              ppinjark@redhat.com pawan pinjarkar
              ppinjark@redhat.com pawan pinjarkar
              zhenying niu zhenying niu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: