<font size=2 face="sans-serif">While working on a patch to implement hard
reboot for the powervm driver [1], I noticed that the stop_lpar (power_off)
method has a timeout argument with a default value of 30 seconds but it's
not overridden anywhere in the code and it's not configurable.  The
start_lpar (power_on) method doesn't have a timeout at all.  I was
thinking about creating a patch to (1) make start_lpar poll until the instance
is running and (2) making the stop/start timeouts configurable with a new
config option, something like powervm_lpar_operation_timeout that defaults
to 60 seconds.</font>
<br>
<br><font size=2 face="sans-serif">I looked in nova.conf.sample for existing
timeout options and found this one for the xen virt driver:</font>
<br>
<br><font size=2 face="sans-serif"># number of seconds to wait for instance
to go to running</font>
<br><font size=2 face="sans-serif"># state (integer value)</font>
<br><font size=2 face="sans-serif">#xenapi_running_timeout=60</font>
<br>
<br><font size=2 face="sans-serif">I'm looking to basically get a feeling
of what kind of reaction I'll get if I put a patch up with a new config
option for this in the powervm driver.  If there aren't any major
pushes against it, I'll start working a patch.</font>
<br>
<br><font size=2 face="sans-serif">[1] </font><a href=https://review.openstack.org/#/c/40748/><font size=3 color=blue><u>https://review.openstack.org/#/c/40748/</u></font></a><font size=3>
</font><font size=2 face="sans-serif"><br>
</font>
<br><font size=2 face="sans-serif"><br>
</font>
<br><font size=1 face="Arial">Thanks,</font>
<br>
<br><font size=3 color=#8f8f8f face="Arial"><b>MATT RIEDEMANN</b></font><font size=1 face="Arial"><br>
Advisory Software Engineer<br>
Cloud Solutions and OpenStack Development</font>
<table width=680 style="border-collapse:collapse;">
<tr height=8>
<td width=680 colspan=2 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<hr>
<tr valign=top height=8>
<td width=418 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 color=#4181c0 face="Arial"><b>Phone:</b></font><font size=1 color=#5f5f5f face="Arial">
1-507-253-7622</font><font size=1 color=#4181c0 face="Arial"> | <b>Mobile:</b></font><font size=1 color=#5f5f5f face="Arial">
1-507-990-1889</font><font size=1 color=#4181c0 face="Arial"><b><br>
E-mail:</b></font><font size=1 color=#5f5f5f face="Arial"> </font><a href=mailto:mriedem@us.ibm.com target=_blank><font size=1 color=#5f5f5f face="Arial"><u>mriedem@us.ibm.com</u></font></a>
<td width=261 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<div align=right><img src=cid:_1_0A9E7C7C0A9E7714006E45BF86257BC4 width=83 height=30 alt=IBM><font size=1 color=#5f5f5f face="Arial"><br>
<br>
3605 Hwy 52 N<br>
Rochester, MN 55901-1407<br>
United States</font></div></table>
<br>