Skip to content

Commit cdc5a27

Browse files
authored
Add workaround for buggy etcdgw library (#446)
undefined
1 parent 531dfd1 commit cdc5a27

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

etc/kayobe/kolla.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,16 @@ kolla_build_blocks:
307307
RUN sed -i 's/"pc-q35-rhel8.5.0"/"pc-q35-*"/' /usr/share/qemu/firmware/50-edk2-ovmf-cc.json
308308
{% endif %}
309309
{% endraw %}
310+
neutron_server_footer: |
311+
# This is a workaround for a bug in etcd3gw that was fixed in 1.0.1, but not in v0.2.3.
312+
# https://opendev.org/openstack/etcd3gw/commit/ed899b34e464862525f76fff2377a2cceeb65af7
313+
{% raw %}
314+
{% if base_distro == 'centos' %}
315+
RUN sed -i 's/decode_unicode=True/decode_unicode=False/' /var/lib/kolla/venv/lib/python3.6/site-packages/etcd3gw/watch.py
316+
{% elif base_distro == 'ubuntu' %}
317+
RUN sed -i 's/decode_unicode=True/decode_unicode=False/' /var/lib/kolla/venv/lib/python3.8/site-packages/etcd3gw/watch.py
318+
{% endif %}
319+
{% endraw %}
310320
311321
kolla_build_customizations_common:
312322
bifrost_base_pip_packages_append:

etc/kayobe/kolla/globals.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ docker_yum_gpgkey: "https://download.docker.com/linux/centos/gpg"
77
bifrost_tag: wallaby-20230207T194135
88
blazar_tag: wallaby-20230303T172322
99
caso_tag: wallaby-20230303T172322
10-
neutron_tag: wallaby-20230307T113517
10+
neutron_tag: wallaby-20230317T170927
1111
{% else %}
1212
bifrost_tag: wallaby-20230215T160405
1313
blazar_tag: wallaby-20230303T172458
1414
caso_tag: wallaby-20230303T172458
1515
keystone_tag: wallaby-20230308T104024
16-
neutron_tag: wallaby-20230307T121824
16+
neutron_tag: wallaby-20230317T170930
1717
{% endif %}
1818

1919
glance_tls_proxy_tag: "{% raw %}{{ haproxy_tag | default(openstack_tag) }}{% endraw %}"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
The etcdgw library in the neutron-server container has been patched to
5+
workaround a python3 incompatability. This affects the batching feature in
6+
networking generic switch.

0 commit comments

Comments
 (0)