VMware Cloud Community
jrmunday
Commander
Commander
Jump to solution

Dell VC Plugin - delete queued job?

Does anyone know how to delete a queued job that has been scheduled with the Dell VC Plugin for vCenter?

I have a queued job (simple BIOS upgrade) which does not execute as expected - I need to delete this before I can schedule the job again.

Error message from the plugin log as follows;

  • [Firmware Update] File: R815_BIOS_F8FCX_WN32_3.0.5.EXE - Status: Failed - Message: iDRAC - A job for this update already exists in the queue and prevents the new job from being scheduled.
  • [Firmware Update] File: R815_BIOS_F8FCX_WN32_3.0.5.EXE, Status: Failed, iDRAC: 10.170.210.107, Host xxxxxxxx.xxxxxxxxxxxxx.xxx, Recommended resolution actions: iDRAC - Delete the existing job before scheduling a new update job. For Remote Services API consumers, enumerate all the jobs to find and identify the duplicate job. Then invoke the DeleteJob() method to delete this job and enable the new update job to be scheduled
  • [Firmware Update] The state of update job for file (R815_BIOS_F8FCX_WN32_3.0.5.EXE) has changed from (NEW) state to (FAILED) state.
vExpert 2014 - 2022 | VCP6-DCV | http://www.jonmunday.net | @JonMunday77
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
jrmunday
Commander
Commander
Jump to solution

I have actually just found out how to do this, taken from this thread;

OME System Update Fails - Dell OpenManage Essentials - Systems Management - Dell Community


## Check Jobs
winrm e cimv2/root/dcim/DCIM_LifecycleJob -u:$USERNAME -p:$PASSWORD -SkipCNcheck -SkipCAcheck -r:https://$IPADDRESS/wsman:443 -auth:basic -encoding:utf-8

## Delete All Jobs
winrm invoke DeleteJobQueue "cimv2/root/dcim/DCIM_JobService?CreationClassName=DCIM_JobService+Name=JobService+SystemName=Idrac+SystemCreationClassName=DCIM_ComputerSystem" @{JobID="JID_CLEARALL"} -r:https://$IPADDRESS/wsman -u:$USERNAME -p:$PASSWORD -SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic -format:pretty

vExpert 2014 - 2022 | VCP6-DCV | http://www.jonmunday.net | @JonMunday77

View solution in original post

0 Kudos
1 Reply
jrmunday
Commander
Commander
Jump to solution

I have actually just found out how to do this, taken from this thread;

OME System Update Fails - Dell OpenManage Essentials - Systems Management - Dell Community


## Check Jobs
winrm e cimv2/root/dcim/DCIM_LifecycleJob -u:$USERNAME -p:$PASSWORD -SkipCNcheck -SkipCAcheck -r:https://$IPADDRESS/wsman:443 -auth:basic -encoding:utf-8

## Delete All Jobs
winrm invoke DeleteJobQueue "cimv2/root/dcim/DCIM_JobService?CreationClassName=DCIM_JobService+Name=JobService+SystemName=Idrac+SystemCreationClassName=DCIM_ComputerSystem" @{JobID="JID_CLEARALL"} -r:https://$IPADDRESS/wsman -u:$USERNAME -p:$PASSWORD -SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic -format:pretty

vExpert 2014 - 2022 | VCP6-DCV | http://www.jonmunday.net | @JonMunday77
0 Kudos