Add "Reboot Failed" as terminal job state for 14G
In the 14G iDRAC 9, "Reboot Failed" has been added as a terminal job state. This patch updates the job filter query in list_jobs so that jobs with a status of "Reboot Failed" will now be considered a finished job. Change-Id: Icffb22da37f99f8b24fcab405be196eace436785 Closes-Bug: #1707911
This commit is contained in:
parent
bcfe996deb
commit
8e49089db3
dracclient
@ -68,6 +68,7 @@ class JobManagement(object):
|
||||
filter_query = ('select * from DCIM_LifecycleJob '
|
||||
'where Name != "CLEARALL" and '
|
||||
'JobStatus != "Reboot Completed" and '
|
||||
'JobStatus != "Reboot Failed" and '
|
||||
'JobStatus != "Completed" and '
|
||||
'JobStatus != "Completed with Errors" and '
|
||||
'JobStatus != "Failed"')
|
||||
|
@ -50,6 +50,7 @@ class ClientJobManagementTestCase(base.BaseTest):
|
||||
expected_filter_query = ('select * from DCIM_LifecycleJob '
|
||||
'where Name != "CLEARALL" and '
|
||||
'JobStatus != "Reboot Completed" and '
|
||||
'JobStatus != "Reboot Failed" and '
|
||||
'JobStatus != "Completed" and '
|
||||
'JobStatus != "Completed with Errors" and '
|
||||
'JobStatus != "Failed"')
|
||||
|
Loading…
x
Reference in New Issue
Block a user