Hi {Danilo, Lukas},
Tried the PPA out, it working correctly with the fix, thanks!
root@lp2070318:~# grep card /etc/netplan/10-lxc.yaml
ovn-cms-options: "card-serial-number=MT42424242N8,enable-chassis-as-gw"
root@lp2070318:~# sudo netplan apply
# Second time
root@lp2070318:~# sudo netplan apply
ovs-vsctl: card-serial-number=MT42424242N8,enable-chassis-as-gw: unexpected "="
parsing set of 1 or more strings
Traceback (most recent call last):
# ...
subprocess.CalledProcessError: Command '['/usr/bin/ovs-vsctl', 'remove',
'Open_vSwitch', '.', 'external-ids', 'ovn-cms-options',
'card-serial-number=MT42424242N8,enable-chassis-as-gw']' returned non-zero exit
status 1.
# ...added the PPA ...
root@lp2070318:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libnetplan1 netplan-generator netplan.io python3-netplan
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 313 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://ppa.launchpadcontent.net/danilogondolfo/netplan.io/ubuntu
noble/main amd64 python3-netplan amd64 1.0.1-1ubuntu2~24.04.2~ppa2 [35.6 kB]
Get:2 https://ppa.launchpadcontent.net/danilogondolfo/netplan.io/ubuntu
noble/main amd64 netplan-generator amd64 1.0.1-1ubuntu2~24.04.2~ppa2 [72.4 kB]
Get:3 https://ppa.launchpadcontent.net/danilogondolfo/netplan.io/ubuntu
noble/main amd64 netplan.io amd64 1.0.1-1ubuntu2~24.04.2~ppa2 [79.4 kB]
Get:4 https://ppa.launchpadcontent.net/danilogondolfo/netplan.io/ubuntu
noble/main amd64 libnetplan1 amd64 1.0.1-1ubuntu2~24.04.2~ppa2 [125 kB]
# ...
# Changed the value
root@lp2070318:~# grep card /etc/netplan/10-lxc.yaml
ovn-cms-options: "card-serial-number=changed-to-this,enable-chassis-as-gw"
# No errors anymore:
root@lp2070318:~# sudo netplan apply
root@lp2070318:~# sudo ovs-vsctl list open | grep card
external_ids : {hostname=lp2070318,
"netplan/external-ids/ovn-cms-options"="card-serial-number=changed-to-this,enable-chassis-as-gw",
ovn-cms-options="card-serial-number=changed-to-this,enable-chassis-as-gw",
rundir="/var/run/openvswitch", system-id="6436b098-653b-4df9-b90c-2dffd3a3f812"}
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2070318
Title:
netplan does not quote values passed to ovs-vsctl when needed
To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/2070318/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs