Comment 2 for bug 1469197

Revision history for this message
Matt Riedemann (mriedem) wrote : Re: tox genconfig shouldn't rely on sitepackages

And you need oslo.utils for versionutils.py, which I have in my tox env:

(genconfig)mriedem@ubuntu:~/git/nova$ pip freeze | grep oslo
oslo.concurrency==2.1.0
oslo.config==1.12.1
oslo.context==0.4.0
oslo.db==1.12.0
oslo.i18n==2.0.0
oslo.log==1.5.0
oslo.messaging==1.15.0
oslo.middleware==2.3.0
oslo.rootwrap==2.0.0
oslo.serialization==1.6.0
oslo.utils==1.6.0
oslo.versionedobjects==0.4.0
oslo.vmware==0.15.0
oslosphinx==3.0.0
oslotest==1.8.0

And oslo-config-generator is in there also:

(genconfig)mriedem@ubuntu:~/git/nova$ which oslo-config-generator
/home/mriedem/git/nova/.tox/genconfig/bin/oslo-config-generator

Found the problem - it's the versionutils entry in nova-config-generator.conf, there is an entry for versionutils which doesn't exist in nova so stevedore can't load the module.

This should have been caught during code review - someone should have manually pulled down the change and tested it out since we don't have a CI job for generating and comparing nova.conf.