From 160240e0c1c216c950b7210a561b27436198de1f Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Mon, 9 Oct 2017 10:11:14 -0400 Subject: [PATCH] qa/rgw: ignore errors from 'pool application enable' Fixes: http://tracker.ceph.com/issues/21715 Signed-off-by: Casey Bodley --- qa/tasks/util/rados.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/tasks/util/rados.py b/qa/tasks/util/rados.py index 86c4b538921..a83f9e19082 100644 --- a/qa/tasks/util/rados.py +++ b/qa/tasks/util/rados.py @@ -34,7 +34,7 @@ def create_ec_pool(remote, name, profile_name, pgnum, profile={}, cluster_name=" if application: remote.run(args=[ 'sudo', 'ceph', 'osd', 'pool', 'application', 'enable', name, application, '--cluster', cluster_name - ]) + ], check_status=False) # may fail as EINVAL when run in jewel upgrade test def create_replicated_pool(remote, name, pgnum, cluster_name="ceph", application=None): remote.run(args=[ @@ -43,7 +43,7 @@ def create_replicated_pool(remote, name, pgnum, cluster_name="ceph", application if application: remote.run(args=[ 'sudo', 'ceph', 'osd', 'pool', 'application', 'enable', name, application, '--cluster', cluster_name - ]) + ], check_status=False) def create_cache_pool(remote, base_name, cache_name, pgnum, size, cluster_name="ceph"): remote.run(args=[ -- 2.39.5