ironic-python-agent/ironic_python_agent
Jay Faulkner a01646f56b Simplify heartbeating by removing use of select()
Heartbeating in IPA has used select.poll() for years to workaround
a bug where changing the time in the ramdisk could cause heartbeats
to stop and never resume.

Now that IPA syncs time at start and exit, this workaround is no
longer needed. So instead, we'll revert to using threading.Event()
in order to make the code simpler and easier to understand.

Since we need this to be an eventlet-event, and not a standard-thread
event, also monkey_patch threading.

Additionally, there were a few completely unused backoff interval
values set, that were never applied. In respect of maintaining the
5+ years old behavior of not doing error backoffs, that code was
removed instead of being made to work.

Change-Id: Ibcde99de64bb7e95d5df63a42a4ca4999f0c4c9b
2020-09-22 16:59:47 +00:00
..
api If listen_tls is true, enable TLS on wsgi server 2020-09-02 16:07:42 -07:00
cmd Support changing the protocol part of callback_url to https 2020-08-06 15:14:31 +02:00
extensions Update the cache if we don't have a root device hint 2020-08-25 19:34:48 +00:00
hardware_managers Fix gate and bump CoreOS version to latest stable. 2018-05-10 15:50:05 -07:00
shell Clear GPT and MBR headers with dd to avoid sgdisk CRC errors 2018-08-08 16:40:22 +00:00
tests Simplify heartbeating by removing use of select() 2020-09-22 16:59:47 +00:00
__init__.py If listen_tls is true, enable TLS on wsgi server 2020-09-02 16:07:42 -07:00
agent.py Simplify heartbeating by removing use of select() 2020-09-22 16:59:47 +00:00
config.py If listen_tls is true, enable TLS on wsgi server 2020-09-02 16:07:42 -07:00
dmi_inspector.py Collect processor, memory and BIOS output of dmidecode - follow-up 2017-07-27 07:30:54 -07:00
encoding.py Fix serializing ironic-lib exceptions 2020-07-02 12:18:53 +02:00
errors.py Clarify connection error on heartbeats 2020-08-20 13:45:47 -07:00
hardware.py Update the cache if we don't have a root device hint 2020-08-25 19:34:48 +00:00
inspect.py Add jitter to inspection command reporting 2020-03-31 08:13:13 -07:00
inspector.py Extends pci devices metrics 2020-08-04 23:32:37 +08:00
ironic_api_client.py Clarify connection error on heartbeats 2020-08-20 13:45:47 -07:00
netutils.py Get the hostname of the introspected host 2019-06-12 13:00:21 +00:00
numa_inspector.py Skip nic numa_node discovery if it's not assigned to a numa_node 2020-01-17 11:15:35 +01:00
raid_utils.py Increase the ESP partition size to 550 MiB when using software RAID 2020-07-02 17:30:33 +02:00
utils.py Fix confusing logging when running asynchronous commands 2020-06-26 15:19:04 +02:00
version.py Add sphinx build + basic documentation 2015-03-31 16:22:12 -07:00