Comment 7 for bug 1947534

Revision history for this message
Victor Morales (electrocucaracha) wrote :

I got it this error as well in All-in-One setup. These are the MariaDB's errors.

$ docker exec mariadb grep ERROR /var/log/kolla/mariadb/mariadb.log
ERROR 2002 (HY000): Can't connect to MySQL server on '10.0.2.204' (115)
2021-10-19 16:39:26 2 [ERROR] WSREP: Process completed with error: /usr/local/bin/wsrep-notify.sh --status connected: 1 (Operation not permitted)
2021-10-19 16:39:26 2 [ERROR] WSREP: Notification command failed: 1 (Operation not permitted): "/usr/local/bin/wsrep-notify.sh --status connected"
ERROR 2002 (HY000): Can't connect to MySQL server on '10.0.2.204' (115)
2021-10-19 16:39:26 2 [ERROR] WSREP: Process completed with error: /usr/local/bin/wsrep-notify.sh --status joiner: 1 (Operation not permitted)
2021-10-19 16:39:26 2 [ERROR] WSREP: Notification command failed: 1 (Operation not permitted): "/usr/local/bin/wsrep-notify.sh --status joiner"
ERROR 2002 (HY000): Can't connect to MySQL server on '10.0.2.204' (115)
2021-10-19 16:39:26 2 [ERROR] WSREP: Process completed with error: /usr/local/bin/wsrep-notify.sh --status initializing: 1 (Operation not permitted)
2021-10-19 16:39:26 2 [ERROR] WSREP: Notification command failed: 1 (Operation not permitted): "/usr/local/bin/wsrep-notify.sh --status initializing"

The documentation mentions[2] that All-in-One setups can run without haproxy and keepalived setting enable_haproxy to false but this enables[3] wsrep-notify.sh execution[1]. Is it correct this disabling logic[1]?

[1] https://review.opendev.org/c/openstack/kolla-ansible/+/786182
[2] https://github.com/openstack/kolla-ansible/blob/stable/xena/etc/kolla/globals.yml#L49-L52
[3] https://github.com/openstack/kolla-ansible/blob/stable/xena/ansible/roles/mariadb/defaults/main.yml#L121