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

PTP GM HW plugin interface placeholder cannot be replaced in user PGT

XMLWordPrintable

    • Important
    • No
    • False
    • Hide

      None

      Show
      None
    • 8/28: modified, green

      Description of problem:

      ZTP generated ptp GM config always contains the interface placeholder as the key cannot be overridden from PGT (only value can).  
      
            plugins:
              e810:
                enableDefaultConfig: false
                pins:
                  $iface_master:
                    SMA1: 0 1
      
      Issue in ZTP source-cr: https://github.com/openshift-kni/cnf-features-deploy/blob/a9f827074e833d8d3ed40079b373d418d6877fd3/ztp/source-crs/PtpConfigGmWpc.yaml#L23
      
      

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

      4.14

      How reproducible:

      100%

      Steps to Reproduce:

      1. install 4.14 spoke cluster via ZTP, with grandmaster config in user PGT
      2. Wait for installation to complete
      3. Check ptpconfigs on spoke
      

      Actual results:

      $iface_master is included in the actual ptpconfig on spoke.
            
            plugins:
              e810:
                enableDefaultConfig: false
                pins:
                  $iface_master:
                    SMA1: 0 1
                    SMA2: 0 2
                    U.FL1: 0 1
                    U.FL2: 0 2
                  ens3f0:
                    SMA1: 0 1
                    SMA2: 0 2
                    U.FL1: 0 1
                    U.FL2: 0 2
      

      Expected results:

            plugins:
              e810:
                enableDefaultConfig: false
                pins:
                  ens3f0:
                    SMA1: 0 1
                    SMA2: 0 2
                    U.FL1: 0 1
                    U.FL2: 0 2
      

      Additional info:

      Workaround: use custom source-cr with interface hardcoded in source-cr, or with the plugins.e810.pins excluded from source-cr, but added in PGT.

       

            josricha@redhat.com Joseph Richard
            rhn-support-yliu1 Yang Liu
            Hen Shay Hassid Hen Shay Hassid
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: