Albin Kerouanton
ac8b4e3e75
daemon: handleContainerExit: ignore networking errors
...
Prior to commit fe856b9 , containers' network sandbox and interfaces were
created before the containerd task. Now, it's created after.
If this step fails, the containerd task is forcefully deleted, and an
event is sent to the c8d event monitor, which triggers `handleContainerExit`.
Then this method tries to restart the faulty container.
This leads to containers with a published port already in use to be
stuck in a tight restart loop (if they're started with
`--restart=always`) until the port is available. This is needlessly
spamming the daemon logs.
Prior to that commit, a published port already in use wouldn't trigger
the restart process.
This commit adds a check to `handleContainerExit` to ignore exit events
if the latest container error is related to networking setup.
Signed-off-by: Albin Kerouanton <albinker@gmail.com >
2025-02-20 18:03:20 +01:00
..
2025-02-09 13:22:52 +01:00
2025-02-14 12:22:10 +01:00
2025-02-18 12:23:50 +01:00
2025-02-09 13:22:52 +01:00
2025-01-15 14:09:30 +01:00
2025-01-31 10:34:27 -05:00
2023-08-24 17:51:07 +02:00
2025-01-15 14:09:30 +01:00
2025-01-20 11:52:41 +01:00
2025-01-07 11:18:46 -08:00
2025-02-15 20:52:49 +01:00
2025-01-02 21:37:35 +01:00
2024-06-20 11:10:54 +02:00
2025-01-15 14:09:30 +01:00
2024-06-20 10:21:42 +02:00
2023-05-19 20:38:51 +02:00
2025-01-15 14:09:30 +01:00
2025-01-20 12:45:29 +01:00
2022-03-14 16:28:57 -04:00
2025-01-16 20:58:10 +01:00
2025-01-16 20:58:15 +01:00
2025-01-16 20:58:32 +01:00
2024-07-22 19:20:12 +00:00
2022-07-29 23:05:18 +02:00
2025-01-08 15:43:17 +01:00
2024-10-28 10:30:23 +01:00
2025-01-07 14:13:06 +01:00
2023-08-29 00:38:08 +02:00
2024-06-04 17:44:46 +02:00
2025-01-07 14:13:06 +01:00
2024-10-20 14:04:07 +02:00
2023-05-19 20:38:51 +02:00
2024-11-05 10:00:10 +00:00
2025-01-30 14:23:10 +01:00
2024-11-05 14:22:53 +00:00
2025-02-20 18:03:20 +01:00
2023-09-15 20:12:27 +02:00
2020-04-14 17:22:19 +02:00
2025-02-12 09:59:59 -05:00
2024-09-06 21:53:09 +10:00
2025-01-15 14:09:30 +01:00
2024-06-13 13:29:39 +02:00
2024-01-19 17:32:21 +01:00
2025-01-09 17:31:20 +01:00
2024-11-25 18:28:37 +00:00
2024-12-03 08:59:00 +08:00
2024-05-29 22:38:27 +02:00
2025-01-16 12:58:17 -08:00
2025-02-07 02:24:31 +01:00
2024-06-17 20:19:20 +01:00
2023-05-19 20:38:51 +02:00
2025-02-07 02:24:31 +01:00
2025-02-07 02:24:31 +01:00
2023-10-11 17:52:23 +02:00
2023-05-19 20:38:51 +02:00
2023-10-11 17:52:23 +02:00
2024-11-12 14:02:15 +01:00
2025-01-30 11:39:19 +01:00
2022-04-21 17:33:07 -04:00
2024-10-26 18:31:39 +02:00
2025-02-13 14:52:21 -06:00
2023-08-23 15:47:43 +02:00
2023-08-23 15:47:43 +02:00
2023-08-29 00:38:08 +02:00
2025-02-09 13:22:51 +01:00
2025-01-15 14:09:30 +01:00
2025-01-15 14:09:30 +01:00
2024-11-19 13:55:54 +01:00
2025-01-26 14:37:08 +01:00
2025-01-13 16:34:41 +01:00
2024-07-02 12:46:47 +02:00
2025-01-27 15:55:56 +00:00
2025-01-15 14:09:30 +01:00
2025-01-15 14:09:30 +01:00
2025-01-08 10:36:32 +01:00
2025-01-31 10:34:27 -05:00
2024-11-12 14:02:15 +01:00
2025-01-20 14:11:51 +01:00
2024-10-24 11:19:42 +01:00
2025-01-15 14:09:30 +01:00
2024-07-03 17:14:03 +02:00
2023-06-01 14:45:25 -04:00
2024-07-03 17:14:03 +02:00
2025-01-30 14:23:10 +01:00
2023-05-19 20:38:51 +02:00
2023-05-19 20:38:51 +02:00
2024-10-15 22:40:39 +02:00
2023-07-07 13:01:36 +02:00
2023-07-07 13:01:36 +02:00
2024-11-22 23:59:20 +11:00
2023-05-19 20:38:51 +02:00
2022-09-23 16:56:52 -04:00
2025-02-09 13:22:53 +01:00
2023-12-12 22:51:23 +01:00
2023-12-12 22:51:23 +01:00
2025-01-15 14:09:30 +01:00
2024-11-28 10:03:46 +01:00
2025-01-15 14:09:30 +01:00
2025-02-20 18:03:20 +01:00
2025-01-31 10:34:27 -05:00
2024-10-18 12:59:08 +02:00
2023-07-22 11:56:41 +02:00
2025-01-24 18:43:51 +00:00
2025-01-15 14:09:30 +01:00
2024-01-31 21:08:34 -05:00
2025-01-16 15:59:06 -08:00
2025-01-15 14:09:30 +01:00
2024-10-26 18:31:39 +02:00
2024-11-22 23:59:20 +11:00
2025-01-15 14:09:30 +01:00
2024-06-14 15:25:07 +02:00
2025-01-02 21:37:33 +01:00
2024-12-11 20:29:46 +01:00
2023-06-01 14:45:25 -04:00
2023-06-01 14:45:25 -04:00
2025-02-14 12:22:10 +01:00
2024-06-17 14:50:09 +02:00
2024-10-17 14:04:37 +02:00
2024-10-17 14:04:37 +02:00
2024-06-13 13:29:39 +02:00
2025-01-15 14:09:30 +01:00
2025-01-15 14:09:30 +01:00
2023-06-01 14:45:25 -04:00
2025-01-15 14:09:30 +01:00
2025-01-15 14:09:30 +01:00
2025-01-15 14:09:30 +01:00
2024-10-20 14:10:17 +02:00
2025-02-20 18:03:20 +01:00
2024-11-05 10:01:49 +00:00
2024-06-14 15:25:07 +02:00
2024-11-06 21:04:31 +03:00
2025-01-15 14:09:30 +01:00
2023-03-15 17:52:45 +01:00
2025-01-16 19:47:40 +01:00
2025-01-16 19:47:40 +01:00
2024-06-20 10:21:42 +02:00
2024-06-13 13:29:39 +02:00
2024-11-12 14:02:15 +01:00
2025-02-10 18:58:31 +01:00
2025-02-10 18:58:31 +01:00
2024-06-14 15:25:07 +02:00
2023-06-06 12:13:05 -04:00
2024-10-26 18:31:39 +02:00
2019-03-12 18:41:55 -07:00
2025-02-10 18:35:35 +01:00
2020-04-14 17:22:23 +02:00
2018-08-09 00:45:00 +09:00
2021-07-02 13:51:55 +02:00
2024-07-26 13:50:45 +02:00
2024-07-26 13:50:13 +02:00
2025-01-31 10:34:27 -05:00
2018-04-23 13:52:44 -07:00
2018-08-13 21:59:11 -07:00