Tasks fail with resource lock acquisition error in SDDC Manager
search cancel

Tasks fail with resource lock acquisition error in SDDC Manager

book

Article ID: 444986

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

When executing a task from the SDDC Manager UI or via API, the task fails during the resource lock acquisition phase. The following error is observed in the logs:

YYYY-MM-DDTHH:MM:SS [ERROR] Reason: Resource is already locked by OPERATIONS_MANAGER service and XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX task.

Environment

VMware Cloud Foundation 9.0
SDDC Manager 9.0

Cause

A previously executed password update or rotation task has failed after several retries, leaving an internal global lock held at the VCF instance level. This lingering lock blocks subsequent tasks from acquiring the necessary resources.

Resolution

Cancel the stuck credential task to release the internal global lock.

Take an offline snapshot of the SDDC Manager virtual machine in advance. Then, execute the REST API DELETE /v1/credentials/tasks/{id} to explicitly cancel the target task.

Reference: 7. Cancel the Update/Rotate Passwords Task

Additional Information

Japanese version: SDDC Manager でタスクがリソースロックの取得で失敗する(444985)