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

[IBI] Deploying with IBI and static IP requires specifying the exact NIC name in the configmap with network data

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.15.z
    • LCA operator
    • None
    • No
    • False
    • Hide

      None

      Show
      None

      OCP version: 4.15.8

      We must specify the exact nic name that is identified on the node in addition to identifier and mac-address.
      The following configmap worked fine:

      ---
      apiVersion: v1
      kind: ConfigMap
      metadata:
        name: "elvis3-network"
        namespace: "elvis3"
      data:
        network-config: |
          interfaces:
            - name: enp5s0
              type: ethernet
              state: up
              identifier: mac-address
              mac-address: 52:54:00:f7:d4:d1
              ipv4:
                enabled: true
                dhcp: false
                auto-dns: false
                address:
                  - ip: 192.168.123.150
                    prefix-length: 24
              ipv6:
                enabled: false
          dns-resolver:
            config:
              server:
                - 10.11.5.160
          routes:
            config:
            - destination: 0.0.0.0/0
              metric: 150
              next-hop-address: 192.168.123.1
              next-hop-interface: enp5s0
      
      

      Note that when I tried to use eno1 for next-hop-interface and name the deployment didn't complete.

              itsoiref@redhat.com Igal Tsoiref
              achuzhoy@redhat.com Alexander Chuzhoy
              Alexander Chuzhoy Alexander Chuzhoy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: