ironic/ironic
Dmitry Tantsur abfe383cc3 Fix deployment when executing a command fails after the command starts
If the agent accepts a command, but is unable to reply to Ironic (which
sporadically happens before of the eventlet's TLS implementation), we
currently retry the request and fail because the command is already
executing. Ironic now detects this situation by checking the list of
executing commands after receiving a connection error. If the requested
command is last one, we assume that the command request succeeded.

Ideally, we should pass a request ID to IPA and then compare it. Such
a change would affect the API contract between the agent and Ironic
and thus would not be backportable.

Change-Id: I2ea21c9ec440fa7ddf8578cf7b34d6d0ebbb5dc8
2021-05-07 17:50:06 +02:00
..
api Aliases for a few unfortunately named state transitions 2021-04-15 08:25:13 +01:00
cmd Bye-bye iSCSI deploy, you served us well 2021-05-04 14:28:25 +02:00
common Inherit InvalidImageRef from InvalidParameterValue 2021-05-04 17:32:54 +02:00
conductor Merge "Process in-band deploy steps on fast-track" 2021-04-28 15:52:22 +00:00
conf Merge "Provide an option to not cache bootable iso ramdisks" 2021-05-05 20:56:26 +00:00
db Bye-bye iSCSI deploy, you served us well 2021-05-04 14:28:25 +02:00
dhcp Add both IPv4 and IPv6 DHCP options if interface has both 2021-02-26 23:39:44 +00:00
drivers Fix deployment when executing a command fails after the command starts 2021-05-07 17:50:06 +02:00
hacking Fix the remaining hacking issues 2020-03-31 13:40:00 +00:00
objects Merge "Bye-bye iSCSI deploy, you served us well" 2021-05-05 13:12:32 +00:00
tests Fix deployment when executing a command fails after the command starts 2021-05-07 17:50:06 +02:00
__init__.py Move eventlet monkey patch code 2017-03-02 13:48:18 +02:00
version.py