MariaDB Galera recovery not possible because of "/bin/sh: 1: [[: not found"
Bug #1729603 reported by
Christian Berendt
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Critical
|
Benjamin Diaz |
Bug Description
While running the recovery playbook for the mariadb cluster i got the following issue in the task "Registering mariadb seqno variable": /bin/sh: 1: [[: not found
In the task we call [[ with the ansible shell module without setting the used shell to bash. By default ansible uses /bin/sh and not /bin/bash. [[ is a future of bash, not sh. Because of this we have to set the shell to /bin/bash when using [[.
Changed in kolla-ansible: | |
importance: | Undecided → Critical |
description: | updated |
summary: |
- MariaDB Galera recovery not possible + MariaDB Galera recovery not possible because of "/bin/sh: 1: [[: not + found" |
Changed in kolla-ansible: | |
assignee: | nobody → Benjamin Diaz (benjamin.diaz) |
assignee: | Benjamin Diaz (benjamin.diaz) → nobody |
Changed in kolla-ansible: | |
assignee: | nobody → Benjamin Diaz (benjamin.diaz) |
milestone: | none → queens-2 |
Changed in kolla-ansible: | |
milestone: | queens-2 → queens-3 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/523180 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=6f64549e1bf 54af55072a5992d 1011b28fa6ca22
Committed: https:/
Submitter: Zuul
Branch: master
commit 6f64549e1bf54af 55072a5992d1011 b28fa6ca22
Author: Benjamin Diaz <email address hidden>
Date: Mon Nov 27 15:07:38 2017 -0300
Set bash as shell when executing mariadb recovery task
Added 'executable' argument to the shell action in the
'Comparing seqno value' task in the cluster recovery playbook.
Change-Id: I3e96a4a76b44ff b558b9a41cde16e 66a8d0fab1a
Closes-Bug: #1729603