Generating kolla-build.conf with tox 4 file throws "WARNING:stevedore.named:Could not load kolla"
root@dockerregistry:/tmp/kolla# pip freeze | grep tox tox==4.12.1
root@dockerregistry:/tmp/kolla# tox -e genconfig genconfig: install_deps> python -I -m pip install -r /tmp/kolla/requirements.txt -r /tmp/kolla/test-requirements.txt -c https://releases.openstack.org/constraints/upper/yoga genconfig: commands[0]> oslo-config-generator --config-file etc/oslo-config-generator/kolla-build.conf WARNING:stevedore.named:Could not load kolla genconfig: OK (9.89=setup[9.74]+cmd[0.16] seconds) congratulations :) (9.98 seconds)
On the other hand, tox 3 works without any issue
root@dockerregistry:/tmp/kolla# pip freeze | grep tox tox==3.28.0
root@dockerregistry:/tmp/kolla# tox -e genconfig genconfig create: /tmp/kolla/.tox/genconfig genconfig installdeps: -chttps://releases.openstack.org/constraints/upper/yoga, -r/tmp/kolla/requirements.txt, -r/tmp/kolla/test-requirements.txt genconfig develop-inst: /tmp/kolla genconfig installed: attrs==21.4.0,autopage==0.5.0,bandit==1.7.7,bashate==2.1.0,certifi==2023.11.17,charset-normalizer==2.0.12,cliff==3.10.1,cmd2==2.4.0,coverage==6.3.2,ddt==1.4.4,debtcollector==2.5.0,docker==5.0.3,entrypoints==0.3,extras==1.0.0,fixtures==3.0.0,flake8==3.7.9,future==0.18.2,gitdb==4.0.9,GitPython==3.1.27,hacking==3.0.1,idna==3.3,Jinja2==3.0.3,-e git+https://opendev.org/openstack/kolla.git@90c4617d7743da65e848d961d48fc102238c4351#egg=kolla,markdown-it-py==2.2.0,MarkupSafe==2.1.0,mccabe==0.6.1,mdurl==0.1.2,netaddr==0.8.0,oslo.config==8.8.1,oslo.i18n==5.1.0,oslotest==4.5.0,pbr==5.8.1,prettytable==3.1.1,pycodestyle==2.5.0,pyflakes==2.1.1,Pygments==2.11.2,pyparsing==3.0.7,pyperclip==1.8.2,python-subunit==1.4.0,PyYAML==6.0,requests==2.27.1,rfc3986==1.5.0,rich==13.2.0,six==1.16.0,smmap==5.0.0,stestr==3.2.1,stevedore==3.5.2,testtools==2.5.0,typing_extensions==4.1.1,urllib3==1.26.8,voluptuous==0.12.2,wcwidth==0.2.5,websocket-client==1.2.3,wrapt==1.13.3 genconfig run-test-pre: PYTHONHASHSEED='3806195995' genconfig run-test: commands[0] | oslo-config-generator --config-file etc/oslo-config-generator/kolla-build.conf /tmp/kolla/.tox/genconfig/lib/python3.8/site-packages/oslo_config/types.py:57: UserWarning: converting '[]' to a string warnings.warn('converting \'%s\' to a string' % str_val) ______________________________________________________________________________________________________________________ summary ______________________________________________________________________________________________________________________ genconfig: commands succeeded congratulations :)
Generating kolla-build.conf with tox 4 file throws "WARNING: stevedore. named:Could not load kolla"
root@dockerregi stry:/tmp/ kolla# pip freeze | grep tox
tox==4.12.1
root@dockerregi stry:/tmp/ kolla# tox -e genconfig requirements. txt -r /tmp/kolla/ test-requiremen ts.txt -c https:/ /releases. openstack. org/constraints /upper/ yoga generator --config-file etc/oslo- config- generator/ kolla-build. conf stevedore. named:Could not load kolla 9.74]+cmd[ 0.16] seconds)
genconfig: install_deps> python -I -m pip install -r /tmp/kolla/
genconfig: commands[0]> oslo-config-
WARNING:
genconfig: OK (9.89=setup[
congratulations :) (9.98 seconds)
On the other hand, tox 3 works without any issue
root@dockerregi stry:/tmp/ kolla# pip freeze | grep tox
tox==3.28.0
root@dockerregi stry:/tmp/ kolla# tox -e genconfig .tox/genconfig //releases. openstack. org/constraints /upper/ yoga, -r/tmp/ kolla/requireme nts.txt, -r/tmp/ kolla/test- requirements. txt 21.4.0, autopage= =0.5.0, bandit= =1.7.7, bashate= =2.1.0, certifi= =2023.11. 17,charset- normalizer= =2.0.12, cliff== 3.10.1, cmd2==2. 4.0,coverage= =6.3.2, ddt==1. 4.4,debtcollect or==2.5. 0,docker= =5.0.3, entrypoints= =0.3,extras= =1.0.0, fixtures= =3.0.0, flake8= =3.7.9, future= =0.18.2, gitdb== 4.0.9,GitPython ==3.1.27, hacking= =3.0.1, idna==3. 3,Jinja2= =3.0.3, -e git+https:/ /opendev. org/openstack/ kolla.git@ 90c4617d7743da6 5e848d961d48fc1 02238c4351# egg=kolla, markdown- it-py== 2.2.0,MarkupSaf e==2.1. 0,mccabe= =0.6.1, mdurl== 0.1.2,netaddr= =0.8.0, oslo.config= =8.8.1, oslo.i18n= =5.1.0, oslotest= =4.5.0, pbr==5. 8.1,prettytable ==3.1.1, pycodestyle= =2.5.0, pyflakes= =2.1.1, Pygments= =2.11.2, pyparsing= =3.0.7, pyperclip= =1.8.2, python- subunit= =1.4.0, PyYAML= =6.0,requests= =2.27.1, rfc3986= =1.5.0, rich==13. 2.0,six= =1.16.0, smmap== 5.0.0,stestr= =3.2.1, stevedore= =3.5.2, testtools= =2.5.0, typing_ extensions= =4.1.1, urllib3= =1.26.8, voluptuous= =0.12.2, wcwidth= =0.2.5, websocket- client= =1.2.3, wrapt== 1.13.3 '3806195995' generator --config-file etc/oslo- config- generator/ kolla-build. conf .tox/genconfig/ lib/python3. 8/site- packages/ oslo_config/ types.py: 57: UserWarning: converting '[]' to a string warn('convertin g \'%s\' to a string' % str_val) _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ ______ summary _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ ______
genconfig create: /tmp/kolla/
genconfig installdeps: -chttps:
genconfig develop-inst: /tmp/kolla
genconfig installed: attrs==
genconfig run-test-pre: PYTHONHASHSEED=
genconfig run-test: commands[0] | oslo-config-
/tmp/kolla/
warnings.
_______
genconfig: commands succeeded
congratulations :)