Bug 1164721

Summary: Packaging gstatus utility with RHS
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Nagaprasad Sathyanarayana <nsathyan>
Component: buildAssignee: Bala.FA <barumuga>
Status: CLOSED ERRATA QA Contact: Sachidananda Urs <surs>
Severity: unspecified Docs Contact:
Priority: high    
Version: rhgs-3.0CC: amukherj, asrivast, barumuga, divya, dpati, nlevinki, rcyriac, rhs-bugs, sharne, smohan, surs, vagarwal
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.0.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gstatus-0.62-1.el6rhs, redhat-storage-server-3.0.3.1-1.el6rhs Doc Type: Enhancement
Doc Text:
gstatus utility is added to the Red Hat Storage Server to provide an easy-to-use, high-level view of the health of a trusted storage pool with a single command. It gathers status/health information of the Red Hat Storage nodes, volumes, and bricks by executing the GlusterFS commands
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-15 13:42:28 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:
Bug Depends On:    
Bug Blocks: 1162694    

Description Nagaprasad Sathyanarayana 2014-11-17 08:50:32 UTC
Description of problem:
gstatus utility must be packaged with RHS.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Bala.FA 2014-11-17 10:49:38 UTC
Patch is under review at https://code.engineering.redhat.com/gerrit/36770

Comment 3 Atin Mukherjee 2014-11-19 07:00:17 UTC
This bug doesn't fall under ateam, hence removing the name from devel whiteboard.

Comment 4 Sachidananda Urs 2014-12-02 15:10:58 UTC
Bala you've packaged all the .pyo and .pyc files. Can you remove them and build again?

[root@mater gstatus-0.62]# ls
build  examples  gstatus.egg-info  gstatus.pyc  gstatus.spec  rpms      setup.pyc  todo-list
dist   gstatus   gstatus.py        gstatus.pyo  README        setup.py  setup.pyo

Comment 5 Bala.FA 2014-12-02 16:14:59 UTC
I can't understand what you mean.  I don't see .py[co] in source tarball

[bala@localhost gstatus.rhpkg]$ tar -ztf gstatus-0.62.tar.gz 
gstatus-gstatus/
gstatus-gstatus/README
gstatus-gstatus/gstatus.spec
gstatus-gstatus/gstatus.py
gstatus-gstatus/.gitignore
gstatus-gstatus/gstatus/
gstatus-gstatus/gstatus/classes/
gstatus-gstatus/gstatus/classes/gluster.py
gstatus-gstatus/gstatus/classes/__init__.py
gstatus-gstatus/gstatus/functions/
gstatus-gstatus/gstatus/functions/config.py
gstatus-gstatus/gstatus/functions/utils.py
gstatus-gstatus/gstatus/functions/network.py
gstatus-gstatus/gstatus/functions/syscalls.py
gstatus-gstatus/gstatus/functions/__init__.py
gstatus-gstatus/gstatus/__init__.py
gstatus-gstatus/examples/
gstatus-gstatus/examples/multi_brick_down
gstatus-gstatus/examples/one_brick_down
gstatus-gstatus/examples/volume_info_with_layout
gstatus-gstatus/examples/healthy_cluster
gstatus-gstatus/examples/one_node_down
gstatus-gstatus/examples/multi_nodes_down
gstatus-gstatus/todo-list
gstatus-gstatus/rpms/
gstatus-gstatus/setup.py
[bala@localhost gstatus.rhpkg]$

Comment 6 Sachidananda Urs 2014-12-03 09:23:43 UTC
[root@luigi gstatus-0.62]# pwd
/usr/lib/glusterfs/.unsupported/gstatus-0.62
[root@luigi gstatus-0.62]# ls
examples  gstatus.py   gstatus.pyo   README  setup.py   setup.pyo
gstatus   gstatus.pyc  gstatus.spec  rpms    setup.pyc  todo-list


I see this as part of ISO that was spun on 26th November 2014. We are yet to get the latest ISO, I can verify that and let you know.

Comment 7 Bala.FA 2014-12-03 15:47:00 UTC
Is this happening in 'fixed in version' of redhat-storage-server-3.0.3.1-1.el6rhs?

Comment 8 Sachidananda Urs 2014-12-05 06:56:50 UTC
I can see this is fixed in current ISO and package attached to errata.

Marking as verified.

Comment 9 Divya 2015-01-07 10:02:28 UTC
Bala,

Please review the edited doc text and sign-off.

Comment 10 Bala.FA 2015-01-07 10:36:35 UTC
Slightly change the doctext.  It looks good to me now.

Comment 12 errata-xmlrpc 2015-01-15 13:42:28 UTC
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, 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://rhn.redhat.com/errata/RHBA-2015-0038.html