+++ This bug was initially created as a clone of Bug #1118952 +++
Description of problem:
when using "ovirt-node-features dumpxml" to dump all know ovirt-node features to stdout
failed with follow error info:
[root@dhcp-66-73-241 admin]# ovirt-node-features dumpxml
Traceback (most recent call last):
File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main
File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
File "/usr/lib/python2.6/site-packages/ovirt/node/tools/features.py", line 94, in <module>
File "/usr/lib/python2.6/site-packages/ovirt/node/setup/hostedengine/__init__.py", line 34, in createPluginFeatures
application.register(Feature(owner=Owner(name=__package__),
NameError: global name 'Feature' is not defined
Version-Release number of selected component (if applicable):
ovirt-node-iso-3.5.0.ovirt35.20140707.el6.iso
How reproducible:
100%
Steps to Reproduce:
Actual results:
Expected results:
Additional info:
This bug could be reproduced in the follow version:
rhevh-7.0-20141006.0.el7ev.iso
ovirt-node-3.1.0-0.20.20141006gitc421e04.el7.noarch
[root@dhcp-8-124 admin]# ovirt-node-features --help
Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
File "/usr/lib/python2.7/site-packages/ovirt/node/tools/features.py", line 94, in <module>
File "/usr/lib/python2.7/site-packages/ovirt/node/setup/hostedengine/__init__.py", line 34, in createPluginFeatures
NameError: global name 'Feature' is not defined
so need clone it from upstream to track it in rhevh