mirror of
https://github.com/ceph/ceph
synced 2025-02-22 02:27:29 +00:00
qa: TestMDSMetrics.test_delayed_metrics failure
TestMDSMetrics.test_delayed_metrics is failing due to the absence of omit_sudo parameter in the remote.run() of set_inter_mds_block() in qa/tasks/cephfs/filesystem.py Fixes: https://tracker.ceph.com/issues/56065 Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
This commit is contained in:
parent
228f0f48e7
commit
4b26559858
@ -434,7 +434,7 @@ class MDSCluster(CephCluster):
|
||||
ip_str, port_str = re.match("(.+):(.+)", addr).groups()
|
||||
remote.run(
|
||||
args=["sudo", "iptables", da_flag, "INPUT", "-p", "tcp", "--dport", port_str, "-j", "REJECT", "-m",
|
||||
"comment", "--comment", "teuthology"])
|
||||
"comment", "--comment", "teuthology"], omit_sudo=False)
|
||||
|
||||
|
||||
mds = mds_ids[1]
|
||||
@ -444,10 +444,10 @@ class MDSCluster(CephCluster):
|
||||
ip_str, port_str = re.match("(.+):(.+)", addr).groups()
|
||||
remote.run(
|
||||
args=["sudo", "iptables", da_flag, "OUTPUT", "-p", "tcp", "--sport", port_str, "-j", "REJECT", "-m",
|
||||
"comment", "--comment", "teuthology"])
|
||||
"comment", "--comment", "teuthology"], omit_sudo=False)
|
||||
remote.run(
|
||||
args=["sudo", "iptables", da_flag, "INPUT", "-p", "tcp", "--dport", port_str, "-j", "REJECT", "-m",
|
||||
"comment", "--comment", "teuthology"])
|
||||
"comment", "--comment", "teuthology"], omit_sudo=False)
|
||||
|
||||
self._one_or_all((mds_rank_1, mds_rank_2), set_block, in_parallel=False)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user