Bug 1909826
Summary: | [cephadm] 5.0 - Ceph orch apply command throws traceback message instead of helping users with closest match or help commands | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Preethi <pnataraj> |
Component: | Cephadm | Assignee: | Adam King <adking> |
Status: | CLOSED ERRATA | QA Contact: | Vasishta <vashastr> |
Severity: | high | Docs Contact: | Karen Norteman <knortema> |
Priority: | high | ||
Version: | 5.0 | CC: | adking, kdreyer, sewagner, vereddy |
Target Milestone: | --- | ||
Target Release: | 5.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ceph-16.1.0-486.el8cp | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-08-30 08:27:34 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Preethi
2020-12-21 18:45:29 UTC
Also an upstream bug related with this: https://tracker.ceph.com/issues/49056 Actually getting the closest matching commands to appear would be quite difficult as it would require "ceph orch apply" to actually not find a match. An error message like Error EINVAL: Improper use of 'ceph orch apply'. No valid service type provided. Usage: ceph orch apply -i <yaml spec> [--dry-run] ceph orch apply <service_type> [--placement=<placement_string>] [--unmanaged] where <service_type> can be: mon|mgr|rbd-mirror|crash|alertmanager|grafana|node-exporter|prometheus|mds|rgw|nfs|iscsi|cephadm-exporter that gives the context that no valid service type was provided to the apply command would be fairly straightforward. Would that be a sufficient fix? @Adam, Yes. Something like that will help. upstream change https://github.com/ceph/ceph/pull/39261 @Adam, Issue is fixed in latest alpha [ceph: root@ceph-sangadi-5-0-1614674044401-node1-mon-mgr-installer-node-exp /]# ceph orch apply Error EINVAL: Usage: ceph orch apply -i <yaml spec> [--dry-run] ceph orch apply <service_type> [--placement=<placement_string>] [--unmanaged] [ceph: root@ceph-sangadi-5-0-1614674044401-node1-mon-mgr-installer-node-exp /]# Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat Ceph Storage 5.0 bug fix and enhancement), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:3294 |