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 [1] shows something which looks like 'works in py2, not tested with py3' code:
" 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