]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/tasks/cephadm.py
import ceph 15.2.10
[ceph.git] / ceph / qa / tasks / cephadm.py
index aaf0e68ff74926c5c43aab1c7e6c4af585a69c06..43139274576c835f3fdf95814b295b35138e2d89 100644 (file)
@@ -212,13 +212,13 @@ def ceph_log(ctx, config):
             return None
 
         if first_in_ceph_log('\[ERR\]|\[WRN\]|\[SEC\]',
-                             config.get('log-whitelist')) is not None:
+                             config.get('log-ignorelist')) is not None:
             log.warning('Found errors (ERR|WRN|SEC) in cluster log')
             ctx.summary['success'] = False
             # use the most severe problem as the failure reason
             if 'failure_reason' not in ctx.summary:
                 for pattern in ['\[SEC\]', '\[ERR\]', '\[WRN\]']:
-                    match = first_in_ceph_log(pattern, config['log-whitelist'])
+                    match = first_in_ceph_log(pattern, config['log-ignorelist'])
                     if match is not None:
                         ctx.summary['failure_reason'] = \
                             '"{match}" in cluster log'.format(