summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/orchestrator
diff options
context:
space:
mode:
authorroot <root@localhost.localdomain>2024-06-20 12:27:38 +0200
committerroot <root@localhost.localdomain>2024-06-20 12:27:38 +0200
commit5f3f6254077987ecc3cac09195cd46dc21e18ae5 (patch)
treeb5ae764537f8d84f43de7d36f286f59d00f2109d /src/pybind/mgr/orchestrator
parentMerge pull request #58068 from rhcs-dashboard/disable-telemetry-notifications... (diff)
downloadceph-5f3f6254077987ecc3cac09195cd46dc21e18ae5.tar.xz
ceph-5f3f6254077987ecc3cac09195cd46dc21e18ae5.zip
mgr: excute cmd 'ceph orch apply osd' returned without error info
Fixes: https://tracker.ceph.com/issues/66574 Signed-off-by: teng jie <tengjie5@asiainfo.com>
Diffstat (limited to 'src/pybind/mgr/orchestrator')
-rw-r--r--src/pybind/mgr/orchestrator/module.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pybind/mgr/orchestrator/module.py b/src/pybind/mgr/orchestrator/module.py
index 4969e1f5eb7..8de0df19e80 100644
--- a/src/pybind/mgr/orchestrator/module.py
+++ b/src/pybind/mgr/orchestrator/module.py
@@ -1227,11 +1227,11 @@ class OrchestratorCli(OrchestratorClientMixin, MgrModule,
"""
if inbuf and all_available_devices:
- return HandleCommandResult(-errno.EINVAL, '-i infile and --all-available-devices are mutually exclusive')
+ return HandleCommandResult(-errno.EINVAL, stderr='-i infile and --all-available-devices are mutually exclusive')
if not inbuf and not all_available_devices:
# one parameter must be present
- return HandleCommandResult(-errno.EINVAL, '--all-available-devices is required')
+ return HandleCommandResult(-errno.EINVAL, stderr='--all-available-devices is required')
if inbuf:
if unmanaged is not None: