WARNING:stevedore.named:Could not load oslo.db, rally, oslo.log

Bug #1629232 reported by chandan kumar
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Rally
Invalid
Undecided
Unassigned
oslo.config
Fix Released
Undecided
chandan kumar

Bug Description

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

Changed in rally:
assignee: nobody → chandan kumar (chkumar246)
Changed in rally:
assignee: chandan kumar (chkumar246) → nobody
Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

I've seen this for Neutron jobs, too, seems to be a general issue with oslo-config-generator.

Changed in oslo.config:
status: New → Confirmed
Changed in rally:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.config (master)

Fix proposed to branch: master
Review: https://review.openstack.org/382924

Changed in oslo.config:
assignee: nobody → chandan kumar (chkumar246)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.config (master)

Reviewed: https://review.openstack.org/382924
Committed: https://git.openstack.org/cgit/openstack/oslo.config/commit/?id=14aa5772638aa68d857c3860f858aaec81926f87
Submitter: Jenkins
Branch: master

commit 14aa5772638aa68d857c3860f858aaec81926f87
Author: Chandan Kumar <email address hidden>
Date: Thu Oct 6 13:04:07 2016 +0000

    Disable warning for missing oslo.config.opts.defaults

    * Since oslo.config.opts.defaults is not implemented in most of the
      component so warning related to this should be disabled

    * Bump stevedore to 1.17.1 in requirements.txt

    Depends-On: Iae5b2d497353af2c1698e67b9e6b9e09d5241275
    Closes-Bug: #1629232

    Change-Id: I912fcfffa9cb1fcc64da652b8180b382c3f1a711

Changed in oslo.config:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/oslo.config 3.18.0

This issue was fixed in the openstack/oslo.config 3.18.0 release.

Changed in rally:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.