[Octavia] Amphora build issues

Michael Johnson johnsomor at gmail.com
Wed Oct 16 20:50:50 UTC 2019


Hi Eric,

You are correct, diskimage-builder defaults to pulling the master
version of the amphora agent.

You want to set the following variables:

export DIB_REPOREF_amphora_agent=stable/stein

Then run the diskimage-create script.

See the guide for more information:
https://docs.openstack.org/octavia/latest/admin/amphora-image-build.html#environment-variables

Michael

On Wed, Oct 16, 2019 at 1:09 PM Eric K. Miller
<emiller at genesishosting.com> wrote:
>
> Just an update on this.
>
> It appears that the diskimage-create script is pulling the master
> version of the Octavia amphora agent, instead of the Stein branch.
>
> I took a closer look at the first error line:
>
> 2019-10-16 19:47:46.389 1160 ERROR octavia   File
> "/opt/amphora-agent-venv/lib/python3.5/site-packages/octavia/cmd/agent.p
> y", line 89, in main
> 2019-10-16 19:47:46.389 1160 ERROR octavia
> AmphoraAgent(server_instance.app, options).run()
>
> and it references line 89, which doesn't exist in agent.py except in the
> master branch.
>
> I had cloned the Stein branch of Octavia here:
> git clone -b stable/stein https://github.com/openstack/octavia.git
>
> I will keep looking...
>
> Eric
>
>
>
>



More information about the openstack-discuss mailing list