iSCSI login depends on fix length sleep to wait for connections to become active
Bug #1415117 reported by
Chris Krelle
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Medium
|
Chris Krelle |
Bug Description
The iSCSI login depends on a hard coded sleep value. This may not be the best approach. We should actively check for the connection to become active. The amount of time should also be adjustable to account for environments where the connection may take a little longer then allotted for with the hard coded sleep value.
description: | updated |
Changed in ironic: | |
assignee: | nobody → Chris Krelle (nobodycam) |
status: | New → In Progress |
Changed in ironic: | |
importance: | Undecided → Medium |
tags: | added: pxe |
Changed in ironic: | |
status: | In Progress → Fix Committed |
milestone: | none → kilo-rc1 |
Changed in ironic: | |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | kilo-rc1 → 2015.1.0 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/150187 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=46067160e67 87631fb5a55193a 02794449f22ebf
Committed: https:/
Submitter: Jenkins
Branch: master
commit 46067160e678763 1fb5a55193a0279 4449f22ebf
Author: Chris Krelle <email address hidden>
Date: Mon Jan 26 15:58:05 2015 -0800
Actively check iSCSI connection after login
This replaces the sleep command at the end of the login_iscsi fuction
with an active check and a forced lun update. These two things help ensure
the connection sees all luns on the iSCSI device before attempting to write
to it. It also adds a configurable option to allow users to be able to
customize the number of attempts for their environment.
Also add some very basic logging to aid in deploy debuging
Change-Id: I68c9f9f86f5f11 3bb111c0f4fd832 16ae0659d36
Closes-bug: #1415117
Partial-Bug: #1286374