[Octavia] Amphora build issues

Eric K. Miller emiller at genesishosting.com
Thu Oct 17 05:14:58 UTC 2019


Success!

The current Kolla Ansible release simply has the 4.0.1 version specified in kolla-build.conf, which can be easily updated to 4.1.0.

So, I adjusted the kolla-build.conf file, re-built the Octavia containers, deleted the containers from the controllers, re-deployed Octavia with Kolla Ansible, and tested load balancer creation, and everything succeeded.

Again, much appreciated for the assistance.

Eric

> -----Original Message-----
> From: Michael Johnson [mailto:johnsomor at gmail.com]
> Sent: Wednesday, October 16, 2019 5:36 PM
> To: Eric K. Miller
> Cc: openstack-discuss
> Subject: Re: [Octavia] Amphora build issues
> 
> This is caused by the controller version being older than the image
> version. Our upgrade strategy requires the control plane be updated
> before the image.
> A few lines above in the log you will see it is attempting to connect
> to /0.5 and not finding it.
> 
> You have two options:
> 1. update the controllers to use the latest stable/stein verison
> 2. build a new image, but limit it to an older version of stein (such
> as commit 15358a71e4aeffee8a3283ed08137e3b6daab52e)
> 
> We would recommend you run the latest minor release of stable/stein.
> (4.1.0 is the latest)
> https://releases.openstack.org/stein/index.html#octavia
> 
> I'm not sure why kolla would install an old release. I'm not very
> familiar with it.
> 
> Michael
> 
> On Wed, Oct 16, 2019 at 2:43 PM Eric K. Miller
> <emiller at genesishosting.com> wrote:
> >
> > Looking at the error, it appears it can't find the exceptions.py script, but it
> appears to be in the octavia worker container:
> >
> > 2019-10-16 16:27:49.416 23 ERROR oslo_messaging.rpc.server
> WrappedFailure: WrappedFailure: [Failure:
> octavia.amphorae.drivers.haproxy.exceptions.NotFound: Not Found,
> Failure: octavia.amphorae.drivers.haproxy.exceptions.NotFound: Not
> Found]
> >
> > (octavia-worker)[root at controller001 haproxy]# cd
> /var/lib/kolla/venv/lib/python2.7/site-
> packages/octavia/amphorae/drivers/haproxy
> > (octavia-worker)[root at controller001 haproxy]# ls -al
> > total 84
> > drwxr-xr-x. 2 root root   186 Sep 29 08:12 .
> > drwxr-xr-x. 6 root root   156 Sep 29 08:12 ..
> > -rw-r--r--. 1 root root  3400 Sep 29 08:12 data_models.py
> > -rw-r--r--. 1 root root  4797 Sep 29 08:12 data_models.pyc
> > -rw-r--r--. 1 root root  2298 Sep 29 08:12 exceptions.py
> > -rw-r--r--. 1 root root  3326 Sep 29 08:12 exceptions.pyc
> > -rw-r--r--. 1 root root   572 Sep 29 08:12 __init__.py
> > -rw-r--r--. 1 root root   163 Sep 29 08:12 __init__.pyc
> > -rw-r--r--. 1 root root 26572 Sep 29 08:12 rest_api_driver.py
> > -rw-r--r--. 1 root root 25269 Sep 29 08:12 rest_api_driver.pyc
> >
> > Eric



More information about the openstack-discuss mailing list