SDDC Manager tasks such as host commissioning, vCenter upgrades, or password rotations 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.
“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.logyyyy-mm-ddThh:mm:ss DEBUG [vcf_om,40#######ef,f8fb] [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":["d68f####-####-####-###99"],"message":"Password update task d68f####-####-####-###99 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."Update Now button for vCenter or other bundles is greyed out.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.