Bug 1371084

Summary: agent installation status not in user readable format
Product: Red Hat Storage Console Reporter: Bipin Kunal <bkunal>
Component: ceph-installerAssignee: Christina Meno <gmeno>
Status: CLOSED NOTABUG QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2CC: adeza, aschoen, ceph-eng-bugs, kdreyer, nthomas, sankarshan
Target Milestone: ---   
Target Release: 3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-02 17:35:02 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:

Description Bipin Kunal 2016-08-29 09:56:12 UTC
Description of problem: The status of process installing and configuring the Red Storage Console Agent is not at all in readable format. 

Such status might be readable for developers but it is not at all readable for users. With such status format(everything in single line) it is being very tough to deduce what is the process doing and what is the status.

Version :
RHSC 2.0

How reproducible:
Always

Steps to Reproduce:
1. As root, install and configure the Red Hat Storage Console Agent:
   # curl <FQDN_RHS_Console_node>:8181/setup/agent/ | bash
2. To view the status of this process, run the following command:
   # curl <FQDN_RHS_Console_node>:8181/api/tasks/


Actual results:
status not well formatted

Expected results:
status should be well formatted

Comment 3 Ken Dreyer (Red Hat) 2017-03-02 17:35:02 UTC
Please use the /usr/bin/ceph-installer CLI utility to view tasks rather than curl'ing. If you really want to see the raw JSON, you can pretty-print it with the "jq" utility.