Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

badfish.py doesn't clear job queue #45

Closed
bengland2 opened this issue Jul 24, 2019 · 4 comments
Closed

badfish.py doesn't clear job queue #45

bengland2 opened this issue Jul 24, 2019 · 4 comments

Comments

@bengland2
Copy link

I can't seem to clear the job queue with either badfish or DRAC GUI, this is preventing me from changing the boot order.

[bengland@bene-laptop badfish]$ ./badfish.py -H mgmt-e23-h23-740xd -u quads -p 494292 -i config/idrac_interfaces.yml --clear-jobs
- INFO     - Systems service: /redfish/v1/Systems/System.Embedded.1.
- INFO     - Managers service: /redfish/v1/Managers/iDRAC.Embedded.1.
- WARNING  - iDRAC version installed does not support DellJobService
- WARNING  - Clearing job queue for job IDs: ['JID_640133055279'].
- ERROR    - Job queue not cleared, current job queue contains jobs: ['JID_640133055279'].
@bengland2
Copy link
Author

Chris Enright seems to know why this happens, apparently JID_CLEARALL doesn't work on 740xd? @QuantumPosix ?

@QuantumPosix
Copy link
Collaborator

QuantumPosix commented Jul 25, 2019 via email

@QuantumPosix
Copy link
Collaborator

QuantumPosix commented Jul 26, 2019

So it looks like a firmware update for iDrac9 will fix the issue as annotated below:

Old iDrac Firmware(3.21.21.21):

./badfish.py -H $host -u root -p "calvin" --clear-jobs
  - INFO     - Systems service: /redfish/v1/Systems/System.Embedded.1.
  - INFO     - Managers service: /redfish/v1/Managers/iDRAC.Embedded.1.
  - WARNING  - iDRAC version installed does not support DellJobService
  - WARNING  - Clearing job queue for job IDs: ['JID_641574909915'].
  - ERROR    - Job queue not cleared, current job queue contains jobs: ['JID_641574909915'].
   

New iDrac Firmware(3.34.34.34):

./badfish.py -H $host -u root -p "calvin" --clear-jobs
 - INFO     - Systems service: /redfish/v1/Systems/System.Embedded.1.
 - INFO     - Managers service: /redfish/v1/Managers/iDRAC.Embedded.1.
 - INFO     - Job queue for iDRAC $host successfully cleared.
Same job in the queue - seems to be a minimum iDrac version required for iDrac9 machines as well. I will start updating the firmware on the hosts. 

@grafuls
Copy link
Collaborator

grafuls commented Jul 26, 2019

So it looks like a firmware update for iDrac9 will fix the issue as annotated below:

Old iDrac Firmware(3.21.21.21):

./badfish.py -H $host -u root -p "calvin" --clear-jobs
  - INFO     - Systems service: /redfish/v1/Systems/System.Embedded.1.
  - INFO     - Managers service: /redfish/v1/Managers/iDRAC.Embedded.1.
  - WARNING  - iDRAC version installed does not support DellJobService
  - WARNING  - Clearing job queue for job IDs: ['JID_641574909915'].
  - ERROR    - Job queue not cleared, current job queue contains jobs: ['JID_641574909915'].
   

New iDrac Firmware(3.34.34.34):

./badfish.py -H $host -u root -p "calvin" --clear-jobs
 - INFO     - Systems service: /redfish/v1/Systems/System.Embedded.1.
 - INFO     - Managers service: /redfish/v1/Managers/iDRAC.Embedded.1.
 - INFO     - Job queue for iDRAC $host successfully cleared.
Same job in the queue - seems to be a minimum iDrac version required for iDrac9 machines as well. I will start updating the firmware on the hosts. 

Closing as per last findings from @QuantumPosix.

@grafuls grafuls closed this as completed Jul 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants