Neutron: Make sure overlay_ip_version is configured properly

Change 0797e82aca0a408838a49c1a269948e83d978b1c[1][2] fixed the ip
version used by ovs-agent but this effectively changed the ip version
used for underlying network. However that change did not update
the overlay_ip_version option accordingly and neutron records the error
caused by version mismatch continuously.

```
Invalid input for operation: ('Tunnel IP version does not match ML2
overlay_ip_version ...)
```

This change fixes that and ensures the option is set according to
the actual IP version.

Change-Id: Ied95886a30618ae2901cb2e9eacf9296a5911e8f
This commit is contained in:
Takashi Kajinami 2023-03-13 22:36:27 +09:00
parent be6f32b62a
commit 9dc6df9e75

View File

@ -250,6 +250,7 @@ class openstack_integration::neutron (
extension_drivers => 'port_security,qos',
mechanism_drivers => $driver,
max_header_size => $max_header_size,
overlay_ip_version => $::openstack_integration::config::ip_version,
}
case $driver {