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.

Solution

  1. Log in to the Integrated OpenStack Manager as the root user.
    ssh root@mgmt-server-ip
  2. Modify the MariaDB configuration.
    viocli update mariadb
  3. In the conf section, add the innodb_lock_wait_timeout parameter and set its value to 1000.

    The configuration file includes:

    conf:
      innodb_lock_wait_timeout: 1000