Here is the (abbreviated) code in nova/virt/baremetal/ipmi.py:
141 def _power_on(self): 144 def _wait_for_power_on(): 147 if self.is_power_on(): 148 self.state = baremetal_states.ACTIVE 149 raise loopingcall.LoopingCallDone() ... 155 try: 156 self.retries += 1 157 self._exec_ipmitool("power on") ... 162 timer = loopingcall.FixedIntervalLoopingCall(_wait_for_power_on) 163 timer.start(interval=0.5).wait()
I'm wondering whether FixedIntervalLoopingCall is able to do sub-second timing. Perhaps changing the interval to 1 would alleviate this issue.
Here is the (abbreviated) code in nova/virt/ baremetal/ ipmi.py:
141 def _power_on(self): power_on( ): states. ACTIVE LoopingCallDone () ipmitool( "power on") FixedIntervalLo opingCall( _wait_for_ power_on) interval= 0.5).wait( )
144 def _wait_for_
147 if self.is_power_on():
148 self.state = baremetal_
149 raise loopingcall.
...
155 try:
156 self.retries += 1
157 self._exec_
...
162 timer = loopingcall.
163 timer.start(
I'm wondering whether FixedIntervalLo opingCall is able to do sub-second timing. Perhaps changing the interval to 1 would alleviate this issue.