Bug 2243795 - [Bluewash] Add more information to the output of CLI command "ceph callhome show"
Summary: [Bluewash] Add more information to the output of CLI command "ceph callhome s...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Call-Home-Agent
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 7.0z1
Assignee: Juan Miguel Olmo
QA Contact: Sayalee
URL:
Whiteboard:
Depends On:
Blocks: 2260311 2265490
TreeView+ depends on / blocked
 
Reported: 2023-10-13 06:53 UTC by Sayalee
Modified: 2024-04-05 07:17 UTC (History)
14 users (show)

Fixed In Version: ceph-18.2.0-144.el9cp
Doc Type: Deprecated Functionality
Doc Text:
. `ceph callhome show` command is no longer used for showing user information. Previously, the Call Home `ceph callhome show` command was used for both printing reports and showing user information. The `ceph callhome show user info` command is now replaced by `ceph callhome get user info`. The `ceph callhome show` command is now only used to print reports. For more information, see Using Call Home.
Clone Of:
: 2265490 (view as bug list)
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-7721 0 None None None 2023-10-13 06:53:57 UTC

Description Sayalee 2023-10-13 06:53:42 UTC
Description of problem:
=======================
On running the "ceph callhome show" command, the user should get an option of reports that are available for checking.

# ceph callhome show
no valid command found; 2 closest matches:
callhome show <report_type>
callhome show user info
Error EINVAL: invalid command


Version-Release number of selected component (if applicable):
=============================================================
# dnf info cephadm
Updating Subscription Management repositories.
Last metadata expiration check: 3:18:32 ago on Thu Oct 12 23:32:29 2023.
Installed Packages
Name         : cephadm
Epoch        : 2
Version      : 18.2.0
Release      : 69.el9cp
Architecture : noarch
Size         : 231 k
Source       : cephadm-18.2.0-69.el9cp.src.rpm
Repository   : @System
From repo    : IBM-CEPH-7.0-20231002.ci.0
Summary      : Utility to bootstrap Ceph clusters
URL          : https://ceph.io
License      : LGPL-2.1
Description  : Utility to bootstrap a Ceph cluster and manage Ceph daemons deployed
             : with systemd and podman.


How reproducible:
================
Always


Steps to Reproduce:
==================
1. Deploy a IBM Ceph Storage 7 cluster
2. Enable call_home_agent on the cluster
3. From CLI, run the "ceph callhome show" commnad


Actual results:
===============
If no key is passed to the command, it returns output as -
# ceph callhome show
no valid command found; 2 closest matches:
callhome show <report_type>
callhome show user info
Error EINVAL: invalid command


Expected results:
=================
The ceph callhome show command does not provide any info on the available report options 

Whereas, the ceph callhome send command does that-
# ceph callhome send
Invalid command: missing required parameter report_type(<string>)
callhome send <report_type> :  Command for sending the report requested. Available reports: inventory, status, last_contact Example:     ceph callhome send inventory
Error EINVAL: invalid command

We should add similar info to the "show" command as well.


Note You need to log in before you can comment on or make changes to this bug.