]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #55238 from joscollin/wip-64074-quincy
authorRishabh Dave <ridave@redhat.com>
Wed, 7 Aug 2024 17:59:32 +0000 (23:29 +0530)
committerGitHub <noreply@github.com>
Wed, 7 Aug 2024 17:59:32 +0000 (23:29 +0530)
quincy: pybind/mgr/mirroring: drop mon_host from peer_list

Reviewed-by: Rishabh Dave <ridave@redhat.com>
1  2 
qa/tasks/cephfs/test_mirroring.py

index 24dbd61b17fbbf4bcad794e055fb5d99aed95aae,1ce5cdca8a7c8d0db9096c4123a7498a04ec5302..afd49f6b2ffc636a762f1147d58b402e8d99a3d9
@@@ -796,9 -792,8 +796,8 @@@ class TestMirroring(CephFSTestCase)
  
          # verify via peer_list interface
          peer_uuid = self.get_peer_uuid("client.mirror_peer_bootstrap@site-remote")
 -        res = json.loads(self.mgr_cluster.mon_manager.raw_cluster_cmd("fs", "snapshot", "mirror", "peer_list", self.primary_fs_name))
 +        res = json.loads(self.get_ceph_cmd_stdout("fs", "snapshot", "mirror", "peer_list", self.primary_fs_name))
          self.assertTrue(peer_uuid in res)
-         self.assertTrue('mon_host' in res[peer_uuid] and res[peer_uuid]['mon_host'] != '')
  
          # remove peer
          self.peer_remove(self.primary_fs_name, self.primary_fs_id, "client.mirror_peer_bootstrap@site-remote")