ironic/ironic/tests
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
..
functional Prepare for functional testing 2015-09-28 21:27:01 +00:00
json_samples Add `network_data` field to ironic node object 2020-05-05 15:57:36 +02:00
unit Fix deployment when executing a command fails after the command starts 2021-05-07 17:50:06 +02:00
__init__.py Prepare for functional testing 2015-09-28 21:27:01 +00:00
base.py Bye-bye iSCSI deploy, you served us well 2021-05-04 14:28:25 +02:00