Public bug reported:
It works in master, but fails in stable/kilo.
git checkout stable/kilo
git log --oneline -n1
3182bf7 Merge "Remove hardcoded LDAP group schema from emulated enabled mix-in"
into stable/kilo
tox -e docs
[...]
11:02:37 O: updating environment: [extensions changed] 130 added, 0 changed, 11
removed
11:03:14 O: reading sources... [ 0%] apache-httpd
reading sources... [100%] setup
11:03:14 E: Traceback (most recent call last):
11:03:14 E: File "setup.py", line 29, in <module>
11:03:14 E: pbr=True)
11:03:14 E: File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
11:03:14 E: dist.run_commands()
11:03:14 E: File "/usr/lib/python2.7/distutils/dist.py", line 953, in
run_commands
11:03:14 E: self.run_command(cmd)
11:03:14 E: File "/usr/lib/python2.7/distutils/dist.py", line 972, in
run_command
11:03:14 E: cmd_obj.run()
11:03:14 E: File
"/vagrant/keystone/.tox/docs/local/lib/python2.7/site-packages/pbr/builddoc.py",
line 186, in run
11:03:14 E: self._sphinx_run()
11:03:14 E: File
"/vagrant/keystone/.tox/docs/local/lib/python2.7/site-packages/pbr/builddoc.py",
line 140, in _sphinx_run
11:03:14 E: app.build(force_all=self.all_files)
11:03:14 E: File
"/vagrant/keystone/.tox/docs/local/lib/python2.7/site-packages/sphinx/application.py",
line 216, in build
11:03:14 E: self.builder.build_all()
11:03:14 E: File
"/vagrant/keystone/.tox/docs/local/lib/python2.7/site-packages/sphinx/builders/__init__.py",
line 177, in build_all
11:03:14 E: self.build(None, summary='all source files', method='all')
11:03:14 E: File
"/vagrant/keystone/.tox/docs/local/lib/python2.7/site-packages/sphinx/builders/__init__.py",
line 239, in build
11:03:14 E: self.warn(*warning)
11:03:14 E: File
"/vagrant/keystone/.tox/docs/local/lib/python2.7/site-packages/sphinx/application.py",
line 268, in warn
11:03:14 E: raise SphinxWarning(warntext)
11:03:14 E: sphinx.errors.SphinxWarning:
/vagrant/keystone/doc/source/api/keystone.cmd.rst:18: WARNING: autodoc: failed
to import module u'keystone.cmd.cli'; the following exception was raised:
11:03:14 E: Traceback (most recent call last):
11:03:14 E: File
"/vagrant/keystone/.tox/docs/local/lib/python2.7/site-packages/sphinx/ext/autodoc.py",
line 335, in import_object
11:03:14 E: __import__(self.modname)
11:03:14 E: File "/vagrant/keystone/keystone/cmd/cli.py", line 32, in <module>
11:03:14 E: File "/vagrant/keystone/keystone/federation/__init__.py", line
15, in <module>
11:03:14 E: File "/vagrant/keystone/keystone/federation/core.py", line 373,
in <module>
11:03:14 E: AttributeError: 'module' object has no attribute
'create_legacy_driver'
11:03:14 E:
11:03:14 O: ERROR: InvocationError: '/vagrant/keystone/.tox/docs/bin/python
setup.py build_sphinx'
11:03:14 O: ___________________________________ summary
____________________________________
11:03:14 O: ERROR: docs: commands failed
11:03:14 I: Finished with exitcode 1
** Affects: keystone
Importance: Undecided
Status: New
** Tags: documentation
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1521965
Title:
tox -e docs fails
Status in OpenStack Identity (keystone):
New
Bug description:
It works in master, but fails in stable/kilo.
git checkout stable/kilo
git log --oneline -n1
3182bf7 Merge "Remove hardcoded LDAP group schema from emulated enabled
mix-in" into stable/kilo
tox -e docs
[...]
11:02:37 O: updating environment: [extensions changed] 130 added, 0 changed,
11 removed
11:03:14 O: reading sources... [ 0%] apache-httpd
reading sources... [100%] setup
11:03:14 E: Traceback (most recent call last):
11:03:14 E: File "setup.py", line 29, in <module>
11:03:14 E: pbr=True)
11:03:14 E: File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
11:03:14 E: dist.run_commands()
11:03:14 E: File "/usr/lib/python2.7/distutils/dist.py", line 953, in
run_commands
11:03:14 E: self.run_command(cmd)
11:03:14 E: File "/usr/lib/python2.7/distutils/dist.py", line 972, in
run_command
11:03:14 E: cmd_obj.run()
11:03:14 E: File
"/vagrant/keystone/.tox/docs/local/lib/python2.7/site-packages/pbr/builddoc.py",
line 186, in run
11:03:14 E: self._sphinx_run()
11:03:14 E: File
"/vagrant/keystone/.tox/docs/local/lib/python2.7/site-packages/pbr/builddoc.py",
line 140, in _sphinx_run
11:03:14 E: app.build(force_all=self.all_files)
11:03:14 E: File
"/vagrant/keystone/.tox/docs/local/lib/python2.7/site-packages/sphinx/application.py",
line 216, in build
11:03:14 E: self.builder.build_all()
11:03:14 E: File
"/vagrant/keystone/.tox/docs/local/lib/python2.7/site-packages/sphinx/builders/__init__.py",
line 177, in build_all
11:03:14 E: self.build(None, summary='all source files', method='all')
11:03:14 E: File
"/vagrant/keystone/.tox/docs/local/lib/python2.7/site-packages/sphinx/builders/__init__.py",
line 239, in build
11:03:14 E: self.warn(*warning)
11:03:14 E: File
"/vagrant/keystone/.tox/docs/local/lib/python2.7/site-packages/sphinx/application.py",
line 268, in warn
11:03:14 E: raise SphinxWarning(warntext)
11:03:14 E: sphinx.errors.SphinxWarning:
/vagrant/keystone/doc/source/api/keystone.cmd.rst:18: WARNING: autodoc: failed
to import module u'keystone.cmd.cli'; the following exception was raised:
11:03:14 E: Traceback (most recent call last):
11:03:14 E: File
"/vagrant/keystone/.tox/docs/local/lib/python2.7/site-packages/sphinx/ext/autodoc.py",
line 335, in import_object
11:03:14 E: __import__(self.modname)
11:03:14 E: File "/vagrant/keystone/keystone/cmd/cli.py", line 32, in
<module>
11:03:14 E: File "/vagrant/keystone/keystone/federation/__init__.py", line
15, in <module>
11:03:14 E: File "/vagrant/keystone/keystone/federation/core.py", line 373,
in <module>
11:03:14 E: AttributeError: 'module' object has no attribute
'create_legacy_driver'
11:03:14 E:
11:03:14 O: ERROR: InvocationError: '/vagrant/keystone/.tox/docs/bin/python
setup.py build_sphinx'
11:03:14 O: ___________________________________ summary
____________________________________
11:03:14 O: ERROR: docs: commands failed
11:03:14 I: Finished with exitcode 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1521965/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp