Re: Reg. nmstate issue with OVS interfaces.
by Gris Ge
On Mon, Jul 27, 2020 at 08:25:38AM +0000, Vishal Deep Ajmera wrote:
> >
> > Hi Vishal,
> >
> > The fix has been included in NetworkManager 1.26 branch:
> >
> > https://protect2.fireeye.com/v1/url?k=7b99a9c1-25293459-7b99e95a-
> > 86d8a30ca42b-6bcec662344c9f63&q=1&e=01d8243f-3f91-44c6-9f40-
> > 765c5ce5a0af&u=https%3A%2F%2Fgitlab.freedesktop.org%2FNetworkManag
> > er%2FNetworkManager%2F-
> > %2Fcommit%2F0911d2a4ee1c317f455c01cbad048b994f69844d
> >
> > It's __not__ in 1.26.0 release, but in the nm-1-26 git branch.
> >
> > I can compile a SUSE rpm for you to test on.
> > Can you provide which SLES version you are using?
>
> Thanks Gris for your support. We are using SLES 15 SP1.
>
> Warm Regards,
> Vishal Ajmera
Please use this repo for testing:
zypper ar -f https://download.opensuse.org/repositories/home:/cathay4t:/tmp_nm_sles/SL... tmp_nm_1_26_1
zypper in NetworkManager
--
Gris Ge
2 years, 7 months
Re: Reg. nmstate issue with OVS interfaces.
by Vishal Deep Ajmera
Hi Gris,
I am not sure if you have received below response. Sending it again.
Warm Regards,
Vishal Ajmera
> -----Original Message-----
> From: Vishal Deep Ajmera
> Sent: Monday, July 27, 2020 1:56 PM
> To: Gris Ge <fge(a)redhat.com>
> Cc: nmstate-devel(a)lists.fedorahosted.org; Ganesh Vasudevan
> <ganesh.vasudevan(a)ericsson.com>; Prakash Padmanabhan
> <prakash.padmanabhan(a)ericsson.com>; Anurag Agarwal
> <anurag.agarwal(a)ericsson.com>; ehaas(a)redhat.com; Beniamino Galvani
> <bgalvani(a)redhat.com>
> Subject: RE: [nmstate-devel] Reg. nmstate issue with OVS interfaces.
>
> >
> > Hi Vishal,
> >
> > The fix has been included in NetworkManager 1.26 branch:
> >
> > https://protect2.fireeye.com/v1/url?k=7b99a9c1-25293459-7b99e95a-
> > 86d8a30ca42b-6bcec662344c9f63&q=1&e=01d8243f-3f91-44c6-9f40-
> >
> 765c5ce5a0af&u=https%3A%2F%2Fgitlab.freedesktop.org%2FNetworkManag
> > er%2FNetworkManager%2F-
> > %2Fcommit%2F0911d2a4ee1c317f455c01cbad048b994f69844d
> >
> > It's __not__ in 1.26.0 release, but in the nm-1-26 git branch.
> >
> > I can compile a SUSE rpm for you to test on.
> > Can you provide which SLES version you are using?
>
> Thanks Gris for your support. We are using SLES 15 SP1.
>
> Warm Regards,
> Vishal Ajmera
2 years, 7 months
Re: Reg. nmstate issue with OVS interfaces.
by Gris Ge
On Mon, Jun 22, 2020 at 04:45:00AM +0000, Vishal Deep Ajmera wrote:
> Hi NM Team,
>
> 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.
Hi Vishal Deep Ajmera,
I failed to reproduce in my VM.
Can you create `/etc/NetworkManager/conf.d/debug.conf` with these
contents:
[logging]
level=TRACE
domains=ALL
And then provide output of `sudo journalctl -t NetworkManager -b0`?
> As a workaround we tried by removing the line "autoconnect-slaves=1"
> from the .nmconnection files and tried the reboot again.
> Have you seen similar issue before? Any idea on how this is connected to
> "autoconnect-slaves" flag?
Hi Beniamino,
This sounds like the old problem of NetworkManager:
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requ...
Is it?
>
>
> 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"?
Nmstate currently does not support disable this option yet.
And I am afraid we cannot add the support, cause:
* For complex nested bridge/vlan/bond setup, we need to trust
NetworkManager do the slave activation in the correct order.
* The slave activation order will impact the MAC address choosing,
if nmstate do the slave activation manually, the MAC address of
master(bridge/bond) might be different after OS reboot.
But I will work with you to find out the root cause and get it fixed
in NetworkManager.
The next actions would be:
* Vishal collects NetworkManager trace/debug logs.
* Beniamino review this email and/or the logs, then feedback.
Best regards.
--
Gris Ge
2 years, 8 months
Promoting 'Fernando Fernandez Mancera' as nmstate maintainer
by Gris Ge
Hi Guys,
In the recognition of Fernando Fernandez Mancera's enormous
contributions to nmstate project, all existing nmstate maintainers
have agreed to promoting him as new maintainer with administrative
rights.
Enjoy hacking!
--
Gris Ge
2 years, 8 months