From a45a72cfb9595333d8f40cd4d48eed71abcbe343 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Thu, 17 Sep 2015 08:33:28 -0400 Subject: [PATCH] Disable SElinux on CentOS7 jobs python-cffi is preventing Nova & Keystone to run when SElinux is enforced. The bug is reported [1] and RDO team is working on it. In the meantime, we need to disable SElinux so we can run our CI again. This patch might be reverted once a fix is released in packaging. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1249685 Change-Id: I4720ec701cb36f56a9556a124204db32fa8e8434 --- install_modules.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install_modules.sh b/install_modules.sh index fbc8eece0..d275b7105 100755 --- a/install_modules.sh +++ b/install_modules.sh @@ -57,4 +57,10 @@ if type "apt-get" 2>/dev/null; then # apt-get update needs to be run to be able (later) to install # ubuntu-cloud-keyring package with puppet /usr/bin/apt-get update +else + # disable SElinux + # something is python-cffi is preventing Nova & Keystone to + # correctly run when SElinux is enforced. See bug: + # https://bugzilla.redhat.com/show_bug.cgi?id=1249685 + /usr/sbin/setenforce 0 fi