Bug 1023201 - rhsc-shell command yields python exception
Summary: rhsc-shell command yields python exception
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: 2.1
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: RHGS 2.1.2
Assignee: Aravinda VK
QA Contact: Dustin Tsang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-24 21:11 UTC by Dustin Tsang
Modified: 2015-07-13 04:39 UTC (History)
7 users (show)

Fixed In Version: 2.1.2.0-0.2 CB6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-06 13:30:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Dustin Tsang 2013-10-24 21:11:21 UTC
Description of problem:
rhsc-shell command yields a python exception

<command>
[root@rhsc-cb5 ~]# rhsc-shell
Traceback (most recent call last):
  File "/usr/bin/rhsc-shell", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: rhsc-sdk>=2.1.0.0-0.bb3a
</command>



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

How reproducible:
100% 


Steps to Reproduce:
1. ssh to rhsc host
2. run command 'rhsc-shell'


Actual results:
following trace is shown:
<stacktrace>
Traceback (most recent call last):
  File "/usr/bin/rhsc-shell", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: rhsc-sdk>=2.1.0.0-0.bb3a
</stacktrace>


Expected results:
user enters rhsc-shell and receives welcome message


Additional info:

Comment 2 Dustin Tsang 2013-11-05 17:31:53 UTC
also an issue in rhsc-cb6

Comment 3 Dustin Tsang 2013-11-05 17:31:53 UTC
also an issue in rhsc-cb6

Comment 4 Dustin Tsang 2013-11-06 13:30:07 UTC
closed as not a bug


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