← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1488637] Re: tox -e docs fails trying to import nova.pci.device

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => liberty-rc1

-- 
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/1488637

Title:
  tox -e docs fails trying to import nova.pci.device

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  The nova.pci.device module was removed in:

  https://github.com/openstack/nova/commit/ee2ecfc68aaf52223d6491dd7a366682d06c03c6

  Now tox -e docs fails:

  2015-08-25 12:14:13.393 7869 CRITICAL nova [-] SphinxWarning: /home/mriedem/git/nova/doc/source/api/nova.pci.device.rst:4: WARNING: autodoc: failed to import module u'nova.pci.device'; the following exception was raised:
  Traceback (most recent call last):
    File "/home/mriedem/git/nova/.tox/docs/local/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 335, in import_object
      __import__(self.modname)
  ImportError: No module named device

  2015-08-25 12:14:13.393 7869 ERROR nova Traceback (most recent call last):
  2015-08-25 12:14:13.393 7869 ERROR nova   File "setup.py", line 29, in <module>
  2015-08-25 12:14:13.393 7869 ERROR nova     pbr=True)
  2015-08-25 12:14:13.393 7869 ERROR nova   File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
  2015-08-25 12:14:13.393 7869 ERROR nova     dist.run_commands()
  2015-08-25 12:14:13.393 7869 ERROR nova   File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
  2015-08-25 12:14:13.393 7869 ERROR nova     self.run_command(cmd)
  2015-08-25 12:14:13.393 7869 ERROR nova   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
  2015-08-25 12:14:13.393 7869 ERROR nova     cmd_obj.run()
  2015-08-25 12:14:13.393 7869 ERROR nova   File "/home/mriedem/git/nova/.tox/docs/local/lib/python2.7/site-packages/pbr/builddoc.py", line 189, in run
  2015-08-25 12:14:13.393 7869 ERROR nova     self._sphinx_run()
  2015-08-25 12:14:13.393 7869 ERROR nova   File "/home/mriedem/git/nova/.tox/docs/local/lib/python2.7/site-packages/pbr/builddoc.py", line 143, in _sphinx_run
  2015-08-25 12:14:13.393 7869 ERROR nova     app.build(force_all=self.all_files)
  2015-08-25 12:14:13.393 7869 ERROR nova   File "/home/mriedem/git/nova/.tox/docs/local/lib/python2.7/site-packages/sphinx/application.py", line 216, in build
  2015-08-25 12:14:13.393 7869 ERROR nova     self.builder.build_all()
  2015-08-25 12:14:13.393 7869 ERROR nova   File "/home/mriedem/git/nova/.tox/docs/local/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 177, in build_all
  2015-08-25 12:14:13.393 7869 ERROR nova     self.build(None, summary='all source files', method='all')
  2015-08-25 12:14:13.393 7869 ERROR nova   File "/home/mriedem/git/nova/.tox/docs/local/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 239, in build
  2015-08-25 12:14:13.393 7869 ERROR nova     self.warn(*warning)
  2015-08-25 12:14:13.393 7869 ERROR nova   File "/home/mriedem/git/nova/.tox/docs/local/lib/python2.7/site-packages/sphinx/application.py", line 268, in warn
  2015-08-25 12:14:13.393 7869 ERROR nova     raise SphinxWarning(warntext)
  2015-08-25 12:14:13.393 7869 ERROR nova SphinxWarning: /home/mriedem/git/nova/doc/source/api/nova.pci.device.rst:4: WARNING: autodoc: failed to import module u'nova.pci.device'; the following exception was raised:
  2015-08-25 12:14:13.393 7869 ERROR nova Traceback (most recent call last):
  2015-08-25 12:14:13.393 7869 ERROR nova   File "/home/mriedem/git/nova/.tox/docs/local/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 335, in import_object
  2015-08-25 12:14:13.393 7869 ERROR nova     __import__(self.modname)
  2015-08-25 12:14:13.393 7869 ERROR nova ImportError: No module named device
  2015-08-25 12:14:13.393 7869 ERROR nova 
  2015-08-25 12:14:13.393 7869 ERROR nova

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


References