summaryrefslogtreecommitdiffstats
path: root/mcp/config/states/neutron_compute
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-09-26 13:21:23 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-09-27 06:41:51 +0000
commita27ad89c0d97ff1be7f40af51b59df8d26dc7fe4 (patch)
tree8af575318ff6dc85db790b3fd3695af7800292d7 /mcp/config/states/neutron_compute
parent533b81df35acd7c2f16cd347cf3167583e870d38 (diff)
[virtual] Switch compute nodes to uca repo
Test of snaps_health_check gets console output of instance, which is empty (https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1667033), therefore take affected packages of computes from UCA repo. Change-Id: I4e13a40dd47caf305efd9f393b3c3cf5a17ef312 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit c76d5e92d9e6cdfc614be4a1ed7b9e630c711008)
Diffstat (limited to 'mcp/config/states/neutron_compute')
-rwxr-xr-xmcp/config/states/neutron_compute2
1 files changed, 2 insertions, 0 deletions
diff --git a/mcp/config/states/neutron_compute b/mcp/config/states/neutron_compute
index d58162100..6266b0f18 100755
--- a/mcp/config/states/neutron_compute
+++ b/mcp/config/states/neutron_compute
@@ -2,3 +2,5 @@
set -x
salt -I 'neutron:compute' state.sls neutron
+salt -I 'neutron:compute' file.append /etc/sudoers.d/neutron_sudoers \
+ args='neutron ALL = (root) NOPASSWD: /usr/bin/neutron-rootwrap-daemon /etc/neutron/rootwrap.conf'