SDDC Manager – this operation is not allowed
This week I was working with SDDC Manager when I noticed that many operations were disabled. When I hovered over the Backup button I got a messagebox “This operation is not allowed because 3797ad0d-181d-43e5-827e-ba2c6913b89d operation(s) are working on related resources.” I got the same message when I tried to rotate a password.
When I looked at the Tasks there were no running task. But I did notice the backup task that failed. Could this be the cause?
When you want to determine if there are any locks perform the following steps:
- Take Snapshot (uncheck Memory) of SDDC Manager
- SSH into SDDC Manager Appliance with the VCF account
- Elevate to Root ( su – )
Run a query to check for locks:
psql --host=localhost -U postgres -d platform -c "select * from lock"

So there was a lock: SDDC Manager DEPLOYMENT lock to perform Backup. And as you can see, the serviceIdentifier was the same id as the id in the error message.
The fix is straightforward: delete the lock with the following query. The id is the first field from the lock (id).
psql --host=localhost -U postgres -d platform -c "delete from lock where id='9e5fd53e-e114-4e52-b17e-7e18bf863cc9'";

After deleting the lock SDDC Manager was happy again and the Backup button was enabled.