def test_mds(self, _send_command, _get_connection, ssh_module): with self._with_host(ssh_module, 'test'): ps = PlacementSpec(nodes=['test']) c = ssh_module.add_mds(StatelessServiceSpec('name', ps)) [out] = self._wait(ssh_module, c) assert "(Re)deployed mds.name." in out assert " on host 'test'" in out
def test_rbd_mirror(self, _send_command, _get_connection, cephadm_module): with self._with_host(cephadm_module, 'test'): ps = PlacementSpec(nodes=['test']) c = cephadm_module.add_rbd_mirror(StatelessServiceSpec('name', ps)) [out] = self._wait(cephadm_module, c) assert "(Re)deployed rbd-mirror." in out assert " on host 'test'" in out
def test_mds(self, _send_command, _get_connection, cephadm_module): with self._with_host(cephadm_module, 'test'): ps = PlacementSpec(hosts=['test'], count=1) c = cephadm_module.add_mds(StatelessServiceSpec('name', placement=ps)) [out] = self._wait(cephadm_module, c) assert "Deployed mds.name." in out assert " on host 'test'" in out