CanonicalLtd / microstack

Snap for installing an all-in-one OpenStack
46 stars 15 forks source link

Fixed issue w/ network going away after reboot. #45

Closed pengale closed 5 years ago

pengale commented 5 years ago

We weren't creating a netplan config and/or and entry in /etc/network/interfaces for br-ex.

Since we don't actually want to touch the host system, I added a wrapper around neutron-server that sets up a transient br-ex before the neutron-server daemon starts. This addresses the issue in a lightweight way that will automatically clean itself up after the snap is uninstalled and the host reboots.

javacruft commented 5 years ago

Rather than intercepting the call to start neutron-server (which does not actually make use of the configure bridge - its just for end-user access to floating IP's) why don't we use a oneshot type daemon in the snap to just run the ovs configuration step by itself?