Description of problem:
Roughly 30 tasks for 'Destroy Content Host' are in a paused/error state. Resuming the jobs does not help. Exception: RestClient::InternalServerError: 500 Internal Server Error.
This is caused when VMs that were created by CloudForms and then are deleted from CloudForms cause stuck state in Satellite 6.
Version-Release number of selected component (if applicable):
Attached reports from the case, 02066982.
Satellite has stuck tasks.
Those stuck tasks are host delete tasks.
The hosts that those tasks are trying to delete are are deleted.
It is unclear whether the stuck task deleted the host and then got stuck, or the host was otherwise already deleted and then a new task was created to delete the same host and then it got stuck.
CFME only comes into the picture because we have automate that calls the Satellite API to delete host records on VM retirement, thats it, this issue has nothing to do with CFME. It could be that CFME ends up trying to delete the same host twice, but that is inconsequential. Whether or not CFME tries to delete the same host twice using the API, Satellite shouldn't have stuck tasks, period. This is a satellite task issue.
Closing as not-a-bug based on comments above.