Huawei driver failed to handle mutiple requests in short time

Bug #1162251 reported by zhangchao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
zhangchao
Grizzly
Fix Released
Medium
zhangchao

Bug Description

When sending 10 request in almost the same time: cinder create --display-name test@94 1, some request will failed and we can see the following error in log:

Error connecting via ssh: Error reading SSH protocol bannerSecond simultaneous read on fileno 14 detected. Unless you really know what you're doing, make sure that only one greethread can read any particular socket. Condider using a pools.Pool. If you do know what you're doing and want to disable this error, call eventlet.debug.hub_mutiple_reader_prevention(False)

zhangchao (zhangchao010)
summary: - Huawei driver failed to handle mutiple request in short time
+ Huawei driver failed to handle mutiple requests in short time
Changed in cinder:
assignee: nobody → zhangchao (zhangchao010)
status: New → Incomplete
status: Incomplete → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/25923

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/25924

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/25930

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/25936

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/25972

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/25992

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/26025

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/26059

zhangchao (zhangchao010)
tags: added: grizzly-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/26059
Committed: http://github.com/openstack/cinder/commit/0eb0158e2450b6b44715842fa9f04a9552ea0a41
Submitter: Jenkins
Branch: master

commit 0eb0158e2450b6b44715842fa9f04a9552ea0a41
Author: zhangchao010 <email address hidden>
Date: Thu Apr 4 08:45:21 2013 +0800

    Use a SSH pool to manage SSH connection

    Use a SSH pool to hold all SSH clients.It allows 4 SSH clients
    at most to connect to the SSH server at the same time.
    This patchset also enables every SSH client connect to the other
    controller when they failed to connect to the current controller.
    For example,failed to A,then to B,or,failed to B,then to A.

    Fixes bug: 1162251
    Change-Id: I86f7f684639034be97ddf2031e61ac6bf3a196ad

Changed in cinder:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/28545

zhangchao (zhangchao010)
tags: removed: grizzly-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/grizzly)

Reviewed: https://review.openstack.org/28545
Committed: http://github.com/openstack/cinder/commit/53ffc7967d5f9b79359189bdbb522a94b7353908
Submitter: Jenkins
Branch: stable/grizzly

commit 53ffc7967d5f9b79359189bdbb522a94b7353908
Author: zhangchao010 <email address hidden>
Date: Fri May 10 20:08:45 2013 +0800

    Use an SSH pool to manage SSH connection

    Use an SSH pool to hold all SSH clients,this makes driver work when
    mutiple requests received in short time.Rewrite method create() and
    do not set socket timeout to be None because "None" leads to closing
    ssh client blocking.

    This patch alse fix:
    make "Not format" to be "Notformat" in function _find_lun.
    Change the type of "free_capacity_gb" fron string to be float.Because
    type string will lead to cinder scheduler filter failure.

    Fixes bug: 1162251
    Change-Id: I7d2270bb23ccfec27e618a686ab8c278a72f2244

tags: added: in-stable-grizzly
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → havana-1
status: Fix Committed → Fix Released
Alan Pevec (apevec)
tags: removed: in-stable-grizzly
Changed in cinder:
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in cinder:
milestone: havana-1 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.