SDDC Manager tasks such as host commissioning, vCenter upgrades, or password rotations may fail when a previous workflow leaves a stale resource lock in the internal database. This occurs when a task enters a terminal failed state without releasing the lock and some of errors encountered as listed beow:
This operation is not allowed because Password Manager operation(s) are working on related resources.The scheduled auto-rotate workflow could not run due to another operation blocking the resources.The operation is not allowed because the system lock is held by a Password Manager operation in progress.var/log/vmware/vcf/operationsmanager/operationsmanager.log entries similar to below are observed:YYYY-MM-DDThh:mm:ss DEBUG [vcf_om,########,####] [c.v.e.s.e.h.LocalizableRuntimeExceptionHandler,http-nio-127.0.0.1-7300-exec-4] Handler Error Response: {"errorCode":"PASSWORD_MANAGER_UPDATE_IN_PROGRESS","arguments":["####-####-####-###"],"message":"Password update task ####-####-####-### is in progress/failed state, retry after sometime.","remediationMessage":"Wait for currently in-progress transaction to complete as succeeded/cancelled.","referenceToken":"######"}Password Manager operations are working on related resources./var/log/vmware/vcf/domainmanager/domainmanager.log
YYYY-MM-DDThh:mm:ss DEBUG [vcf_dm,########,####] [c.v.v.q.s.QueueProcessingService,dm-scheduler-3] REMOVE_HOST_WORKFLOW task ####-####-####-#### remains in queue because resource lock domain is unavailableSDDC Manager 5.X
VCF 9.X
A password management workflow (rotation or update) entered a FAILED or PREVALIDATION_FAILED state but did not release the database resource lock in the operationsmanager or platform databases.
Take a snapshot of the SDDC Manager VM (without memory) before proceeding, then choose one of the options below:
DELETE /v1/credentials/tasks/{id}.
psql -h localhost -U postgres -d operationsmanager -c "select workflow_id, operation_type, transaction_status from passwordmanager.password_operations where transaction_status='FAILED' OR transaction_status='PREVALIDATION_FAILED';"psql -h localhost -U postgres -d operationsmanager -c "update passwordmanager.password_operations set transaction_status='USER_CANCELLED' where transaction_status='FAILED' OR transaction_status='PREVALIDATION_FAILED';"psql -h localhost -U postgres -d platform -c "select * from lock;"resource_type is deployment :psql -h localhost -U postgres -d platform -c "delete from lock where resource_type='deployment';"/opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.shFor further assistance, see Contact Broadcom Support.