Hi,
Octavia (LBaaS v2) uses service VMs (called an amphora) to do the
actual load-balancing work. The amphora is built with a
diskimage-builder script [0] and I have a patch in progress to update
it to use distribution packages [1]
Currently, in addition to the "usual" deployment steps, the user will
have to create/update the amphora image manually with a procedure
looking like:
* install openstack-octavia-diskimage-create RPM (script and dependencies)
* customize a CentOS cloud image to add yum repositories (mostly for
the amphora agent)
* run the script in "distribution" mode, which will install packages
instead of fetching upstream git
* upload and tag the new image in glance
Would it possible here to automate this process and provide an already
built image in the repo (with updated packages inside)? It would have
some advantages:
* easier install/maintenance for the user, tripleo can consume the
image directly (from a package)
* ensuring up-to-date amphora images (to match the controller version,
for security updates, …)
* allow to test and confirm the amphora works properly with latest
changes, including enforcing SELinux (CentOS upstream gate runs in
permissive)
* use this image in tripleo CI (instead of having to build it there)
* (future) extend this system for other system VM images
To work, this needs access to a repo with the newly built packages
(both to install the latest script, and for DIB to pick the correct
packages).
Thoughts?
[0]
https://github.com/openstack/octavia/blob/master/diskimage-create/diskima...
[1]
https://review.openstack.org/#/c/522626/
--
Bernard Cafarelli