aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorSam Yaple <sam@yaple.net>2015-10-13 06:30:30 +0000
committerSam Yaple <sam@yaple.net>2015-10-13 15:13:55 +0000
commit5f200e044648efe64f297d186432839762f91395 (patch)
tree94500884a880720dea35946dbbc2370a98b7b073 /ansible
parentc5be228be843222e9c9f2be36b92659ada3e25a8 (diff)
downloadkolla-5f200e044648efe64f297d186432839762f91395.tar.gz
kolla-5f200e044648efe64f297d186432839762f91395.zip
Fix issue with su and bad kernels
Long story short, some kernels before 3.15 had an issue with using su in a container when the network namespace was --net=host. The gate has a 3.10 and a 3.13 kernel and has a problem with this. This changes everything to use sudo backport: liberty Partially-Implements: blueprint functional-testing-gate Change-Id: I4d79ccaa1cddffcc8393f64e7e1be2538efe33e5
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/rabbitmq/templates/rabbitmq.json.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/rabbitmq/templates/rabbitmq.json.j2 b/ansible/roles/rabbitmq/templates/rabbitmq.json.j2
index 1f0d48a67..264c96fde 100644
--- a/ansible/roles/rabbitmq/templates/rabbitmq.json.j2
+++ b/ansible/roles/rabbitmq/templates/rabbitmq.json.j2
@@ -1,5 +1,5 @@
{
- "command": "/usr/sbin/rabbitmq-server",
+ "command": "sudo -H -u rabbitmq /usr/sbin/rabbitmq-server",
"config_files": [
{
"source": "{{ container_config_directory }}/rabbitmq-env.conf",