Bug 1023201

Summary: rhsc-shell command yields python exception
Product: Red Hat Gluster Storage Reporter: Dustin Tsang <dtsang>
Component: rhscAssignee: Aravinda VK <avishwan>
Status: CLOSED NOTABUG QA Contact: Dustin Tsang <dtsang>
Severity: urgent Docs Contact:
Priority: high    
Version: 2.1CC: dtsang, knarra, mmahoney, mmccune, pprakash, rhs-bugs, ssampat
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 2.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.1.2.0-0.2 CB6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-06 13:30:07 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 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