Failed when using doc tools to update Compute service options
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstackdocstheme |
Won't Fix
|
High
|
Gauvain Pocentek |
Bug Description
I run the following command to update Compute service options:
# ./diff_branches.py stable/newton stable/ocata nova
It failed with this output:
Working on nova...
Requirement already up-to-date: pip in ./venv/
Requirement already up-to-date: setuptools in ./venv/
Requirement already up-to-date: six>=1.6.0 in ./venv/
Requirement already up-to-date: appdirs>=1.4.0 in ./venv/
Requirement already up-to-date: packaging>=16.8 in ./venv/
Requirement already up-to-date: pyparsing in ./venv/
Working on nova (stable/newton)
Traceback (most recent call last):
File "./diff_
sys.
File "./diff_
old_list = get_options(
File "./diff_
ret = pickle.
File "/usr/lib/
return Unpickler(
File "/usr/lib/
dispatch[
File "/usr/lib/
self.
IndexError: list index out of range
Changed in openstack-doc-tools: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in openstack-doc-tools: | |
assignee: | nobody → Gauvain Pocentek (gpocentek) |
Got a slightly different traceback, but can confirm:
Traceback (most recent call last): stack/openstack -doc-tools/ autogenerate_ config_ docs/autohelp. py", line 696, in <module> stack/openstack -doc-tools/ autogenerate_ config_ docs/autohelp. py", line 674, in main modules( base_path, package_name, verbose= args.verbose) stack/openstack -doc-tools/ autogenerate_ config_ docs/autohelp. py", line 109, in import_modules import_ module( modname) python2. 7/importlib/ __init_ _.py", line 37, in import_module _(name) stack/openstack -doc-tools/ autogenerate_ config_ docs/sources/ nova/nova/ baserpc. py", line 24, in <module> stack/openstack -doc-tools/ autogenerate_ config_ docs/sources/ nova/nova/ conf/__ init__. py", line 95, in <module> register_ opts(CONF) stack/openstack -doc-tools/ autogenerate_ config_ docs/sources/ nova/nova/ conf/database. py", line 181, in register_opts db='nova. sqlite' ) branches. py", line 297, in <module> exit(main( )) branches. py", line 273, in main project, args.old_branch) branches. py", line 89, in get_options python2. 7/subprocess. py", line 575, in check_output ror(retcode, cmd, output=output) CalledProcessEr ror: Command '['./autohelp- wrapper' , '-q', '-b', 'stable/newton', '-e', 'venv/stable_ newton' , 'dump', 'nova']' returned non-zero exit status 1
File "/home/
main()
File "/home/
import_
File "/home/
module = importlib.
File "/usr/lib64/
__import_
File "/home/
import nova.conf
File "/home/
database.
File "/home/
sqlite_
TypeError: set_defaults() got an unexpected keyword argument 'sqlite_db'
Traceback (most recent call last):
File "./diff_
sys.
File "./diff_
old_list = get_options(
File "./diff_
'PATH': path})
File "/usr/lib64/
raise CalledProcessEr
subprocess.