Skip to content

Instantly share code, notes, and snippets.

View BbolroC's full-sized avatar
🏠
Working from home

Hyounggyu Choi BbolroC

🏠
Working from home
  • IBM
  • Baiersbronn, Baden-Württemberg, Germany
View GitHub Profile
@BbolroC
BbolroC / gist:48c60b5ab8d929a56cc3ef03d7da4245
Last active February 6, 2024 21:10
A generated configuration-qemu.toml file
# Copyright (c) 2024 IBM Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
# XXX: WARNING: this file is auto-generated.
# XXX:
# XXX: Source file: "config/configuration-qemu.toml.in"
# XXX: Project:
# XXX: Name: Kata Containers
@BbolroC
BbolroC / gist:2f6a983d3d374ad3fb8e97769fc933a8
Created November 14, 2023 09:28
Journal log for kata where devmapper snapshotter is configured
Nov 14 02:25:02 hchoi-gha-test-01 kata[63726]: time="2023-11-14T02:25:02.257589778Z" level=info msg="Agent started in the sandbox" name=containerd-shim-v2 pid=63726 sandbox=616b959586e55e2e44b57e5c8988a323cfb29c6b671a842355cbfb268f891a4d source=virtcontainers subsystem=
sandbox
Nov 14 02:25:02 hchoi-gha-test-01 kata[63726]: time="2023-11-14T02:25:02.333213792Z" level=debug msg="looking for backing file" major=0 minor=154 name=containerd-shim-v2 pid=63726 sandbox=616b959586e55e2e44b57e5c8988a323cfb29c6b671a842355cbfb268f891a4d source=pkg/device
/config
Nov 14 02:25:02 hchoi-gha-test-01 kata[63726]: time="2023-11-14T02:25:02.333282634Z" level=debug msg="no loop device" container=616b959586e55e2e44b57e5c8988a323cfb29c6b671a842355cbfb268f891a4d error="open /sys/dev/block/0:154/loop/backing_file: no such file or directory
" mount-source=/run/k3s/containerd/io.containerd.grpc.v1.cri/sandboxes/616b959586e55e2e44b57e5c8988a323cfb29c6b671a842355cbfb268f891a4d/shm name=containerd-shim-v2 pid=63726 sandbox=616b959586e55
@BbolroC
BbolroC / hchoi-rework.patch
Last active January 25, 2023 09:29
Add Makefile target cc-rootfs-initrd-tarball
diff --git a/tools/packaging/guest-image/build_image.sh b/tools/packaging/guest-image/build_image.sh
index ee77f396b..868454c4b 100755
--- a/tools/packaging/guest-image/build_image.sh
+++ b/tools/packaging/guest-image/build_image.sh
@@ -39,13 +39,19 @@ build_initrd() {
export OS_VERSION="${initrd_os_version}"
export USE_DOCKER=1
export AGENT_INIT="yes"
+ config_version=$(get_config_version)
# ROOTFS_BUILD_DEST is a Make variable
@BbolroC
BbolroC / diff.patch
Last active December 1, 2022 20:57
Code changes to run a test scenario described in https://github.com/kata-containers/tests/pull/5297
diff --git a/.ci/run.sh b/.ci/run.sh
index 2a0869da..9016d4b3 100755
--- a/.ci/run.sh
+++ b/.ci/run.sh
@@ -39,12 +39,12 @@ case "${CI_JOB}" in
sudo -E PATH="$PATH" CRI_RUNTIME="containerd" bash -c "make qat"
;;
"CRI_CONTAINERD"|"CRI_CONTAINERD_K8S"|"CRI_CONTAINERD_K8S_DEVMAPPER"|"CC_CRI_CONTAINERD"|"CC_CRI_CONTAINERD_CLOUD_HYPERVISOR")
- echo "INFO: Running stability test"
- sudo -E PATH="$PATH" CRI_RUNTIME="containerd" bash -c "make stability"