ironic/ironic/tests/unit/drivers/modules
Dmitry Tantsur 6787142617 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
(cherry picked from commit abfe383cc3)
2021-05-07 19:06:57 +02:00
..
ansible agent_client: support custom TLS certificates 2020-08-06 15:00:22 +02:00
drac Fix idrac-wsman BIOS step async error handling 2021-04-09 08:19:26 +00:00
ibmc Use unittest mock instead of 3rd party mock in test_raid 2020-07-06 09:29:34 +02:00
ilo Update `cleaning_error_handler` 2021-01-12 10:57:13 +01:00
intel_ipmi Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
irmc Lazy-load node details from the DB 2021-03-08 21:25:12 +00:00
network Fixes the issue that instance bond port can't get IP address 2020-11-13 06:37:17 +00:00
redfish Restrict syncing of boot mode to Supermicro 2021-04-01 08:50:18 +00:00
storage Enforce autospec in test_cinder 2020-08-06 18:17:50 +02:00
xclarity Enforce autospec in xclarity tests 2020-08-07 17:47:14 +02:00
__init__.py Move unit tests to correct directory 2015-09-30 17:47:19 -07:00
test_agent.py Merge "Change [agent]image_download_source=http" 2020-09-09 05:26:31 +00:00
test_agent_base.py Handle agent still doing the prior command 2021-03-02 19:37:05 +00:00
test_agent_client.py Fix deployment when executing a command fails after the command starts 2021-05-07 19:06:57 +02:00
test_agent_power.py Fix time usage in unit tests for agent power interface 2020-08-12 10:00:14 -07:00
test_boot_mode_utils.py Handle default_boot_mode during cleaning/inspection with PXE/iPXE 2020-09-10 17:32:27 +02:00
test_console_utils.py Fix console auto port allocation under IPv6 2020-08-05 22:46:24 +08:00
test_deploy_utils.py Prevent timeouts when using fast-track with redfish-virtual-media 2020-11-02 14:20:29 +00:00
test_image_cache.py Stop allocating double space for raw images 2020-06-18 13:27:46 +02:00
test_image_utils.py Simplify injecting network data into an ISO image 2021-01-06 09:30:16 +01:00
test_inspect_utils.py Switch to unittest mock 2020-04-30 19:04:17 +02:00
test_inspector.py Fix fast track following managed inspection 2020-07-01 17:07:12 +02:00
test_ipmitool.py Fix ipmitool timing argument calculation 2021-04-09 12:52:57 +00:00
test_ipxe.py iPXE ISO Ramdisk booting 2020-07-16 14:36:45 -07:00
test_iscsi_deploy.py Ensure in-band deploy steps are present in time for fast-track deployments 2020-08-21 14:01:57 +02:00
test_noop.py Switch to unittest mock 2020-04-30 19:04:17 +02:00
test_noop_mgmt.py Switch to unittest mock 2020-04-30 19:04:17 +02:00
test_pxe.py Handle default_boot_mode during cleaning/inspection with PXE/iPXE 2020-09-10 17:32:27 +02:00
test_snmp.py Enforce autospec in test_snmp 2020-06-05 18:50:49 +02:00