From d6563a92d4071401359d3901bd59858ef01d6e44 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Wed, 1 Jul 2015 09:12:00 -0600 Subject: [PATCH] syslog: Don't use chcon on downburst VMs Signed-off-by: Zack Cerza --- teuthology/task/internal.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/teuthology/task/internal.py b/teuthology/task/internal.py index 421ff6b297..94338f318a 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( -- 2.39.5