/var/log/vmware/vcf/operationsmanager/operationsmanager.log, below entries are available, indicating "leftover" or "stale" tasks:YYYY-MM-DDTHH:MM:SS INFO [vcf_om,##########,####] [c.v.v.t.services.TaskPublisher,om-scheduler-1] Found leftover task {"_type":"Task","_value":"task-######","_serverGuid":"########-####-####-####-########"} and marked it as failed!YYYY-MM-DDTHH:MM:SS INFO [vcf_om,##########,####] [c.v.v.t.services.TaskPublisher,om-scheduler-1] Found leftover task {"_type":"Task","_value":"task-######","_serverGuid":"########-####-####-####-########"} and marked it as failed!
YYYY-MM-DDTHH:MM:SS INFO [vcf_om,##########,####] [c.v.v.c.s.o.i.CertificateOperationOrchestratorImpl,http-nio-127.0.0.1-####-exec-#] Creating task for the certificate operation: VIEW_CERTIFICATEYYYY-MM-DDTHH:MM:SS INFO [vcf_om,##########,####] [c.v.v.c.s.o.i.CertificateOperationOrchestratorImpl,http-nio-127.0.0.1-####-exec-#] Creating task for the certificate operation: VIEW_CERTIFICATE
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
To resolve this issue, follow below steps:
/opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.shWhen the operations-manager service detects previous tasks that did not close gracefully (due to a service restart, timeout, or previous failure), it enters a protective state. Because the system believes a certificate-related operation is already "in flight" or the scheduler is cluttered with "leftover" tasks, it blocks new REPLACE_RESOURCE_CERTIFICATES requests to prevent database corruption or inconsistent component states.