data-ports mapping to linuxbridge interfaces fails on fresh bionic-stein install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
Fix Released
|
High
|
Unassigned | ||
OpenStack Neutron Gateway Charm |
In Progress
|
High
|
Unassigned | ||
OpenStack Neutron Open vSwitch Charm |
In Progress
|
High
|
Unassigned |
Bug Description
With data-port set to "br-data:br-prov" and br-prov being a linux-bridge containing the external provider network trunk (e.g. bond1, eth1), bionic neutron-gateway config-changed hook provides Traceback indicating lack of /etc/network/
Traceback (most recent call last):
File "hooks/
main()
File "hooks/
hooks.
File "/var/lib/
self.
File "/var/lib/
stopstart, restart_functions)
File "/var/lib/
r = lambda_f()
File "/var/lib/
(lambda: f(*args, **kwargs)), __restart_
File "/var/lib/
return f(*args, **kwargs)
File "hooks/
configure_ovs()
File "/var/lib/
add_
File "/var/lib/
linuxbridge
FileNotFoundError: [Errno 2] No such file or directory: '/etc/network/
To reproduce, deploy bionic-stein neutron-gateway and supporting charms (openstack-on-lxd would work), set up a linuxbridge on n-gw/0 containing the external network interface (eth1 for os-on-lxd) called br-prov, set up data-port=
Doing a mkdir /etc/network/
The code that needs netplan-aware refactoring is:
https:/
Changed in charm-helpers: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in charm-neutron-gateway: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in charm-neutron-gateway: | |
status: | In Progress → Incomplete |
Changed in charm-neutron-openvswitch: | |
status: | In Progress → Incomplete |
Changed in charm-helpers: | |
status: | Confirmed → Incomplete |
Indeed, will be fixed by https:/ /github. com/juju/ charm-helpers/ pull/449
Unfortunately, as explained in this PR, it's not easy to move to netplan, because of lp:1876730