We are trying Brahmaputra Apex for the first time with a bare metal
undercloud and the network_settings below. The overcloud VM PXE
boots fine with the 192.0.2.0/24 address assigned to the correct
interface (enp2s0f1). But when they boot from disk, the address
gets assigned to the wrong interface (enp1s0f0).

The /etc/sysconfig/network-scripts config file have:
enp1s0f0: 192.0.2.12
enp1s0f1: 192.0.2.12
enp2s0f0: 11.0.0.25 (this should be the public network)
enp2s0f1: OVS_BRIDGE=br-ex (this should be the admin network)

(result is enp1s0f0 gets enp1s0f0 and enp1s0f1 has no address)

This is /etc/os-net-config/config.json on the overcloud VM:

{"network_config": [{"dns_servers": ["8.8.8.8", "8.8.4.4"], "name": "nic1", 
"routes": [{"ip_netmask": "169.254.169.254/32", "next_hop": "192.0.2.5"}], 
"use_dhcp": false, "type": "interface", "addresses": [{"ip_netmask": 
"192.0.2.12/24"}]}, {"use_dhcp": false, "type": "interface", "name": "nic2", 
"addresses": [{"ip_netmask": "11.0.0.25/24"}]}, {"name": "br-ex", "members": 
[{"type": "interface", "name": "nic3", "primary": true}], "routes": 
[{"ip_netmask": "0.0.0.0/0", "next_hop": "XXX.YYY.ZZZ.1"}], "use_dhcp": false, 
"type": "ovs_bridge", "addresses": [{"ip_netmask": "XXX.YYY.ZZZ.10/24"}]}, 
{"use_dhcp": false, "type": "interface", "name": "nic4", "addresses": 
[{"ip_netmask": "12.0.0.26/24"}]}]}

Seems like the symbolic nicN names get mapped to the wrong physical
interfaces. Any suggestions about how to fix this?

enp2s0f0 and enp2s0f1 are two 1G onboard interfaces
enp1s0f0 and enp1s0f1 are two 10G Mellanox ConnectX-4 NICs

admin_network:
  enabled: true
  network_type: bridged
  bridged_interface: 'enp2s0f1'
  bond_interfaces: ''
  vlan: native
  usable_ip_range: 192.0.2.10,192.0.2.199
  gateway: 192.0.2.1
  provisioner_ip: 192.0.2.5
  cidr: 192.0.2.0/24
  dhcp_range: 192.0.2.10,192.0.2.100
  introspection_range: 192.0.2.200,192.0.2.254
private_network:
  enabled: true
  network_type: 'bridged'
  bridged_interface: ''
  cidr: 11.0.0.0/24
  dhcp_range: 11.0.0.100,11.0.0.200
public_network:
  enabled: true
  network_type: 'bridged'
  bridged_interface: 'enp2s0f0'
  cidr: XXX.YYY.ZZZ.0/24
  gateway: XXX.YYY.ZZZ.1
  floating_ip_range: XXX.YYY.ZZZ.100,XXX.YYY.ZZZ.254
  usable_ip_range: XXX.YYY.ZZZ.5,XXX.YYY.ZZZ.20
  provisioner_ip: XXX.YYY.ZZZ.3
storage_network:
  enabled: true
  network_type: 'bridged'
  bridged_interface: ''
  cidr: 12.0.0.0/24
  dhcp_range: 12.0.0.100,12.0.0.200


_______________________________________________
opnfv-users mailing list
opnfv-users@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-users

Reply via email to