Bug 1478243

Summary: nodectl traceback: AttributeError: Status instance has no attribute 'lower'
Product: [oVirt] ovirt-node Reporter: Sandro Bonazzola <sbonazzo>
Component: GeneralAssignee: Ryan Barry <rbarry>
Status: CLOSED CURRENTRELEASE QA Contact: Ryan Barry <rbarry>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.1CC: bugs, cshao, rbarry
Target Milestone: ovirt-4.1.5Keywords: Automation
Target Release: 4.1Flags: rule-engine: ovirt-4.1+
rule-engine: ovirt-4.2+
cshao: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
URL: http://jenkins.ovirt.org/job/ovirt_master_image-ng-system-tests/195/
Whiteboard:
Fixed In Version: ovirt-node-ng-4.1-20170803 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-23 08:04:20 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:
Attachments:
Description Flags
Logs from the jenkins job, in case they'll be wiped before checking this
none
Logs from 4.1 job none

Description Sandro Bonazzola 2017-08-04 05:51:17 UTC
Created attachment 1308893 [details]
Logs from the jenkins job, in case they'll be wiped before checking this

Description of problem:
2017-08-04 01:24:10,745Z ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.EE-ManagedThreadFactory-engine-Thread-2) [1027e346] EVENT_ID: VDS_INSTALL_FAILED(505), Host lago-image-ng-suite-master-node2 installation failed. Unexpected error during execution: 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'

Failure found in http://jenkins.ovirt.org/job/ovirt_master_image-ng-system-tests/195/

Comment 1 Sandro Bonazzola 2017-08-04 05:53:34 UTC
Failure found on 4.1 as well: http://jenkins.ovirt.org/job/ovirt_4.1_image-ng-system-tests/202/

Comment 2 Sandro Bonazzola 2017-08-04 05:54:36 UTC
Created attachment 1308894 [details]
Logs from 4.1 job

Comment 3 cshao 2017-08-04 06:47:35 UTC
Ryan,

This is an automation bug in jenkins job, so could you help to verify this bug once it was fixed?
If so, I will change QA Contact to you.

Thanks.

Comment 4 Ryan Barry 2017-08-04 06:58:32 UTC
Sure. we'll verify the automation.

A fix merged today, so it will be soon.

Comment 5 cshao 2017-08-21 02:39:01 UTC
Ryan,

Could you help to verify this bug?

Thanks.

Comment 6 Ryan Barry 2017-08-21 12:08:32 UTC
The patch is present in the latest RHVH build, so this is ok.