On Wed, 2016-03-23 at 13:48 +0100, Roeland Jansen wrote:
> all,
>
>
>
> recently I was busy with nmcli creating teams and got this when
> bringing up
> the interface::
>
>
> Error: Connection activation failed: Active connection removed before
> it
> was initialized
>
> caused by
>
> nmcli connection add type team con-name myteam0 ifname team0 config
> '{"runner":"name":"activebackup"}
>
> which has an incorrect json config.
>
> obviously it should be '{"runner":{"name":"activebackup"}}
> ===
>
> However, the myteam0 was succesfully added and nmcli connection shows
> a
> missing device for myteam0
>
>
> The question is -- what's the reason to successfully add the myteam0
> added
> while the json is incorrect?
NM doesn't currently validate the JSON, partly because that requires a
JSON parsing library which increases the requirements of the libnm
library. However, Beniamino has recently posted patches to do this
validation and so this will probably land soon.
https://bugzilla.redhat.com/show_bug.cgi?id=1294728
upstream branch: bg/team-conf-check-rh1294728
Dan
_______________________________________________
networkmanager-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/networkmanager-list