RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1600501 - local plugin depends on other plugins and fails with traceback if they are missing - 'ImportError: No module named hpsa.hpsa'
Summary: local plugin depends on other plugins and fails with traceback if they are mi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libstoragemgmt
Version: 7.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Gris Ge
QA Contact: Jakub Krysl
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-12 12:04 UTC by Jakub Krysl
Modified: 2021-09-03 14:14 UTC (History)
0 users

Fixed In Version: libstoragemgmt-1.6.2-3.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 10:10:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3112 0 None None None 2018-10-30 10:10:44 UTC

Description Jakub Krysl 2018-07-12 12:04:33 UTC
Description of problem:
Having only basic libstoragemgmt and libstoragemgt-local-plugin and listing systems on local target leads to this:

# lsmcli -u 'local://' ls
TRANSPORT_COMMUNICATION(400): Error while reading a message from the plug-in Data: [Errno 104] Connection reset by peer
# systemctl status libstoragemgmt
● libstoragemgmt.service - libstoragemgmt plug-in server daemon
   Loaded: loaded (/usr/lib/systemd/system/libstoragemgmt.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2018-07-12 09:43:12 CEST; 4h 9min ago
 Main PID: 3381 (lsmd)
   CGroup: /system.slice/libstoragemgmt.service
           └─3381 /usr/bin/lsmd -d

Jul 12 13:52:26 ***** local_lsmplugin[3510]: Traceback (most recent call last):
                                                                             File "/usr/bin/local_lsmplugin", line 26, in <module>
                                                                               from lsm.plugin.local.local import LocalPlugin
                                                                             File "/usr/lib/python2.7/site-packages/lsm/plugin/local/local.py", line 22, in <module>
                                                                               from lsm.plugin.hpsa.hpsa import SmartArray
                                                                           ImportError: No module named hpsa.hpsa

Version-Release number of selected component (if applicable):
libstoragemgmt-1.6.2-2.el7

How reproducible:
100%

Steps to Reproduce:
1. lsmcli -u 'local://' ls
2. check systemctl status libstoragemgmt

Actual results:
TRANSPORT_COMMUNICATION(400)
and
Traceback in systemctl status

Expected results:
all required plugins are installed and command passes

Additional info:

Comment 5 Jakub Krysl 2018-07-12 14:06:21 UTC
libstoragemgmt local plugin rpm now requires arcconf, nfs, megaraid and hpsa plugins and installs them as dependency.

# lsmcli -u 'local://' ls
NO_SUPPORT(153): No supported hardware found

Comment 7 errata-xmlrpc 2018-10-30 10:10:39 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://access.redhat.com/errata/RHBA-2018:3112


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