← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1276050] Re: when i run nova ./run_test -N ; Errors ocurred by "ImportError: No module named config"

 

You need to update your virtual environment, it should then install
oslo.config.

./run_tests -u

Please re-open if this doesn't fix your issue. Its probably better to
ask about this in IRC or the ML.

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1276050

Title:
  when i run nova ./run_test  -N ;Errors ocurred by "ImportError: No
  module named config"

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  1.cd nova/
  2.'pip install -r requirements.txt' and 'pip install -r test-requirements.txt'
  3.erros appeard .and logs as:
  Running ` python -m nova.openstack.common.lockutils python setup.py testr --testr-args='--subunit --concurrency 0  '`
  Traceback (most recent call last):
    File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
      "__main__", fname, loader, pkg_name)
    File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
      exec code in run_globals
    File "/opt/stack/nova/nova/openstack/common/lockutils.py", line 29, in <module>
      from oslo.config import cfg
  ImportError: No module named config

  
  Ran 0 tests in 0.001s

  OK
  cat: .testrepository/next-stream: No such file or directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1276050/+subscriptions


References