Bug 1022338

Summary: rhsc-setup fails with "cannot import name redhatsupportplugin"
Product: Red Hat Gluster Storage Reporter: Sahina Bose <sabose>
Component: redhat-access-plugin-rhscAssignee: Spenser Shumaker <sshumake>
Status: CLOSED ERRATA QA Contact: Prasanth <pprakash>
Severity: high Docs Contact:
Priority: high    
Version: 2.1CC: dpati, dtsang, knarra, kroberts, mmahoney, pprakash, sabose, sdharane, sharne, ssampat, sshumake
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 2.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-access-plugin-rhsc-2.1.2-2.el6rhs.noarch Doc Type: Bug Fix
Doc Text:
Previously, rhsc-setup command was failing and an error message that the redhatsupportplugin cannot be installed was displayed. Now, with this update, the import path for redhatsupportplugin is updated and the rhsc-setup command runs successfully.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-25 07:43:44 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 Sahina Bose 2013-10-23 05:44:27 UTC
Description of problem:

Install redhat-access-plugin-storage from https://brewweb.devel.redhat.com/buildinfo?buildID=292535.

 After installing this with recent rhsc build, "rhsc-setup" gives following error

 [root@localhost rhsc_rpms]# rhsc-setup
***L:ERROR Internal error: cannot import name redhatsupportplugin

 
 Some details about the installation

 [root@localhost rhsc_rpms]# ls -l /usr/share/ovirt-engine/setup/plugins/ovirt-engine-setup/redhat-access-plugin-storage/
total 40
-rw-r--r--. 1 root root  862 Aug 29 21:49 __init__.py
-rw-r--r--. 2 root root  620 Aug 29 21:49 __init__.pyc
-rw-r--r--. 2 root root  620 Aug 29 21:49 __init__.pyo
-rw-r--r--. 1 root root 8258 Aug 29 21:49 redhat-access-plugin-storage.py
-rw-r--r--. 2 root root 6626 Aug 29 21:49 redhat-access-plugin-storage.pyc
-rw-r--r--. 2 root root 6626 Aug 29 21:49 redhat-access-plugin-storage.pyo

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

rhsc-2.1.2-0.21.beta1

How reproducible:
Always

Steps to Reproduce:
As above

Comment 4 Prasanth 2013-12-16 13:58:56 UTC
Sahina/Spencer, please fill in the Fixed In Version for this bug.

Comment 5 Prasanth 2013-12-18 13:33:12 UTC
Verified as fixed in redhat-access-plugin-rhsc-2.1.2-2.el6rhs.noarch

rhsc-setup now completes successfully.

Comment 6 Shalaka 2014-01-21 06:19:14 UTC
Please review the edited DocText and signoff.

Comment 7 Sahina Bose 2014-01-21 08:13:40 UTC
Looks ok

Comment 9 errata-xmlrpc 2014-02-25 07:43:44 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.

http://rhn.redhat.com/errata/RHEA-2014-0208.html