From: Zack Cerza Date: Wed, 1 Jul 2015 15:12:00 +0000 (-0600) Subject: syslog: Don't use chcon on downburst VMs X-Git-Tag: 1.1.0~892^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F556%2Fhead;p=teuthology.git syslog: Don't use chcon on downburst VMs Signed-off-by: Zack Cerza --- diff --git a/teuthology/task/internal.py b/teuthology/task/internal.py index 421ff6b2..94338f31 100644 --- a/teuthology/task/internal.py +++ b/teuthology/task/internal.py @@ -603,7 +603,8 @@ def syslog(ctx, config): conf_fp = StringIO('\n'.join(conf_lines)) try: for rem in ctx.cluster.remotes.iterkeys(): - if rem.os.package_type == 'rpm': + # Exclude downburst VMs for now; they have SELinux disabled + if rem.os.package_type == 'rpm' and not misc.is_vm(rem.shortname): log_context = 'system_u:object_r:var_log_t:s0' for log_path in (kern_log, misc_log): rem.run(