From 8fac22e21279bbffab29509ff2405701c2af4550 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Wed, 1 Jul 2015 09:00:53 -0600 Subject: [PATCH] Exclude downburst VMs Their cloud images have SELinux disabled; exclude them until we can change that. Signed-off-by: Zack Cerza --- teuthology/task/selinux.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/teuthology/task/selinux.py b/teuthology/task/selinux.py index 4b95182e..39b717d2 100644 --- a/teuthology/task/selinux.py +++ b/teuthology/task/selinux.py @@ -26,12 +26,15 @@ class SELinux(Task): def filter_hosts(self): """ - Exclude any non-RPM-based hosts + Exclude any non-RPM-based hosts, and any downburst VMs """ super(SELinux, self).filter_hosts() new_cluster = Cluster() for (remote, roles) in self.cluster.remotes.iteritems(): - if remote.os.package_type == 'rpm': + if remote.shortname.startswith('vpm'): + msg = "Excluding {host}: downburst VMs are not yet supported" + log.info(msg.format(host=remote.shortname)) + elif remote.os.package_type == 'rpm': new_cluster.add(remote, roles) else: msg = "Excluding {host}: OS '{os}' does not support SELinux" -- 2.47.3