In high-concurrency scenarios, deleting OpenStack users may intermittently fail.
Problem
When you attempt to delete an OpenStack user, an error message appears:
Failed to consume a task from the queue: Gateway Timeout (HTTP 504): GatewayTimeout: Gateway Timeout (HTTP 504)
To resolve this problem, modify the lock wait timeout of the database.