Cannot delete failed XO VMware-related migration tasks
-
Have you rebooted the host yet? I know not ideal but IIRC I had something similar when testing VMWare migrations and rebooting the host removed the tasks.
-
@planedrop Rebooted and the tasks are still there. Oddly enough, it caused one of the two hosts to reboot as well. What the heck?!?
-
@dougs So you were trying to reboot the XOA VM or the host itself?
Hmmmm, nothing should generally cause the entire host to reboot unless you are calling for it, or maybe something caused a crash but that wasn't what I experienced.
-
@planedrop Our configuration is nonstandard. Our XOA is on a standalone computer-- not in a VM that runs on one of the hosts.
While these tasks are not interfering with normal operations, I'd like to get listed tasks out of the way.
This is what it looks like on the Tasks window:
Hovering the cursor over the Delete icons causes the cursor to display a No symbol so I cannot click the Delete button.
-
@dougs Ah gotcha, makes sense.
I wish I had a better answer but I'm not quite sure what the next steps are. I did have basically the same issue but it resolved itself after a host reboot (the host that was running XO, though it may have just been due to the XO reboot not so much the host, since these are XO tasks).
Hopefully someone else here has a better answer, if anything comes to mind though (or if I recall if I had to do anything else), I'll be sure to come back here.
-
Ping @florent
-
I have the same issue also. Running XOCE on the host. Host is 8.3 beta.
The task does not show in the xoa appliance
I'll probably just redo the XOCE vm to see if it get rid of it.
-
@chaoticmaster This is a good point, can always very easily spin up a new one and restore the config.
-
Hello everyone,
First of all, XO tasks are completely separate from XAPI tasks., they have a different structure, and are handled internally by XO.
Task logs are not deletable, the red button can be use to ask the abortion of the task, and is obviously not usable once the task has finished (or if the abortion has already been requested).
Logs of ended tasks are not deletable at this time, because they reflect what happens and we did not see a real reason for them to be deleted.
-
Isn't the task delete-able using xo-cli ? Is it safe deleting through xo-cli ?
Logs of ended tasks are not deletable at this time, because they reflect what happens and we did not see a real reason for them to be deleted.
With all due respect, imho, the use-case could be reduction of clutter once we see that the task has ended and want to clear the logs.
Have you guys tried the above (using xo-cli) ?
-
Yes, I have tried that and it appears to have deleted the tasks.
First I had to register as follows:
# xo-cli --register <URL of XOA> <admin username> <password>
Then:
# xo-cli rest get tasks
which showed a list of tasks IDs.
I verified the IDs with the ID show in the raw log for each of the tasks listed in XOA. Once I figured out which task(s) I wanted to delete, I did the following for each tasks:
# xo-cli rest del <tasks/task ID>
I have not seen an ill effects since I deleted some tasks last August.
Below is a link to removing tasks using xo-cli:
https://help.vates.tech/kb/en-us/31-troubleshooting-and-tips/123-how-to-remove-xo-tasks