autohelp-wrapper update cinder issue

Bug #1651738 reported by nikesh on 2016-12-21
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I used the link "" to autogenerate configuration table for updated options in the Ocata Release for Kaminario Cinder Driver.

I am getting error on running command "./autohelp-wrapper update cinder".

Following are the complete details:
git clone
cd openstack-doc-tools/
cd autogenerate_config_docs/
sudo apt-get install python-dev python-pip python-virtualenv libxml2-dev libxslt1-dev zlib1g-dev libmysqlclient-dev libpq-dev libffi-dev
sudo pip install -rrequirements.txt
vi autohelp-wrapper changed git:// to
./autohelp-wrapper update cinder

I am getting below error
Traceback (most recent call last):
  File "/home/ubuntu/openstack-kaminario-manual/openstack-doc-tools/autogenerate_config_docs/", line 636, in <module>
  File "/home/ubuntu/openstack-kaminario-manual/openstack-doc-tools/autogenerate_config_docs/", line 618, in main
    options = OptionsCache(overrides, verbose=args.verbose)
  File "/home/ubuntu/openstack-kaminario-manual/openstack-doc-tools/autogenerate_config_docs/", line 276, in __init__
    self._add_opt(optname, 'DEFAULT', opt)
  File "/home/ubuntu/openstack-kaminario-manual/openstack-doc-tools/autogenerate_config_docs/", line 291, in _add_opt
    opt.default = _sanitize_default(opt)
  File "/home/ubuntu/openstack-kaminario-manual/openstack-doc-tools/autogenerate_config_docs/", line 217, in _sanitize_default
    return ", ".join(opt.default)
TypeError: sequence item 0: expected string, int found

Fix proposed to branch: master

Changed in openstack-doc-tools:
assignee: nobody → sreedhar (sreevar)
status: New → In Progress
Changed in openstack-doc-tools:
importance: Undecided → High

Submitter: Jenkins
Branch: master

commit a46d872d3c1d91627b5f1a0f2117285cf153f078
Author: Sreedhar Varma <email address hidden>
Date: Wed Dec 21 07:19:46 2016 -0500

    Fix TypeError in

    The command "./autohelp-wrapper update cinder" is throwing
    "TypeError: sequence item 0: expected string, int found".

    This error is due to using ", ".join on the
    list of integers in

    Change-Id: Ib4142466d15534adbdade8ebd8724a954f50e95d
    Closes-Bug: #1651738
    Co-Authored-By: Nikesh Mahalka <email address hidden>
    Co-Authored-By: Alekhya Mallina <email address hidden>
    Co-Authored-By: Srinivas Dasthagiri <email address hidden>

Changed in openstack-doc-tools:
status: In Progress → Fix Released

This issue was fixed in the openstack/openstack-doc-tools 1.3.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers