ironic/ironic/tests/unit/drivers
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
..
modules Fix deployment when executing a command fails after the command starts 2021-05-07 17:50:06 +02:00
__init__.py Add my new address to .mailmap 2020-04-13 07:29:37 -07:00
boot.ipxe Convert iPXE boot script to Jinja template 2016-11-21 18:44:38 +02:00
ipxe_config.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
ipxe_config_boot_from_iso.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
ipxe_config_boot_from_volume_extra_volume.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
ipxe_config_boot_from_volume_multipath.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
ipxe_config_boot_from_volume_no_extra_volumes.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
ipxe_config_timeout.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
ks_extra_vars.tmpl Validate the kickstart template and file before use 2021-03-23 21:53:35 -07:00
ks_missing_var.tmpl Validate the kickstart template and file before use 2021-03-23 21:53:35 -07:00
pxe_config.template Add anaconda support in the pxe boot driver 2021-03-23 21:53:34 -07:00
pxe_grub_config.template Correct handling of ramdisk_params in (i)PXE boot 2019-10-28 10:03:25 +01:00
test_base.py Use OOB inspection to fetch MACs for IB inspection 2021-02-11 17:03:18 +10:00
test_drac.py Add Redfish RAID interface to idrac HW type 2021-03-19 12:11:50 -04:00
test_fake_hardware.py Fix the remaining hacking issues 2020-03-31 13:40:00 +00:00
test_generic.py Deploy interface that fully relies on custom deploy steps 2021-04-30 14:38:16 +02:00
test_ibmc.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_ilo.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_ipmi.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_irmc.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_redfish.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_snmp.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
test_utils.py Move configuration mold utilities 2021-03-29 07:42:53 -04:00
test_xclarity.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
third_party_driver_mock_specs.py Fix idrac-wsman BIOS factory_reset result finding 2021-04-06 23:56:35 -04:00
third_party_driver_mocks.py Fix idrac-wsman BIOS factory_reset result finding 2021-04-06 23:56:35 -04:00