packstack: ERROR : 'module' object has no attribute 'publish_doctree'

Bug #1656537 reported by Martin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Packstack
New
Undecided
Unassigned

Bug Description

[root@node-4 ~]# uname -a
Linux node-4 3.10.0-514.2.2.el7.x86_64 #1 SMP Tue Dec 6 23:06:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@node-4 ~]# rpm -qa|grep packstack
openstack-packstack-puppet-9.0.0-1.el7.noarch
openstack-packstack-9.0.0-1.el7.noarch
[root@node-4 ~]# packstack --gen-answer-file=answers.txt
ERROR:root:Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 950, in main
    initPluginsConfig()
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 927, in initPluginsConfig
    plugin.initConfig(controller)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/prescript_000.py", line 842, in initConfig
    update_params_usage(basedefs.PACKSTACK_DOC, params)
  File "/usr/lib/python2.7/site-packages/packstack/modules/documentation.py", line 73, in update_params_usage
    tree = core.publish_doctree(
AttributeError: 'module' object has no attribute 'publish_doctree'

ERROR : 'module' object has no attribute 'publish_doctree'
Traceback (most recent call last):
  File "/usr/bin/packstack", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 1020, in main
    print(output_messages.ERR_CHECK_LOG_FILE_FOR_MORE_INFO % (logFile))
UnboundLocalError: local variable 'logFile' referenced before assignment

Revision history for this message
Javier Peña (jpena-c) wrote :

The core.publish_doctree method is provided by the docutils package, which is required by Packstack.

Could you check the version number of the python-docutils package, and see if there has been any local modification to it?

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.