Comment 1 for bug 1884035

Revision history for this message
Vadym Kukharenko (kuhar2009) wrote :

Hello.

I find solution, just clone kolla repo:
https://github.com/openstack/kolla
Cheout for needed branch, for example stein and change Dockerfile for neutron_lbaas_agent:
https://github.com/openstack/kolla/blob/stable/stein/docker/neutron/neutron-lbaas-agent/Dockerfile.j2

I added command before USER neutron:
RUN sed -i "s|5000|50000|g" /usr/lib/python3/dist-packages/neutron_lbaas/drivers/haproxy/templates/haproxy_base.j2

Then generated own image with kolla-build by manual:
https://docs.openstack.org/kolla/latest/admin/image-building.html

And use for neutron lbaas agent own image.