-
Bug
-
Resolution: Done
-
Normal
-
None
-
None
-
False
-
-
False
-
?
-
?
-
?
-
?
-
None
-
Moderate
We were able to use nmstate via edpm as our setup were lacking ifup script with our RHEL9 release (maybe an issue with the availability of the repo "openstack-dev-preview-for-rhel-9-x86_64-rpms ").
Here's a snippet of our configuration:
edpm_network_config_nmstate: true edpm_network_config_tool: nmstate # Control resolv.conf management by NetworkManager edpm_bootstrap_network_resolvconf_update: true # Network config template using edpm_network_config_tool format # nmstate example here https://github.com/openstack-k8s-operators/dataplane-operator/blob/main/examples/nmstate/values.yaml # dns server must match openstack control plane dns vip edpm_network_config_template: | --- dns-resolver: config: search: - fr.world.socgen server: - 171.69.253.100 interfaces: - description: OVS bridge for physnet name: {{ neutron_physical_bridge_name }} type: ovs-bridge ipv4: dhcp: false mtu: 9000 bridge: port: - name: {{ neutron_public_interface_name }} {% for network in role_networks %} - description: {{ network }} interface ipv4: address: - ip: {{ lookup('vars', networks_lower[network] ~ '_ip') }} prefix-length: {{ lookup('vars', networks_lower[network] ~ '_cidr') }} dhcp: false enabled: true ipv6: dhcp: false enabled: false name: {{ network }}.{{ lookup('vars', networks_lower[network] ~ '_vlan_id') }} state: up type: vlan vlan: {% if network in ["storageaz2"] %} base-iface: bond1 {% else %} base-iface: bond0 {% endif %} id: {{ lookup('vars', networks_lower[network] ~ '_vlan_id') }} {% endfor %} routes: config: - destination: 192.167.200.0/24 next-hop-address: 171.95.124.254 next-hop-interface: storageaz2.{{ lookup('vars', networks_lower['storageaz2'] ~ '_vlan_id') }}