Comment 1 for bug 1847905

Revision history for this message
Dincer Celik (dincercelik) wrote :

I'm facing the same issue, and the root cause is a code mismatch. octavia-worker is trying to access the amphora api via "/0.5/info" but it does not exist. The correct version is 1.0, however source code of octavia still points to 0.5. If you try running https://172.16.103.35:9443/1.0/info, you'll see it works.

My current workaround is using template-overrides for building octavia images. Example;

{% block octavia_base_footer %}
RUN sed -i "s/API_VERSION = '0.5'/API_VERSION = '1.0'/g" /usr/lib/python3/dist-packages/octavia/common/constants.py
RUN sed -i "s/VERSION = '0.5'/VERSION = '1.0'/g" /usr/lib/python3/dist-packages/octavia/amphorae/backends/agent/api_server/__init__.py
{% endblock %}