All interfaces inside juju-provisioned machine become unmanaged after upgrade to 106
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Upgrading juju-managed Ceph and seeing the containers (mons & rgws) fail to bring up networking after the update. Netplan apply now throws a bunch of warnings re permissions and gateway4 which i resolved by chmod 600 for the netplan config file and replacement of the gateway4 key with the new routes section... but interfaces _still_ all show as "unmanaged" in `netplan status` despite the MAC addresses matching up to those in the juju-created netplan.
Manually assigning IPs and routes restores functionality, but there is no indication of failure/error, just:
```
WARNING:root:Cannot call Open vSwitch: ovsdb-server.
root@juju-
Online state: offline
DNS Addresses: 127.0.0.53 (stub)
DNS Search: .
● 1: lo ethernet UNKNOWN/UP (unmanaged)
MAC Address: 00:00:00:00:00:00
Addresses: 127.0.0.1/8
● 11: eth0 ethernet UP (unmanaged)
MAC Address: 00:16:3e:bf:25:da
Addresses: fe80::216:
Routes: fe80::/64 metric 256
● 13: eth1 ethernet UP (unmanaged)
MAC Address: 00:16:3e:7a:c1:6e
Addresses: fe80::216:
Routes: fe80::/64 metric 256
```
Current fix inside the LXD is `apt install netplan. io=0.104- 0ubuntu2 libnetplan0= 0.104-0ubuntu2 -y --allow-downgrades && reboot` which results in them coming up with working ifaces... netplan 105 is no longer in the repos and 106 breaks on configurations generated by older kit.
Juju, LXD, and NetPlan are great ideas but they require inter-version compatibility (at least forward-facing) to be viable.