Bug 1728998
Summary: | "nodectl info" displays error after RHVH installation | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Wei Wang <weiwang> | ||||
Component: | redhat-virtualization-host | Assignee: | Yuval Turgeman <yturgema> | ||||
Status: | CLOSED ERRATA | QA Contact: | Wei Wang <weiwang> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.3.5 | CC: | bugs, cshao, huzhao, mavital, qiyuan, rdlugyhe, sbonazzo, weiwang, yaniwang, yturgema | ||||
Target Milestone: | ovirt-4.3.5 | Keywords: | Rebase, ZStream | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | ovirt-node-ng-4.3.5-0.20190717.0.el7ev | Doc Type: | No Doc Update | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-08-12 11:54:28 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: | |||||||
Bug Blocks: | 1460625 | ||||||
Attachments: |
|
Test Version: rhvh-4.3.5.2-0.20190717.0 cockpit-ovirt-dashboard-0.13.4-1.el7ev.noarch Test Steps: According to comment 0 Result: "nodectl info" display right without any error. [root@dhcp-x-xx ~]# nodectl info layers: rhvh-4.3.5.2-0.20190717.0: rhvh-4.3.5.2-0.20190717.0+1 bootloader: default: rhvh-4.3.5.2-0.20190717.0 (3.10.0-1061.el7.x86_64) entries: rhvh-4.3.5.2-0.20190717.0 (3.10.0-1061.el7.x86_64): index: 0 title: rhvh-4.3.5.2-0.20190717.0 (3.10.0-1061.el7.x86_64) kernel: /boot/rhvh-4.3.5.2-0.20190717.0+1/vmlinuz-3.10.0-1061.el7.x86_64 args: "ro crashkernel=auto spectre_v2=retpoline rd.lvm.lv=rhvh_dhcp-9-57/swap rd.lvm.lv=rhvh_dhcp-9-57/rhvh-4.3.5.2-0.20190717.0+1 rhgb quiet LANG=en_US.UTF-8 img.bootid=rhvh-4.3.5.2-0.20190717.0+1" initrd: /boot/rhvh-4.3.5.2-0.20190717.0+1/initramfs-3.10.0-1061.el7.x86_64.img root: /dev/rhvh_dhcp-9-57/rhvh-4.3.5.2-0.20190717.0+1 current_layer: rhvh-4.3.5.2-0.20190717.0+1 bug is fixed, move to "VERIFIED" *** Bug 1724981 has been marked as a duplicate of this bug. *** 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://access.redhat.com/errata/RHSA-2019:2437 |
Created attachment 1589338 [details] Log files Description of problem: Command "nodectl info" displays error after RHVH installation, "AttributeError: 'list' object has no attribute '__dict__'" [root@dhcp-x-xx ~]# nodectl info Traceback (most recent call last): File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/lib/python2.7/site-packages/nodectl/__main__.py", line 42, in <module> CliApplication() File "/usr/lib/python2.7/site-packages/nodectl/__init__.py", line 200, in CliApplication return cmdmap.command(args) File "/usr/lib/python2.7/site-packages/nodectl/__init__.py", line 118, in command return self.commands[command](**kwargs) File "/usr/lib/python2.7/site-packages/nodectl/__init__.py", line 76, in info Info(self.imgbased, self.machine).write() File "/usr/lib/python2.7/site-packages/nodectl/info.py", line 46, in __init__ self._fetch_information() File "/usr/lib/python2.7/site-packages/nodectl/info.py", line 49, in _fetch_information self._get_bootloader_info() File "/usr/lib/python2.7/site-packages/nodectl/info.py", line 62, in _get_bootloader_info bootinfo["entries"][k] = v.__dict__ AttributeError: 'list' object has no attribute '__dict__' Version-Release number of selected component (if applicable): redhat-virtualization-host-4.3.5-20190710.2.el7_7.x86_64.liveimg.squashfs imgbased-1.1.8-0.1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Clean install redhat-virtualization-host-4.3.5-20190710.2.el7_7.x86_64.liveimg.squashfs 2. Check "nodectl info" command Actual results: "AttributeError: 'list' object has no attribute '__dict__'" error displays with command "nodectl info", Expected results: "nodectl info" display right without any error Additional info: