Bug 1944503
| Summary: | Command to check per-daemon-events not working | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Pawan <pdhiran> |
| Component: | Cephadm | Assignee: | Adam King <adking> |
| Status: | CLOSED ERRATA | QA Contact: | Rahul Lepakshi <rlepaksh> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.0 | CC: | adking, agunn, akupczyk, bhubbard, ceph-eng-bugs, jolmomar, nojha, rlepaksh, rzarzyns, sseshasa, vereddy, vumrao |
| Target Milestone: | --- | ||
| Target Release: | 5.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-16.2.6-1.el8cp | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-04-04 10:20:36 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
Pawan
2021-03-30 04:52:08 UTC
The documentation for the single daemon events command is wrong. It should be something like "ceph orch ps --service-name <service-name> --daemon-id <daemon-id> --format yaml" For example, I can use that setup to get the events for a daemon "mon.vm-02" I had on a cluster: [ceph: root@vm-00 /]# ceph orch ps --service-name mon --daemon-id=vm-02 --format yaml daemon_type: mon daemon_id: vm-02 hostname: vm-02 container_id: 47c67e1b6064 container_image_id: 54d9b6d180154d293902d197ed6a1e6279a8f3865989cf687cb36f4c2b630a4a container_image_name: docker.io/amk3798/ceph@sha256:88f74a48e63631ef101179bc65a92f93fc32fd66f8c34e67a3a15711eb985220 container_image_digests: - docker.io/amk3798/ceph@sha256:88f74a48e63631ef101179bc65a92f93fc32fd66f8c34e67a3a15711eb985220 memory_usage: 60261662 version: 17.0.0-2904-g116ef525 status: 1 status_desc: running is_active: false ports: [] last_refresh: '2021-04-08T19:00:28.929137Z' created: '2021-04-08T18:58:37.476052Z' started: '2021-04-08T18:58:37.322669Z' events: - 2021-04-08T18:58:40.505998Z daemon:mon.vm-02 [INFO] "Deployed mon.vm-02 on host 'vm-02'" - 2021-04-08T19:00:19.768095Z daemon:mon.vm-02 [INFO] "Reconfigured mon.vm-02 on host 'vm-02'" I created an upstream PR to change the documentation: https://github.com/ceph/ceph/pull/40712 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 (Moderate: Red Hat Ceph Storage 5.1 Security, Enhancement, and Bug Fix update), 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/RHSA-2022:1174 |