Skip to content

Commit

Permalink
Adapt Day1 feature to support init container in worker pod
Browse files Browse the repository at this point in the history
Today, KMM has an init container in the worker pod.
This means that the init container copies all of the .ko files to the shared volume,
which will be loaded into the kernel by the worker container.
This commit adds this flow to the Day1 feature.
  • Loading branch information
TomerNewman committed Sep 15, 2024
1 parent fece1ae commit ce0a048
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 25 deletions.
18 changes: 5 additions & 13 deletions pkg/mcproducer/scripts/pull-image.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
#!/bin/bash


kernel_module_image_filepath="$KERNEL_MODULE_IMAGE_FILEPATH"
worker_image="$WORKER_IMAGE"
kernel_module_image="$KERNEL_MODULE_IMAGE"
kernel_module_image_tag=$(uname -r)
full_kernel_module_image="$kernel_module_image:$kernel_module_image_tag"

if [ -e $kernel_module_image_filepath ]; then
echo "File $kernel_module_image_filepath found. Nothing to do, the file was handled, removing $kernel_module_image_filepath and $kmm_config_file_filepath"
rm -f $kernel_module_image_filepath
if [ -n "$(podman images -q $full_kernel_module_image 2> /dev/null)" ]; then
echo "Image $full_kernel_module_image exist locally. Nothing to do, removing $kmm_config_file_filepath"
rm -f $kmm_config_file_filepath
else
podman pull --authfile /var/lib/kubelet/config.json $worker_image
Expand All @@ -20,20 +18,14 @@ else
exit 1
fi

echo "File $kernel_module_image_filepath is not on the filesystem, pulling image $full_kernel_module_image"
echo "Pulling image $full_kernel_module_image"
podman pull --authfile /var/lib/kubelet/config.json $full_kernel_module_image
if [ $? -eq 0 ]; then
echo "Image $full_kernel_module_image has been successfully pulled"
else
echo "Failed to pull image $full_kernel_module_image"
exit 1
fi
echo "Saving image $full_kernel_module_image into a file $kernel_module_image_filepath"
podman save -o $kernel_module_image_filepath $full_kernel_module_image
if [ $? -eq 0 ]; then
echo "Image $full_kernel_module_image has been successfully save on file $kernel_module_image_filepath, rebooting..."
reboot
else
echo "Failed to save image $full_kernel_module_image to file $kernel_module_image_filepath"
fi
echo "Rebooting..."
reboot
fi
24 changes: 16 additions & 8 deletions pkg/mcproducer/scripts/replace-kernel-module.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
#!/bin/bash

kmm_config_file_filepath="$WORKER_CONFIG_FILEPATH"
kernel_module_image_filepath="$KERNEL_MODULE_IMAGE_FILEPATH"
in_tree_module_to_remove="$IN_TREE_MODULE_TO_REMOVE"
kernel_module="$KERNEL_MODULE"
worker_image="$WORKER_IMAGE"
kernel_module_image="$KERNEL_MODULE_IMAGE"
kernel_module_image_tag=$(uname -r)
full_kernel_module_image="$kernel_module_image:$kernel_module_image_tag"

create_kmm_config() {
# Write YAML content to the file
cat <<EOF > "$kmm_config_file_filepath"
containerImage: $kernel_module_image_filepath
containerImage: $full_kernel_module_image
inTreeModuleToRemove: $in_tree_module_to_remove
modprobe:
dirName: /opt
Expand All @@ -19,17 +21,23 @@ EOF
cat "$kmm_config_file_filepath"
}

echo "before checking image tar file presence"
if [ -e $kernel_module_image_filepath ]; then
echo "Image file $kernel_module_image_filepath found on the local file system, creating kmm config file"
echo "before checking image presence"
if [ -n "$(podman images -q $full_kernel_module_image 2> /dev/null)" ]; then
echo "Image $full_kernel_module_image found on the local file system, creating kmm config file"
create_kmm_config
echo "running kernel-management worker image"
podman run --user=root --privileged -v /lib/modules:/lib/modules -v $kmm_config_file_filepath:/etc/kmm-worker/config.yaml -v $kernel_module_image_filepath:$kernel_module_image_filepath $worker_image kmod load --tarball /etc/kmm-worker/config.yaml
mkdir /tmp/opt
podman pod create --name kmm-pod
echo "creating init container"
podman create --pod kmm-pod --user=root --privileged --init-ctr=always -v /tmp/opt:/tmp/opt $full_kernel_module_image /bin/sh -c "mkdir -p /tmp/opt/lib/modules; cp -R /opt/lib/modules/* /tmp/opt/lib/modules;"
echo "creating worker container"
podman create --pod kmm-pod --user=root --privileged -v /tmp/opt:/tmp/opt:Z -v $kmm_config_file_filepath:/etc/kmm-worker/config.yaml $worker_image kmod load --tarball /etc/kmm-worker/config.yaml
echo "running worker pod"
podman pod start kmm-pod
if [ $? -eq 0 ]; then
echo "OOT kernel module $kernel_module is inserted"
else
echo "failed to insert OOT kernel module $kernel_module"
fi
else
echo "Image file $kernel_module_image_filepath is not present in local registry, will try after reboot"
echo "Image $full_kernel_module_image is not present in local registry, will try after reboot"
fi
2 changes: 1 addition & 1 deletion pkg/mcproducer/templates/machine-config.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
EnvironmentFile=/etc/mco/proxy.env
Environment="IN_TREE_MODULE_TO_REMOVE={{.InTreeModuleToRemove}}"
Environment="KERNEL_MODULE={{.KernelModule}}"
Environment="KERNEL_MODULE_IMAGE_FILEPATH={{.KernelModuleImageFilepath}}"
Environment="KERNEL_MODULE_IMAGE={{.KernelModuleImage}}"
Environment="WORKER_CONFIG_FILEPATH={{.WorkerConfigFilepath}}"
Environment="WORKER_IMAGE={{.WorkerImage}}"
ExecStartPre=ls /usr/local/bin
Expand Down
6 changes: 3 additions & 3 deletions pkg/mcproducer/testdata/machineconfig-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
EnvironmentFile=/etc/mco/proxy.env
Environment="IN_TREE_MODULE_TO_REMOVE=testInTreeKernelModuleName"
Environment="KERNEL_MODULE=testKernelModuleName"
Environment="KERNEL_MODULE_IMAGE_FILEPATH=/var/lib/image_file_day1.tar"
Environment="KERNEL_MODULE_IMAGE=quay.io/project/repo:some-tag12"
Environment="WORKER_CONFIG_FILEPATH=/var/lib/kmm_day1_config.yaml"
Environment="WORKER_IMAGE=quay.io/edge-infrastructure/kernel-module-management-worker:latest"
ExecStartPre=ls /usr/local/bin
Expand Down Expand Up @@ -68,14 +68,14 @@ spec:
user:
name: "root"
contents:
source: "data:text/plain;base64,IyEvYmluL2Jhc2gKCmttbV9jb25maWdfZmlsZV9maWxlcGF0aD0iJFdPUktFUl9DT05GSUdfRklMRVBBVEgiCmtlcm5lbF9tb2R1bGVfaW1hZ2VfZmlsZXBh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WxlX2ltYWdlIC9iaW4vc2ggLWMgIm1rZGlyIC1wIC90bXAvb3B0L2xpYi9tb2R1bGVzOyBjcCAtUiAvb3B0L2xpYi9tb2R1bGVzLyogL3RtcC9vcHQvbGliL21vZHVsZXM7IgogICAgZWNobyAiY3JlYXRpbmcgd29ya2VyIGNvbnRhaW5lciIKICAgIHBvZG1hbiBjcmVhdGUgLS1wb2Qga21tLXBvZCAtLXVzZXI9cm9vdCAtLXByaXZpbGVnZWQgLXYgL3RtcC9vcHQ6L3RtcC9vcHQ6WiAtdiAka21tX2NvbmZpZ19maWxlX2ZpbGVwYXRoOi9ldGMva21tLXdvcmtlci9jb25maWcueWFtbCAkd29ya2VyX2ltYWdlIGttb2QgbG9hZCAtLXRhcmJhbGwgL2V0Yy9rbW0td29ya2VyL2NvbmZpZy55YW1sCiAgICBlY2hvICJydW5uaW5nIHdvcmtlciBwb2QiCiAgICBwb2RtYW4gcG9kIHN0YXJ0IGttbS1wb2QKICAgIGlmIFsgJD8gLWVxIDAgXTsgdGhlbgogICAgICAgIGVjaG8gIk9PVCBrZXJuZWwgbW9kdWxlICRrZXJuZWxfbW9kdWxlIGlzIGluc2VydGVkIgogICAgZWxzZQogICAgICAgIGVjaG8gImZhaWxlZCB0byBpbnNlcnQgT09UIGtlcm5lbCBtb2R1bGUgJGtlcm5lbF9tb2R1bGUiCiAgICBmaQplbHNlCiAgICBlY2hvICJJbWFnZSAkZnVsbF9rZXJuZWxfbW9kdWxlX2ltYWdlIGlzIG5vdCBwcmVzZW50IGluIGxvY2FsIHJlZ2lzdHJ5LCB3aWxsIHRyeSBhZnRlciByZWJvb3QiCmZpCg=="
- path: "/usr/local/bin/pull-kernel-module-image.sh"
mode: 493
overwrite: true
user:
name: "root"
contents:
source: "data:text/plain;base64,IyEvYmluL2Jhc2gKCgprZXJuZWxfbW9kdWxlX2ltYWdlX2ZpbGVwYXRoPSIkS0VSTkVMX01PRFVMRV9JTUFHRV9GSUxFUEFUSCIKd29ya2VyX2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YXMgYmVlbiBzdWNjZXNzZnVsbHkgcHVsbGVkIgogICAgZWxzZQogICAgICAgIGVjaG8gIkZhaWxlZCB0byBwdWxsIGltYWdlICRmdWxsX2tlcm5lbF9tb2R1bGVfaW1hZ2UiCiAgICAgICAgZXhpdCAxCiAgICBmaQogICAgZWNobyAiUmVib290aW5nLi4uIgogICAgcmVib290CmZpCg=="
- path: "/usr/local/bin/wait-for-dispatcher.sh"
mode: 493
overwrite: true
Expand Down

0 comments on commit ce0a048

Please sign in to comment.