Bug 1104867 - Paramiko SSH error on multiple cinder volume instances
Summary: Paramiko SSH error on multiple cinder volume instances
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-paramiko
Version: 4.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: 5.0 (RHEL 7)
Assignee: Steve Linabery
QA Contact: John Walsh
URL:
Whiteboard: MVP
Depends On:
Blocks: 1093544 1108193 1136404
TreeView+ depends on / blocked
 
Reported: 2014-06-04 20:56 UTC by Rajini Karthik
Modified: 2016-04-26 13:32 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1136404 (view as bug list)
Environment:
Last Closed: 2014-09-02 17:38:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
paramiko 1.7.6 file with fix (84.95 KB, text/plain)
2014-06-04 20:56 UTC, Rajini Karthik
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1116 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Bug Fix and Enhancement Advisory 2014-09-02 21:38:10 UTC

Description Rajini Karthik 2014-06-04 20:56:21 UTC
Created attachment 902342 [details]
paramiko 1.7.6 file with fix

Description of problem:

Dell Equallogic cinder driver uses paramiko package for transport. When multiple instances of the storage backend is configured, paramiko fails to run the volume manager. 

This issue occurs with paramiko 1.7.6
Error: PID check failed. RNG must be re-initialized after fork()

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

How reproducible:
Configure RH-OSP to use mutiple instances of equallogic arrays as cinder backends


Steps to Reproduce:
1. Use mutiple instances of equallogic or other storage backends that use SSH as cinder backends. Make sure you enable backends and backends are configured in /etc/cinder/cinder.conf
2. Start openstack-cindder-volume service 
3. Check the /var/log/cinder/volume.log file on the cinder controller node
to see the paramiko errors. cinder service-list will show the volume service as down as well

Actual results:
cinder service-list should show the state of the volume services to be down

Expected results:
cinder service-list should show the state of the volume services to be up

Additional info:
Workaround is to upgrade the paramiko package to v 1.7.7 or above, or replace the transport file with fixes and restart cinder volume service
/usr/lib/python2.6/site-packages/paramiko/transport.py

Comment 2 Perry Myers 2014-06-12 18:24:22 UTC
The version of python-paramiko we ship in RHEL OSP 5 is already:
python-paramiko-1.11.3-1.el7ost  

I think the older version you tested with was from core RHEL Server, which is indeed older.

So, please retest with the later version of the package that we ship in OSP 5.  If the problem goes away we can close this as CURRENTRELEASE.

Comment 3 Lon Hohberger 2014-06-12 18:32:03 UTC
The 1.11.3 version is also in the RHEL OSP Beta for RHEL 6 channel.

Comment 10 errata-xmlrpc 2014-09-02 17:38:31 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/RHBA-2014-1116.html

Comment 11 Rajini Karthik 2014-09-04 16:03:32 UTC
Verified with OSP5 installation that a latest paramiko package is installed. 

On the controller node
[root@mac005056a63bdd ~]# rpm -qa | grep paramiko
python-paramiko-1.11.3-1.el7ost.noarch


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