commit 12ef2bc621f6c713524d54a157bc3fe216b04977
Author: Devananda van der Veen <email address hidden>
Date: Fri May 30 11:59:54 2014 -0700
Let ipmitool natively retry commands
Instead of calling ipmitool multiple times on failure via
utils.execute(*args, attempts=3)
allow ipmitool to use its own native retry behavior with -N.. -R..
if those options are supported by the installed version of ipmitool.
This will fall back to a single run of ipmitool on older versions,
which should be fine -- it defaults to retry several times anyway.
This patch adds a configurable min time between retries, which is used,
in conjunction with the ipmi retry time, to determine these option's
values. It will be further leveraged in a subsequent patch as well.
It also adds a note in the deployer docs about known issues with
the openipmi project.
Reviewed: https:/ /review. openstack. org/96902 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=12ef2bc621f 6c713524d54a157 bc3fe216b04977
Committed: https:/
Submitter: Jenkins
Branch: master
commit 12ef2bc621f6c71 3524d54a157bc3f e216b04977
Author: Devananda van der Veen <email address hidden>
Date: Fri May 30 11:59:54 2014 -0700
Let ipmitool natively retry commands
Instead of calling ipmitool multiple times on failure via execute( *args, attempts=3)
utils.
allow ipmitool to use its own native retry behavior with -N.. -R..
if those options are supported by the installed version of ipmitool.
This will fall back to a single run of ipmitool on older versions,
which should be fine -- it defaults to retry several times anyway.
This patch adds a configurable min time between retries, which is used,
in conjunction with the ipmi retry time, to determine these option's
values. It will be further leveraged in a subsequent patch as well.
It also adds a note in the deployer docs about known issues with
the openipmi project.
Change-Id: I7a4ff941144a03 bd441459561efb6 8760391da1a
Partial-bug: #1320513