mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
qa/tasks/ceph_manager: asok commands via cephadm shell
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
a3a1e3e8ac
commit
4e57785e74
@ -1530,6 +1530,18 @@ class CephManager:
|
||||
"""
|
||||
if stdout is None:
|
||||
stdout = StringIO()
|
||||
|
||||
if self.cephadm:
|
||||
return shell(
|
||||
self.ctx, self.cluster, self.controller,
|
||||
args=[
|
||||
'ceph', 'daemon', '%s.%s' % (service_type, service_id),
|
||||
] + command,
|
||||
stdout=stdout,
|
||||
wait=True,
|
||||
check_status=check_status,
|
||||
)
|
||||
|
||||
testdir = teuthology.get_testdir(self.ctx)
|
||||
remote = self.find_remote(service_type, service_id)
|
||||
args = [
|
||||
|
Loading…
Reference in New Issue
Block a user