When we run tox -e genconfig, We are getting this:
14:34 $ tox -e genconfig -v
using tox.ini: /opt/stack/rally/tox.ini
using tox-2.3.1 from /usr/lib/python2.7/site-packages/tox/__init__.pyc
genconfig reusing: /opt/stack/rally/.tox/genconfig
/opt/stack/rally$ /opt/stack/rally/.tox/genconfig/bin/python /opt/stack/rally/setup.py --name
genconfig develop-inst-noop: /opt/stack/rally
/opt/stack/rally$ /opt/stack/rally/.tox/genconfig/bin/pip freeze >/opt/stack/rally/.tox/genconfig/log/genconfig-4.log
genconfig installed: alembic==0.8.8,apipkg==1.4,appdirs==1.4.0,Babel==2.3.4,boto==2.42.0,cffi==1.8.3,cliff==2.2.0,cmd2==0.6.8,contextlib2==0.5.4,coverage==4.2,cryptography==1.5.2,ddt==1.1.0,debtcollector==1.8.0,decorator==4.0.10,docutils==0.12,dogpile.cache==0.6.2,enum34==1.1.6,eventlet==0.19.0,execnet==1.4.1,extras==1.0.0,fasteners==0.14.1,fixtures==3.0.0,flake8==2.1.0,funcsigs==1.0.2,functools32==3.2.3.post2,futures==3.0.5,futurist==0.18.0,gnocchiclient==2.6.0,greenlet==0.4.10,hacking==0.9.6,idna==2.1,ipaddress==1.0.17,iso8601==0.1.11,Jinja2==2.8,jsonpatch==1.14,jsonpointer==1.10,jsonschema==2.5.1,keystoneauth1==2.12.1,linecache2==1.0.0,Mako==1.0.4,MarkupSafe==0.23,mccabe==0.2.1,mock==2.0.0,monotonic==1.2,mox3==0.18.0,msgpack-python==0.4.8,netaddr==0.7.18,netifaces==0.10.5,openstacksdk==0.9.7,os-client-config==1.21.1,osc-lib==1.1.0,oslo.concurrency==3.14.0,oslo.config==3.17.0,oslo.context==2.9.0,oslo.db==4.13.3,oslo.i18n==3.9.0,oslo.log==3.16.0,oslo.middleware==3.19.0,oslo.serialization==2.13.0,oslo.service==1.16.0,oslo.utils==3.16.0,oslosphinx==4.7.0,oslotest==2.10.0,paramiko==2.0.2,Paste==2.0.3,PasteDeploy==1.5.2,pbr==1.10.0,pep8==1.5.6,ply==3.9,positional==1.1.1,prettytable==0.7.2,py==1.4.31,pyasn1==0.1.9,pycparser==2.14,pyflakes==0.8.1,Pygments==2.1.3,pyinotify==0.9.6,pyOpenSSL==16.1.0,pyparsing==2.1.9,pytest==3.0.3,pytest-cov==2.3.1,pytest-html==1.10.1,pytest-xdist==1.15.0,python-ceilometerclient==2.6.1,python-cinderclient==1.9.0,python-cueclient==1.0.0,python-dateutil==2.5.3,python-designateclient==2.3.0,python-editor==1.0.1,python-glanceclient==2.5.0,python-heatclient==1.5.0,python-ironicclient==1.7.0,python-keystoneclient==3.5.0,python-magnumclient==2.3.0,python-manilaclient==1.11.0,python-mimeparse==1.5.3,python-mistralclient==2.1.1,python-monascaclient==1.2.0,python-muranoclient==0.11.0,python-neutronclient==6.0.0,python-novaclient==6.0.0,python-openstackclient==3.2.0,python-saharaclient==0.18.0,python-senlinclient==1.0.0,python-subunit==1.2.0,python-swiftclient==3.1.0,python-troveclient==2.5.0,python-watcherclient==0.25.0,python-zaqarclient==1.2.0,pytz==2016.6.1,PyYAML==3.12,-e git+https://github.com/openstack/rally.git@449bfcb4e2aa71ae3f0b4db87113ec4fd9d70841#egg=rally,repoze.lru==0.6,requests==2.11.1,requestsexceptions==1.1.3,retrying==1.3.3,rfc3986==0.4.1,Routes==2.3.1,simplejson==3.8.2,six==1.10.0,Sphinx==1.2.3,SQLAlchemy==1.0.15,sqlalchemy-migrate==0.10.0,sqlparse==0.2.1,stevedore==1.17.1,Tempita==0.5.2,testrepository==0.0.20,testscenarios==0.5.0,testtools==2.2.0,traceback2==1.4.0,unicodecsv==0.14.1,unittest2==1.1.0,warlock==1.2.0,WebOb==1.6.1,wrapt==1.10.8,yaql==1.1.1
genconfig runtests: PYTHONHASHSEED='0'
genconfig runtests: commands[0] | oslo-config-generator --config-file etc/rally/rally-config-generator.conf
/opt/stack/rally$ /opt/stack/rally/.tox/genconfig/bin/oslo-config-generator --config-file etc/rally/rally-config-generator.conf
WARNING:stevedore.named:Could not load oslo.db, rally, oslo.log
__________________________________________________________________________________________ summary ___________________________________________________________________________________________
genconfig: commands succeeded
congratulations :)
I think there is something wrong with https://github.com/openstack/rally/blob/master/rally/common/opts.py#L38 list_opts method.
That's why it is giving warning WARNING:stevedore.named:Could not load oslo.db, rally, oslo.log
I've seen this for Neutron jobs, too, seems to be a general issue with oslo-config- generator.