openstack-ansible/releasenotes/notes/centos-galera-privatedevices-4958f0be6cffa466.yaml
Major Hayden d10f52bb18 Set PrivateDevices=false for Galera
This patch sets the `galera_disable_privatedevices` variable in the
galera_server role. If galera is deployed with a container, the
PrivateDevices configuration will be disabled in MariaDB's systemd
unit file.

Related-Bug: 1697531
Change-Id: I3dce66a5fa94d8a1a27280244622ca68036e6ad1
2017-06-15 09:00:00 +00:00

15 lines
630 B
YAML

---
issues:
- |
OpenStack-Ansible sets a new variable, `galera_disable_privatedevices`,
that controls whether the `PrivateDevices` configuration in MariaDB's
systemd unit file is enabled.
If the `galera_server` role is deployed on a bare metal host, the MariaDB
default is maintained (`PrivateDevices=true`). If the `galera_server` role
is deployed within a container, the `PrivateDevices` configuration is set
to `true` to work around a systemd bug with a bind mounted `/dev/ptmx`.
See `Launchpad Bug 1697531 <https://bugs.launchpad.net/openstack-ansible/+bug/1697531>`_
for more details.