Closed pengale closed 5 years ago
WIP because this relies on a fork of snap.openstack. Can't merge this until we merge https://review.opendev.org/#/c/670411/1
Having reviewed this I think we're going to end up with two clear modes of operation - one which is the current microstack model where everything is sandboxed and isolated, the other being where its more generally wired into the outside world.
For the second configuration I suspect that we'll just want to wire the external ovs bridge directly to a network connection without any IP address information, and bind the API endpoints and horizon onto a different IP address on the host.
Lets make sure we don't overlay extgateway to much with API endpoint - that way we'll have less to unpick later!.
As an aside I think the configuration code is going to get to a point of complexity where bash no longer makes sense - we'll probably want some sort of microstack configurator python project to deal with this.
Moved to opendev.org
Moved openstack env variables out of snapcraft.yaml, and into a "microtack.rc".
Made openstack-wrapper, which auto sources microstack.rc.
Key off of revised snap.openstack, which supports snapctl config values in templates. Moved a lot of the overlay into snap-overlay/templates, and added config values to them. Also writes templates just once, when you run snap-openstack setup.