Paul Holzinger
f87ab2b7a6
fix network DB desync after failed connect/disconnect
...
Networks are stored in two ways in the DB, first a static network list
which holds all the network with its option for the container. Second,
the network status which hold the actual network result from netavark
but only when the container is running.
If the container is running they must be in sync and podman inspect has
checks to ensure that as well it errors out of there is a desync between
the two.
As the adding to the db and doing actual networking configuration are
diffeent parts it possible that one worked while the other failed which
triggers the desync. To avoid this make the network connect/disconnect
code more robust against partial failures. When the network calls fail
we update the db again to remove/add the network back.
Fixes: https://issues.redhat.com/browse/RHEL-78037
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-04-04 14:42:20 +02:00
..
2025-04-01 19:09:00 +00:00
2024-02-08 09:35:39 -05:00
2025-03-31 12:27:55 -07:00
2017-11-01 11:24:59 -04:00
2024-01-04 11:53:38 +02:00
2025-03-31 12:27:55 -07:00
2024-09-03 15:14:15 +02:00
2024-04-19 09:52:14 +02:00
2024-11-27 08:09:50 -05:00
2024-07-11 09:39:56 -04:00
2024-04-19 09:52:14 +02:00
2024-02-08 09:35:39 -05:00
2025-03-21 13:15:44 +01:00
2024-11-28 14:01:45 +03:00
2025-03-13 18:59:34 +00:00
2025-03-31 12:27:55 -07:00
2024-11-27 08:09:50 -05:00
2024-11-27 08:09:50 -05:00
2025-03-31 12:27:55 -07:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2025-02-17 14:32:34 -05:00
2024-09-02 11:21:35 +01:00
2025-04-02 13:35:14 -07:00
2025-04-02 13:35:14 -07:00
2025-03-31 12:27:55 -07:00
2025-04-02 13:35:14 -07:00
2024-01-04 11:53:38 +02:00
2025-03-19 09:32:47 +01:00
2025-01-15 07:08:27 -05:00
2025-04-03 11:55:45 +02:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-11-01 18:53:08 +01:00
2024-01-04 11:53:38 +02:00
2024-11-27 08:09:50 -05:00
2024-11-27 08:09:50 -05:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-06-27 10:50:17 +02:00
2024-08-19 11:41:28 +02:00
2024-01-04 11:53:38 +02:00
2025-03-31 12:27:55 -07:00
2025-03-13 18:59:34 +00:00
2024-02-08 09:35:39 -05:00
2022-03-23 19:05:29 +01:00
2025-03-12 21:27:00 +01:00
2024-11-19 19:44:14 +01:00
2025-03-04 16:48:50 +01:00
2024-06-04 18:03:46 +02:00
2024-06-04 18:03:46 +02:00
2025-03-12 21:27:00 +01:00
2024-02-08 09:35:39 -05:00
2024-04-10 11:55:35 +02:00
2024-02-08 09:35:39 -05:00
2025-04-02 13:35:14 -07:00
2025-03-31 12:27:55 -07:00
2024-01-04 11:53:38 +02:00
2025-04-04 14:42:20 +02:00
2025-04-02 13:35:14 -07:00
2024-09-03 15:14:15 +02:00
2024-09-20 15:19:22 +02:00
2024-01-04 11:53:38 +02:00
2024-10-30 13:35:56 +01:00
2024-02-08 09:35:39 -05:00
2024-07-12 15:11:34 +02:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2025-02-11 14:51:34 -05:00
2025-03-19 12:56:27 +01:00
2024-02-02 11:02:43 -05:00
2024-02-02 11:02:43 -05:00
2024-06-21 18:01:26 +02:00
2025-04-02 13:35:14 -07:00
2024-01-04 11:53:38 +02:00
2025-02-11 14:51:34 -05:00
2025-04-02 13:35:14 -07:00
2025-02-11 14:51:34 -05:00
2025-03-28 11:24:57 +01:00
2025-02-06 18:28:12 -05:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-07-22 10:30:42 +02:00
2024-05-29 11:10:55 +02:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2024-09-27 15:15:23 +02:00
2024-04-05 10:07:42 -04:00
2024-11-18 12:41:47 +01:00
2024-04-05 10:07:42 -04:00
2024-02-08 09:35:39 -05:00
2024-01-12 09:19:34 -05:00
2025-02-06 18:28:12 -05:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2024-04-23 11:16:40 +02:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2024-01-04 11:53:38 +02:00
2025-03-31 12:27:55 -07:00
2024-08-15 11:07:27 +02:00
2024-07-09 11:15:29 +02:00
2025-03-12 19:42:13 +01:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2025-02-10 12:42:11 -05:00
2024-02-08 09:35:39 -05:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2025-04-02 13:35:14 -07:00
2025-03-20 13:37:19 +01:00
2024-02-08 09:35:39 -05:00
2025-04-02 13:35:14 -07:00
2025-03-24 17:44:43 +01:00
2025-03-24 17:44:43 +01:00
2025-01-31 13:29:04 +01:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2024-05-22 17:47:01 -04:00
2025-03-31 12:27:55 -07:00