Bug 496730 - iscsi timeout too short.
Summary: iscsi timeout too short.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-node
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Joey Boggs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-20 20:45 UTC by Mike McGrath
Modified: 2011-11-18 14:25 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-18 14:25:00 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

Description Mike McGrath 2009-04-20 20:45:59 UTC
The iscsi timeout on the node images in /etc/iscsi/iscsid.conf is too short.

Generally it's acceptable to have a much higher iscsi timeout when dealing with root filesystems (as we are with the ovirt guests).  I'd suggest setting:

node.session.timeo.replacement_timeout = 86400

This would allow the node to recover gracefully even after the iscsi share died or rebooted.  This doesn't protect the integrity of the guests but would allow them to be paused during this issue.

Comment 1 Joey Boggs 2009-10-12 02:03:23 UTC
Isn't 86400 secs (24hrs) gonna be way too long? 600 secs should be plenty for a reboot, but 20-30 mins would give enough time for an alert/reboot on a failed iscsi target. 

# To specify the length of time to wait for session re-establishment
# before failing SCSI commands back to the application when running
# the Linux SCSI Layer error handler, edit the line.
# The value is in seconds and the default is 120 seconds.
node.session.timeo.replacement_timeout = 120


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