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

MacAddress is required twice for each interface definition in the AgentConfig

    XMLWordPrintable

Details

    • No
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      Customer is requesting why the MAC Address is required to be defined twice for each of the interfaces in the OpenShift AgentConfig object? 
      
      This seems error-prone. Is there a difference between the two values and when should they differ?
      
          

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

      4.15
          

      How reproducible:

      Everytime
          

      Steps to Reproduce:

          1. Customer query 
          

      Actual results:

      N/A
          

      Expected results:

      N/A
          

      Additional info:

      
      Why is the MacAddress required to be provided both in the `interfaces` and `netconfig` sections of the AgentConfig file? 
      
      Is there a difference between the two values? 
      Can a definition be provided for each of the values in a reference-guide for the AgentConfig schema?
      
      Relevant links:
      - AgentConfig definition:
      https://github.com/openshift/installer/blob/master/pkg/types/agent/agent_config_type.go#L1-L42
      - NetConfig definition
      https://github.com/openshift/installer/blob/ac3ac8911e87b62b375bf8f3b643675426a7ff46/vendor/github.com/openshift/assisted-service/api/v1beta1/nmstate_config_types.go#L33-L41
      - Interface Defintion
      https://github.com/openshift/installer/blob/ac3ac8911e87b62b375bf8f3b643675426a7ff46/vendor/github.com/openshift/assisted-service/api/v1beta1/nmstate_config_types.go#L44-L51
      
          

      Attachments

        Activity

          People

            bfournie@redhat.com Robert Fournier
            rhn-support-mwasher Michael Washer
            Manoj Hans Manoj Hans
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: