$ juju run --unit ovn-chassis/0 'ovs-vsctl remove open-vswitch . external-ids hostname' $ juju run --unit ovn-chassis/0 'sudo shutdown -r now' $ sudo ovs-vsctl list open-vswitch ... external_ids : {hostname=juju-d4e71d-0-lxd-0, rundir="/var/run/openvswitch", system-id="424e6f88-2e79-436f-99a8-d9e4dccf3c55"} $ hostname -f juju-d4e71d-0-lxd-0.maas # sudo apt install openvswitch-common openvswitch-switch python3-openvswitch Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: openvswitch-doc The following packages will be upgraded: openvswitch-common openvswitch-switch python3-openvswitch 3 upgraded, 0 newly installed, 0 to remove and 21 not upgraded. Need to get 2783 kB of archives. After this operation, 28.7 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 python3-openvswitch all 2.13.3-0ubuntu0.20.04.1 [94.8 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 openvswitch-common amd64 2.13.3-0ubuntu0.20.04.1 [1152 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 openvswitch-switch amd64 2.13.3-0ubuntu0.20.04.1 [1536 kB] Fetched 2783 kB in 1s (1986 kB/s) (Reading database ... 53438 files and directories currently installed.) Preparing to unpack .../python3-openvswitch_2.13.3-0ubuntu0.20.04.1_all.deb ... Unpacking python3-openvswitch (2.13.3-0ubuntu0.20.04.1) over (2.13.1-0ubuntu0.20 .04.4) ... Preparing to unpack .../openvswitch-common_2.13.3-0ubuntu0.20.04.1_amd64.deb ... Unpacking openvswitch-common (2.13.3-0ubuntu0.20.04.1) over (2.13.1-0ubuntu0.20. 04.4) ... Preparing to unpack .../openvswitch-switch_2.13.3-0ubuntu0.20.04.1_amd64.deb ... Unpacking openvswitch-switch (2.13.3-0ubuntu0.20.04.1) over (2.13.1-0ubuntu0.20. 04.4) ... Setting up python3-openvswitch (2.13.3-0ubuntu0.20.04.1) ... Setting up openvswitch-common (2.13.3-0ubuntu0.20.04.1) ... Setting up openvswitch-switch (2.13.3-0ubuntu0.20.04.1) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for systemd (245.4-4ubuntu3.6) ... $ juju run --unit ovn-chassis/0 'ovs-vsctl remove open-vswitch . external-ids hostname' $ juju run --unit ovn-chassis/0 'sudo shutdown -r now' $ sudo ovs-vsctl list open-vswitch ... external_ids : {hostname=juju-d4e71d-0-lxd-0.maas, rundir="/var/run/openvswitch", system-id="424e6f88-2e79-436f-99a8-d9e4dccf3c55"}
$ juju run --unit ovn-chassis/0 'ovs-vsctl remove open-vswitch . external-ids hostname' juju-d4e71d- 0-lxd-0, rundir= "/var/run/ openvswitch" , system- id="424e6f88- 2e79-436f- 99a8-d9e4dccf3c 55"} 0-lxd-0. maas common openvswitch-switch python3-openvswitch archive. ubuntu. com/ubuntu focal-proposed/main amd64 python3-openvswitch all 2.13.3- 0ubuntu0. 20.04.1 [94.8 kB] archive. ubuntu. com/ubuntu focal-proposed/main amd64 openvswitch-common amd64 2.13.3- 0ubuntu0. 20.04.1 [1152 kB] archive. ubuntu. com/ubuntu focal-proposed/main amd64 openvswitch-switch amd64 2.13.3- 0ubuntu0. 20.04.1 [1536 kB] openvswitch_ 2.13.3- 0ubuntu0. 20.04.1_ all.deb ... 0ubuntu0. 20.04.1) over (2.13.1-0ubuntu0.20 -common_ 2.13.3- 0ubuntu0. 20.04.1_ amd64.deb ... 0ubuntu0. 20.04.1) over (2.13.1- 0ubuntu0. 20. -switch_ 2.13.3- 0ubuntu0. 20.04.1_ amd64.deb ... 0ubuntu0. 20.04.1) over (2.13.1- 0ubuntu0. 20. 0ubuntu0. 20.04.1) ... 0ubuntu0. 20.04.1) ... 0ubuntu0. 20.04.1) ... juju-d4e71d- 0-lxd-0. maas, rundir= "/var/run/ openvswitch" , system- id="424e6f88- 2e79-436f- 99a8-d9e4dccf3c 55"}
$ juju run --unit ovn-chassis/0 'sudo shutdown -r now'
$ sudo ovs-vsctl list open-vswitch
...
external_ids : {hostname=
$ hostname -f
juju-d4e71d-
# sudo apt install openvswitch-common openvswitch-switch python3-openvswitch
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
openvswitch-doc
The following packages will be upgraded:
openvswitch-
3 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
Need to get 2783 kB of archives.
After this operation, 28.7 kB of additional disk space will be used.
Get:1 http://
Get:2 http://
Get:3 http://
Fetched 2783 kB in 1s (1986 kB/s)
(Reading database ... 53438 files and directories currently installed.)
Preparing to unpack .../python3-
Unpacking python3-openvswitch (2.13.3-
.04.4) ...
Preparing to unpack .../openvswitch
Unpacking openvswitch-common (2.13.3-
04.4) ...
Preparing to unpack .../openvswitch
Unpacking openvswitch-switch (2.13.3-
04.4) ...
Setting up python3-openvswitch (2.13.3-
Setting up openvswitch-common (2.13.3-
Setting up openvswitch-switch (2.13.3-
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for systemd (245.4-4ubuntu3.6) ...
$ juju run --unit ovn-chassis/0 'ovs-vsctl remove open-vswitch . external-ids hostname'
$ juju run --unit ovn-chassis/0 'sudo shutdown -r now'
$ sudo ovs-vsctl list open-vswitch
...
external_ids : {hostname=