Huawei driver failed to handle mutiple requests in short time

Bug #1162251 reported by zhangchao on 2013-03-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Medium
zhangchao
Grizzly
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) on 2013-03-30
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

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

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

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

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

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

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

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

zhangchao (zhangchao010) on 2013-04-15
tags: added: grizzly-backport-potential

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
zhangchao (zhangchao010) on 2013-05-17
tags: removed: grizzly-backport-potential

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) on 2013-05-29
Changed in cinder:
milestone: none → havana-1
status: Fix Committed → Fix Released
Alan Pevec (apevec) on 2013-08-06
tags: removed: in-stable-grizzly
Changed in cinder:
importance: Undecided → Medium
Thierry Carrez (ttx) on 2013-10-17
Changed in cinder:
milestone: havana-1 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers