2202c1a460
kubelet sends a request to create a container with an image ID (as opposed as an image name). That ID comes from the ImageStatus response. This patch fixes that by setting the image ID as well as the image name and fix the login to lookup for image ID as well. Found while running `make test-e2e-node`. Signed-off-by: Antonio Murdaca <runcom@redhat.com> |
||
---|---|---|
.. | ||
apparmor_test_deny_write | ||
container_config.json | ||
container_config_by_imageid.json | ||
container_config_seccomp.json | ||
container_exit_test.json | ||
container_redis.json | ||
fake_ocid_default | ||
README.md | ||
sandbox_config.json | ||
sandbox_config_hostnet.json | ||
sandbox_config_seccomp.json |
In terminal 1:
sudo ./ocid
In terminal 2:
sudo ./ocic runtimeversion
sudo rm -rf /var/lib/ocid/sandboxes/podsandbox1
sudo ./ocic pod run --config testdata/sandbox_config.json
sudo rm -rf /var/lib/ocid/containers/container1
sudo ./ocic container create --pod podsandbox1 --config testdata/container_config.json