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:
1. http://logs.openstack.org/75/642375/19/check/kolla-ansible-ubuntu-source/408...
" 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" ],
Any ideas which project goes wrong? And how/where to fix it?
Found something interesting. And no idea who to blame... We use http://tarballs.openstack.org/networking-infoblox/networking-infoblox-master... during development. But master == 2.0.3dev97 So I checked on tarballs and on Pypi: newton = 9.0.1 ocata = 10.0.1 pike = 11.0.1 queens = 12.0.1 rocky = 13.0.0 (tarballs only) stein is not present Each of those releases were done from same code but changelog always says 2.0.2 -> current.release.0 -> current.release.update Can not it be versioned in sane way? 2.0.2 -> 9.0.0 -> 10.0.0 -> 11.0.0 -> 12.0.0 -> 13.0.0 -> 13.x.ydevz?