[openstack-dev] [neutron] [neutron-lbaas][octavia] Error in installing octavia via devstack on ubuntu stable/mitaka

Michael Johnson johnsomor at gmail.com
Fri Oct 28 14:10:35 UTC 2016


Hi Wanjing,

I responded to you in IRC but you may have logged off by the time I
was able to respond.

You are correct that this is an issue.  We just this week noticed it.
It was an oversight that is causing the amphora agent to clone the
master branch amphora agent code instead of the stable/mitaka version.

There are two patches up that will fix this:
https://review.openstack.org/390896
https://review.openstack.org/391063

You can also manually fix this by editing:
elements/amphora-agent-ubuntu/source-repository-amphora-agent

and changing the line to:
amphora-agent git /opt/amphora-agent
https://review.openstack.org/openstack/octavia stable/mitaka

Then rebuilding the image or re-stacking with reclone disabled.

Sorry for the inconvenience,
Michael



On Fri, Oct 28, 2016 at 1:57 AM, Wanjing Xu (waxu) <waxu at cisco.com> wrote:
> Hi
>
> This is the first time  I tried to install octavia.  But it error out
> at(from stack.sh.log):
>
>
> 2016-10-25 22:50:45.270 | creating /usr/local/etc/octavia
> 2016-10-25 22:50:45.270 | copying etc/octavia.conf -> /usr/local/etc/octavia
> 2016-10-25 22:50:45.270 | running install_egg_info
> 2016-10-25 22:50:45.271 | Copying octavia.egg-info to
> /usr/local/lib/python2.7/dist-packages/octavia-0.9.1.dev57-py2.7.egg-info
> 2016-10-25 22:50:45.272 | running install_scripts
> 2016-10-25 22:50:45.288 | Installing octavia-worker script to /usr/local/bin
> 2016-10-25 22:50:45.288 | Installing octavia-health-manager script to
> /usr/local/bin
> 2016-10-25 22:50:45.289 | Installing octavia-housekeeping script to
> /usr/local/bin
> 2016-10-25 22:50:45.289 | Installing octavia-db-manage script to
> /usr/local/bin
> 2016-10-25 22:50:45.289 | Installing haproxy-vrrp-check script to
> /usr/local/bin
> 2016-10-25 22:50:45.289 | Installing amphora-agent script to /usr/local/bin
> 2016-10-25 22:50:45.289 | Installing octavia-api script to /usr/local/bin
> 2016-10-25 22:50:45.310 | + cp etc/init/amphora-agent.conf /etc/init/
> 2016-10-25 22:50:45.312 | cp: cannot stat 'etc/init/amphora-agent.conf': No
> such file or directory
> 2016-10-25 22:50:45.764 | Unmount
> /tmp/dib_build.EFA965tj/mnt/var/cache/apt/archives
> 2016-10-25 22:50:45.807 | Unmount /tmp/dib_build.EFA965tj/mnt/tmp/pip
>
> This is stable/mitaka, even though I manually invoked the following, it
> errored out at the same place
>
> /opt/stack/octavia/diskimage-create/diskimage-create.sh -s 2
>
>
> Could somebody please help out on why it errored here.?
>
> Here is a snippet of my local.conf:
> ...
> enable_service q-lbaasv2
> disable_service tempest
> enable_service octavia o-cw o-hk o-hm o-api
>
> enable_plugin neutron-lbaas
> https://git.openstack.org/openstack/neutron-lbaas stable/mitaka
> enable_plugin octavia https://git.openstack.org/openstack/octavia
> stable/mitaka
> ….
>
> Thanks
> Wanjing Xu
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



More information about the OpenStack-dev mailing list