Failed when using doc tools to update Compute service options

Bug #1672602 reported by Chason Chan
8
This bug affects 1 person
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/stable_ocata/nova/lib/python2.7/site-packages
Requirement already up-to-date: setuptools in ./venv/stable_ocata/nova/lib/python2.7/site-packages
Requirement already up-to-date: six>=1.6.0 in ./venv/stable_ocata/nova/lib/python2.7/site-packages (from setuptools)
Requirement already up-to-date: appdirs>=1.4.0 in ./venv/stable_ocata/nova/lib/python2.7/site-packages (from setuptools)
Requirement already up-to-date: packaging>=16.8 in ./venv/stable_ocata/nova/lib/python2.7/site-packages (from setuptools)
Requirement already up-to-date: pyparsing in ./venv/stable_ocata/nova/lib/python2.7/site-packages (from packaging>=16.8->setuptools)
Working on nova (stable/newton)
Traceback (most recent call last):
  File "./diff_branches.py", line 306, in <module>
    sys.exit(main())
  File "./diff_branches.py", line 282, in main
    old_list = get_options(project, args.old_branch)
  File "./diff_branches.py", line 92, in get_options
    ret = pickle.loads(serialized)
  File "/usr/lib/python2.7/pickle.py", line 1388, in loads
    return Unpickler(file).load()
  File "/usr/lib/python2.7/pickle.py", line 864, in load
    dispatch[key](self)
  File "/usr/lib/python2.7/pickle.py", line 1153, in load_dup
    self.append(self.stack[-1])
IndexError: list index out of range

Brian Moss (bmoss)
Changed in openstack-doc-tools:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Petr Kovar (pmkovar) wrote :

Got a slightly different traceback, but can confirm:

Traceback (most recent call last):
  File "/home/stack/openstack-doc-tools/autogenerate_config_docs/autohelp.py", line 696, in <module>
    main()
  File "/home/stack/openstack-doc-tools/autogenerate_config_docs/autohelp.py", line 674, in main
    import_modules(base_path, package_name, verbose=args.verbose)
  File "/home/stack/openstack-doc-tools/autogenerate_config_docs/autohelp.py", line 109, in import_modules
    module = importlib.import_module(modname)
  File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/home/stack/openstack-doc-tools/autogenerate_config_docs/sources/nova/nova/baserpc.py", line 24, in <module>
    import nova.conf
  File "/home/stack/openstack-doc-tools/autogenerate_config_docs/sources/nova/nova/conf/__init__.py", line 95, in <module>
    database.register_opts(CONF)
  File "/home/stack/openstack-doc-tools/autogenerate_config_docs/sources/nova/nova/conf/database.py", line 181, in register_opts
    sqlite_db='nova.sqlite')
TypeError: set_defaults() got an unexpected keyword argument 'sqlite_db'
Traceback (most recent call last):
  File "./diff_branches.py", line 297, in <module>
    sys.exit(main())
  File "./diff_branches.py", line 273, in main
    old_list = get_options(project, args.old_branch)
  File "./diff_branches.py", line 89, in get_options
    'PATH': path})
  File "/usr/lib64/python2.7/subprocess.py", line 575, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['./autohelp-wrapper', '-q', '-b', 'stable/newton', '-e', 'venv/stable_newton', 'dump', 'nova']' returned non-zero exit status 1

Changed in openstack-doc-tools:
importance: Medium → High
Changed in openstack-doc-tools:
assignee: nobody → Gauvain Pocentek (gpocentek)
Revision history for this message
Alexandra Settle (alexandra-settle) wrote :
Revision history for this message
Stephen Finucane (stephenfinucane) wrote :

We have removed support for this tool in favour of the oslo.config sphinx extensions. Closing this as wontfix.

Changed in openstack-doc-tools:
status: Confirmed → Won't Fix
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.