Bug 1478731
Summary: | nodectl motd bug causes traceback at login | ||
---|---|---|---|
Product: | [oVirt] ovirt-node | Reporter: | Giuseppe Ragusa <giuseppe.ragusa> |
Component: | General | Assignee: | Yuval Turgeman <yturgema> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | cshao <cshao> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.1 | CC: | bugs, cshao, dguo, huzhao, jiawu, qiyuan, rbarry, sbonazzo, weiwang, yaniwang, ycui, yzhao |
Target Milestone: | ovirt-4.1.5 | Flags: | rule-engine:
ovirt-4.1+
rbarry: devel_ack+ cshao: testing_ack+ |
Target Release: | 4.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ovirt-node-ng-nodectl-4.1-20170804 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-23 08:06:57 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: |
Description
Giuseppe Ragusa
2017-08-06 16:38:22 UTC
QE can reproduce this issue. Test steps: 1. Install ovirt-node-ng-installer-ovirt-4.1-2017072816.iso. 2. Login ovirt-node-ng. 3. Run "nodectl motd" command. Test result: # imgbase w 2017-08-07 08:24:39,770 [INFO] You are on ovirt-node-ng-4.1.4-0.20170728.0+1 [root@dhcp-8-159 ~]# nodectl motd 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 102, in motd machine_readable=True).output, self.machine).write() File "/usr/lib/python2.7/site-packages/nodectl/status.py", line 51, in __init__ self._update_info(status) File "/usr/lib/python2.7/site-packages/nodectl/status.py", line 78, in _update_info if "ok" not in status.lower(): AttributeError: Status instance has no attribute 'lower' Test version: ovirt-node-ng-4.1.5-0.20170807.0+1 imgbased-0.9.36-1.el7.centos.noarch Test steps: 1. Install ovirt-node-ng-installer-ovirt-4.1-pre-2017080704.iso 2. Login ovirt-node-ng. 3. Run "nodectl motd" command. # nodectl motd node status: OK See `nodectl check` for more information So the bug is fixed, change bug status to VERIFIED. |