"Get the mysql container id when galera is enabled" play is error-prone

Solution Verified - Updated -

Issue

  • openstack overcloud backup command fails. The following error is thrown:

    fatal: [controller02]: FAILED! => {"attempts": 300, "changed": true, "cmd": "set -o pipefail\npodman exec 8862d8d227b8\n1c9d9dd69dd3 bash -c \"mysql -p -u root \\\n-pPASSWORD --execute 'SET GLOBAL wsrep_desync = ON'\"\n", "delta": "0:00:00.145099", "end": "TS", "msg": "non-zero return code", "rc": 127, "start": "TS0", "stderr": "Error: must provide a non-empty command to start an exec session: invalid argument\n/bin/sh: line 2: 1c9d9dd69dd3: command not found", "stderr_lines": ["Error: must provide a non-empty command to start an exec session: invalid argument", "/bin/sh: line 2: 1c9d9dd69dd3: command not found"], "stdout": "", "stdout_lines": []}
    

Environment

  • Red Hat OpenStack Platform 16.2
  • Back up procedure for Overcloud

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content