octavia/devstack
Carlos Goncalves 131c69608d Fix amphora image build
DIB dropped Python 2 support in its version 3.0.0 major release and as
so we had to pin it to 2.30.0 in stable/stein and stable/train branches.
However, upstream get-pip.sh recently introduced a regression where it
does not work well with Python <-3.5. Sadly, DIB 2.30.0 points to master
get-pip.sh [1] and DIB is branchless so the fix cannot be backported and
we are in a deadlock scenario where Python <=3.5 amphora images can't be
built.

To work-around this issue on stable/train, we have to make a compromise:
either build amphora images using master DIB and Python 3 only or be
stuck (unless someone else can come up with another approach, all ears).
Ussuri and newer releases are not impacted by this issue as they are
Python >=3.6 only releases.

The same issue also applies to Stein and that has an impact on the
octavia-grenade CI job in stable/train. Since Stein Octavia is EOL [2],
we no longer have to test upgrades.

[1] https://review.opendev.org/c/openstack/diskimage-builder/+/772254
[2] https://review.opendev.org/c/openstack/releases/+/772847

Change-Id: I13da9a49ace803e957dc52e4882b78141bc7bef3
2021-02-19 19:14:36 +01:00
..
contrib Rename review.openstack.org to review.opendev.org 2019-05-29 00:21:34 +00:00
etc Amphora logging 2019-06-14 09:02:26 -07:00
files Amphora logging 2019-06-14 09:02:26 -07:00
pregenerated Use dual intermediate CAs for devstack 2019-08-27 16:28:12 -07:00
samples Replace git.openstack.org URLs with opendev.org URLs 2019-05-13 19:59:59 +00:00
upgrade Replace git.openstack.org URLs with opendev.org URLs 2019-05-13 19:59:59 +00:00
README.md Update devstack plugin 2020-09-21 08:07:41 +02:00
plugin.sh Fix amphora image build 2021-02-19 19:14:36 +01:00
settings Update devstack plugin 2020-09-21 08:07:41 +02:00

README.md

This directory contains the octavia devstack plugin. To configure octavia, in the local section you will need to enable the octavia devstack plugin and enable the octavia service by editing the local section of your local.conf file.

  1. Enable the plugin

To enable the octavia plugin, add a line of the form:

enable_plugin octavia <GITURL> [GITREF]

where

<GITURL> is the URL of an octavia repository
[GITREF] is an optional git ref (branch/ref/tag).  The default is
         master.

For example

enable_plugin octavia https://opendev.org/openstack/octavia master
  1. Enable the Octavia services

For example

ENABLED_SERVICES+=,octavia,o-api,o-cw,o-hk,o-hm,o-da

For more information, see the "Externally Hosted Plugins" section of https://docs.openstack.org/devstack/latest/plugins.html