ironic/ironic/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 Ansible deploy - Ignore invalid devices 2020-08-21 10:24:52 -07:00
drac Fix idrac-wsman BIOS step async error handling 2021-04-09 08:19:26 +00:00
ibmc Feature: Add raid configuration support for ibmc driver 2020-06-10 16:17:50 +08:00
ilo Update `cleaning_error_handler` 2021-01-12 10:57:13 +01:00
intel_ipmi Follow-up to the IntelIPMIHardware patch 2019-07-26 15:51:20 +05:30
irmc Do not pass BOOTIF=None if no BOOTIF can be guessed 2020-10-14 09:34:38 +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 Fix the remaining hacking issues 2020-03-31 13:40:00 +00:00
xclarity Fix :param: in docstring 2019-06-14 14:23:57 +08:00
__init__.py Remove copyright from empty files 2014-01-07 21:05:01 +08:00
agent.py Do not assume that prepare_image is the last command to run 2020-09-04 11:33:31 +02:00
agent_base.py Handle agent still doing the prior command 2021-03-02 19:37:05 +00:00
agent_client.py Fix deployment when executing a command fails after the command starts 2021-05-07 19:06:57 +02:00
agent_config.template Correct handling of ramdisk_params in (i)PXE boot 2019-10-28 10:03:25 +01:00
agent_power.py Add agent power interface 2020-07-20 09:42:05 +02:00
boot.ipxe Convert iPXE boot script to Jinja template 2016-11-21 18:44:38 +02:00
boot_mode_utils.py Handle default_boot_mode during cleaning/inspection with PXE/iPXE 2020-09-10 17:32:27 +02:00
console_utils.py Fix console auto port allocation under IPv6 2020-08-05 22:46:24 +08:00
deploy_utils.py Prevent timeouts when using fast-track with redfish-virtual-media 2020-11-02 14:20:29 +00:00
fake.py Add indicator management harness to ManagementInterface 2019-08-26 12:05:29 +02:00
image_cache.py Stop allocating double space for raw images 2020-06-18 13:27:46 +02:00
image_utils.py Simplify injecting network data into an ISO image 2021-01-06 09:30:16 +01:00
inspect_utils.py Fix ironic port creation after Redfish inspection 2019-01-08 12:27:28 +00:00
inspector.py Fix fast track following managed inspection 2020-07-01 17:07:12 +02:00
ipmitool.py Fix ipmitool timing argument calculation 2021-04-09 12:52:57 +00:00
ipxe.py Finalize removal of ipxe_enabled option 2020-02-21 14:25:01 +08:00
ipxe_config.template iPXE ISO Ramdisk booting 2020-07-16 14:36:45 -07:00
iscsi_deploy.py Deprecate the iscsi deploy interface 2020-09-22 15:39:36 +02:00
master_grub_cfg.txt Change PXE logic to always link macs with UEFI 2018-07-30 07:57:16 -07:00
noop.py [Trivial] Fix typo in noop interface comment 2019-01-25 10:52:53 +01:00
noop_mgmt.py Add "noop" management and use it in the "ipmi" hardware type 2018-08-07 13:25:50 +00:00
pxe.py Include HeartbeatMixin in the ramdisk deploy 2020-12-18 20:47:20 +00:00
pxe_base.py Handle default_boot_mode during cleaning/inspection with PXE/iPXE 2020-09-10 17:32:27 +02:00
pxe_config.template Correct handling of ramdisk_params in (i)PXE boot 2019-10-28 10:03:25 +01:00
pxe_grub_config.template Correct handling of ramdisk_params in (i)PXE boot 2019-10-28 10:03:25 +01:00
snmp.py Use property plus abstractmethod for abstractproperty 2020-08-06 11:34:23 +02:00