[kolla][neutron][networking-infoblox] Python3 issue: "TypeError: Unicode-objects must be encoded before hashing"
marcin.juszkiewicz at linaro.org
Tue May 28 10:19:18 UTC 2019
W dniu 07.05.2019 o 09:34, Marcin Juszkiewicz pisze:
> W dniu 07.05.2019 o 08:42, Marcin Juszkiewicz pisze:
>> I am working on making Kolla images Python 3 only. So far images are py3
>> but then there are issues during deployment phase which I do not know
>> how to solve.
>> https://review.opendev.org/#/c/642375/ is a patch.
>> 'kolla-ansible-ubuntu-source' CI job deploys using Ubuntu 18.04 based
>> images. And fails.
>> Log  shows something which looks like 'works in py2, not tested with py3'
>> 1. http://logs.openstack.org/75/642375/19/check/kolla-ansible-ubuntu-source/40878ed/primary/logs/ansible/deploy
>> " File \"/var/lib/kolla/venv/lib/python3.6/site-packages/networking_infoblox/neutron/common/utils.py\", line 374, in get_hash",
>> " return hashlib.md5(str(time.time())).hexdigest()",
>> "TypeError: Unicode-objects must be encoded before hashing"
Looking at progress of https://review.opendev.org/#/c/657578/ patch
I decided to ignore existance of 'networking_infoblox' project.
Added all core reviewers and got completely ignored on one line patch
making that thing work with Python 3.
Hope that other x/* projects are better maintained ;d
More information about the openstack-discuss