containerd/integration
Danny Canter 3ee6dd5c1b CRI: Fix no CNI info for pod sandbox on restart
Due to when we were updating the pod sandboxes underlying container
object, the pointer to the sandbox would have the right info, but
the on-disk representation of the data was behind. This would cause
the data returned from loading any sandboxes after a restart to have
no CNI result or IP information for the pod.

This change does an additional update to the on-disk container info
right after we invoke the CNI plugin so the metadata for the CNI result
and other networking information is properly flushed to disk.

Signed-off-by: Danny Canter <danny@dcantah.dev>
2022-12-20 13:20:27 -08:00
..
client go.mod: update fuzz-headers and fuzz-build 2022-12-15 17:36:05 +01:00
cri-api/pkg/apis Add container event support to containerd 2022-12-08 19:30:39 +00:00
failpoint/cmd Run gofmt 1.19 2022-08-04 18:18:33 -07:00
images feat: upgrade registry.k8s.io/pause version 2022-09-06 15:59:20 +08:00
remote Add container event support to containerd 2022-12-08 19:30:39 +00:00
addition_gids_test.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
build_local_containerd_helper_test_linux.go Add sandbox to in memory services 2022-07-29 16:08:07 -07:00
build_local_containerd_helper_test.go Use logtest if possible to clean up logs 2022-10-17 16:27:23 +00:00
container_event_test.go integration: increase timeout in container_event_test.go 2022-12-09 15:26:49 +08:00
container_log_test.go replace strings.Split(N) for strings.Cut() or alternatives 2022-11-07 10:02:25 +01:00
container_restart_test.go Fix command line parsing for image list 2022-07-25 14:19:40 -07:00
container_stats_test.go Fix command line parsing for image list 2022-07-25 14:19:40 -07:00
container_stop_test.go Use image lists in client tests 2022-07-25 10:47:00 -07:00
container_update_resources_test.go Merge pull request #7783 from inspektor-gadget/qasim/cri-disable-swap 2022-12-13 15:21:51 -05:00
container_volume_test.go Use image lists in client tests 2022-07-25 10:47:00 -07:00
container_without_image_ref_test.go Use image lists in client tests 2022-07-25 10:47:00 -07:00
containerd_image_test.go ContainerStatus to return container resources 2022-08-24 19:08:06 +00:00
duplicate_name_test.go Fix command line parsing for image list 2022-07-25 14:19:40 -07:00
image_load_test.go Use image lists in client tests 2022-07-25 10:47:00 -07:00
image_pull_timeout_test.go integration: add first NRI integration tests. 2022-11-28 21:51:25 +02:00
imagefs_info_test.go Use image lists in client tests 2022-07-25 10:47:00 -07:00
main_test.go replace strings.Split(N) for strings.Cut() or alternatives 2022-11-07 10:02:25 +01:00
no_metadata_test.go Merge pull request #5619 from mikebrow/cri-add-v1-proxy-alpha 2021-07-09 14:07:24 -04:00
nri_test.go integration: add first NRI integration tests. 2022-11-28 21:51:25 +02:00
pod_dualstack_test.go Use image lists in client tests 2022-07-25 10:47:00 -07:00
pod_hostname_test.go Use image lists in client tests 2022-07-25 10:47:00 -07:00
restart_test.go CRI: Fix no CNI info for pod sandbox on restart 2022-12-20 13:20:27 -08:00
runtime_handler_test.go integration: Enables TestRuntimeHandler for Windows 2021-10-07 18:20:59 -07:00
sandbox_clean_remove_test.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
sandbox_clean_remove_windows_test.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
sandbox_run_rollback_test.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
shim_dial_unix_test.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
truncindex_test.go Use image lists in client tests 2022-07-25 10:47:00 -07:00
volume_copy_up_test.go Use image lists in client tests 2022-07-25 10:47:00 -07:00
volume_copy_up_unix_test.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
volume_copy_up_windows_test.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
windows_device_test.go Update image references for Windows tests 2022-07-25 11:04:59 -07:00
windows_hostprocess_test.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
windows_rootfs_size_test.go Cleanup build constraints 2022-12-08 09:36:20 -08:00