Hi NM Team,

 

We are currently using Network Manager to manage OVS interfaces and facing one issue with nmstate.

Attached is the yaml file we are using to setup OVS bridge and interfaces.

 

The problem we are facing is that initially when the OVS bridge and interface is not present, the Network Manager

is able to properly create them and configures the IP address on the interface. After this, when we reboot the machine

we see that the interface is not configured by NetworkManager. It fails with error “dependency-failed”. Unfortunately

no other error is seen in the journalctl output. Also attached is the .nmconnection file generated by nmstate cli.

 

Here are the software versions we are using.

 

Host machine is running SLES (SUSE linux).

 

#nmcli --version

nmcli tool, version 1.24.0

 

#nmstatectl --version

0.3.0

 

As a workaround we tried by removing the line “autoconnect-slaves=1” from the .nmconnection files and tried the reboot again.

This time, the issue did not occur and we could see that the OVS interface is configured properly with assigned IP address.

 

Have you seen similar issue before? Any idea on how this is connected to “autoconnect-slaves” flag?

 

Also, we were not able to find any parameter which can be set in the input yaml file which can disable this flag.

Is there something available or the default is always “1”?

 

Warm Regards,

Vishal Ajmera