Bug 1120565
Summary: | Thrown ImportError: No module named bottle when using "ovirt-node-features -d" | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | haiyang,dong <hadong> |
Component: | ovirt-node | Assignee: | Fabian Deutsch <fdeutsch> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 3.5.0 | CC: | cshao, ecohen, gklein, gouyang, hadong, huiwa, iheim, leiwang, ycui |
Target Milestone: | --- | ||
Target Release: | 3.5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | node | ||
Fixed In Version: | rhev-hypervisor6-6.6-20141218.0.iso rhev-hypervisor7-7.0-20141218.0.iso | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-02-11 21:00:03 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1151906 | ||
Bug Blocks: | 1094719, 1142923, 1156165 |
Description
haiyang,dong
2014-07-17 07:27:41 UTC
Lowering priority as the feature should not be used on RHEL (we do not want to import another python module). To address this the documentation was adjusted to not document the flag. This is a mass change, moving bugs of merged patches into MODIFIED. Please correct the state, if you think that the move was not justified. need to wait for Bug 1151906 to been fixed to verify this bug. Test version rhev-hypervisor7-7.0-20141212.0.iso ovirt-node-3.1.0-0.34.20141210git0c9c493.el7.noarch ovirt-node-plugin-hosted-engine-0.2.0-6.0.el7ev.x86_64 Test steps: [root@dhcp-9-55 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 assigned this bug again. Hosted-Engine will be disabled in 3.5.0 (introduced in 3.5.1) so moving this bug back to MODIFIED. Once a new build is available it will be moved to ON_QA. teh original traceback was also different. Test version: rhev-hypervisor7-7.0-20150112.0.el7ev ovirt-node-3.1.0-0.42.20150109gitd06b7c5.el7.noarch Test steps: 1. [root@dhcp-10-54 admin]# ovirt-node-features --help Get a feature summary about this node. Usage: /usr/lib/python2.7/site-packages/ovirt/node/tools/features.pyc [dumpxml] 2. [root@dhcp-10-54 admin]# ovirt-node-features dumpxml <?xml version='1.0' encoding='utf-8'?> <node version="0.1"> <features> <feature description="Has a UI" name="ui" namespace="ovirt.node.setup.core" owner="ovirt.node.setup.core" version=""/> <feature description="Offers RHN Registration via RHN" name="RHN" namespace="ovirt.node.setup.rhn" owner="ovirt.node.setup.rhn" version=""/> <feature description="Offers informations via SNMP" name="snmp" namespace="ovirt.node.setup.snmp" owner="ovirt.node.setup.snmp" version=""/> <feature description="This feature represents the CPE of this product" name="version" namespace="cpe" owner="__main__" version="">cpe:/o:redhat:enterprise_linux:7:update0:hypervisor</feature> <feature description="Offers informations via CIM" name="cim" namespace="ovirt.node.setup.cim" owner="ovirt.node.setup.cim" version=""/> </features> <methods/> </node> NO ImportError exception was thrown when using "ovirt-node-features --help/dumpxml". So this bug has been fixed, change the status into "VERIFIED". Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2015-0160.html |