Comment 2 for bug 1844931

Revision history for this message
Steven Parker (sbparke) wrote :

The latest octavia charm v#11 will not work with amphora image built from --branch stable/stein due to this issue. I built the amphora image from stable/stein and the API version referenced from the octavia charm installation is v0.5 but the version has changed for the amphora virtual machine to v1.0. This results in a failure to query the REST interface hosted by the amphora image from octavia.

WORK AROUND

# use the release tags for stein not the master branch for stein
# git rev-list -n 1 4.0.1
# note version 4.1.0 does not work

export DIB_REPOREF_amphora_agent=<Tag hash from above>
export DIB_REPOLOCATION_amphora_agent=https://opendev.org/openstack/octavia

Then you can build the amphora image

./diskimage-create/diskimage-create.sh -d bionic -t raw -s 3

octavia code ....
# API_VERSION = '0.5'
# ./octavia/common/constants.py

Thanks,

  Steven