Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: resolve Azure Linux nvidia-container-toolkit posttrans error #5321

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ installNvidiaContainerToolkit() {
MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION="1.16.2"
fi

for nvidia_package in nvidia-container-toolkit-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} nvidia-container-toolkit-base-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} libnvidia-container-tools-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} libnvidia-container1-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION}; do
# The following packages need to be installed in this sequence because:
# - libnvidia-container packages are required by nvidia-container-toolkit
# - nvidia-container-toolkit-base provides nvidia-ctk that is used to generate the nvidia container runtime config
# during the posttrans phase of nvidia-container-toolkit package installation
for nvidia_package in libnvidia-container1-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} libnvidia-container-tools-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} nvidia-container-toolkit-base-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} nvidia-container-toolkit-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION}; do

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a comment to show this ordering is necessary

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment added.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were you able to find official Nvidia docs that mentioned about this ordering dependency?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not find any official doc that directly explains the dependency relationship between these packages. But a good source to refer to would be the official spec file for nvidia container toolkit: https://github.com/NVIDIA/nvidia-container-toolkit/blob/main/packaging/rpm/SPECS/nvidia-container-toolkit.spec where the runtime requirements explain the dependency.

if ! dnf_install 30 1 600 $nvidia_package; then
exit $ERR_APT_INSTALL_TIMEOUT
fi
Expand Down
2 changes: 1 addition & 1 deletion pkg/agent/testdata/AzureLinuxV2+Kata/CustomData
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ write_files:
encoding: gzip
owner: root
content: !!binary |
H4sIAAAAAAAC/8RYW2/bOBZ+9684VQ20mSmlOIPpAjP1At5YbY0mTiDb2YcgMGjqyGZNkSpJuXUS//cFJVm+xLl0+rAvsUKey3cOz418/SqYcBlMqJk1GshmCryByjXjcgrM4JhLY6kQ45gbq5VvZpAoDedUc4naazQ0pmqBp0pa6lbit0dw1wAAYPXSJWVzOsU+TbHtbZa9gowncH0NzYvB+CqMBr2LPrTb4J34xx7c3PwNdoayoHtCZKomS7IvN+HFj0arlyyNxzwZJ5SLXCO0juFPeH8MsUyghA9kCc2D0hurRqNyQRczU1sXy2Sc0jkyymYI9/eAP7iFZhhF487lcDy67HaG4XjYOw8vRsOaI89iag+Qd3sDx/Mp6nR3mZyvHWNWIgIugVHCUFuecEYtGmAzZHOi0ViqLTCeGJJbLgwwofKYcMktobe5RjJfZM6F0mrK5sQq5Yjct+ATp4XQ3KqUWs4AJ5ZOBBpAO3OEkOQGYcotcKksT5YVO1dWZcAzrXKLwDODFnhW8X79BnPUEgWJcYEChJpqZZ0DhFEJyJRmRDJqQdaYM5pCxqe3kJmUGwbaLI1QUzDK0ZmlMZZacAZgqdKxEcFl/gN+3MItz2Ai1MShPQGZVEC4YYYXnuDUKl3q+htiVUUWT+BV4ebqpOGPY2jB++NjaG45fy8Yd0+w1x8MO2dnO4d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VzgdRrWiZ3vcbwftt8FJM589EsSCT/eRt0nr9rmq7g8JqEaWn5LykPfIlBr8/0j6CSH/QNq5vEPppqgq7S5d6BqLkuG5SrDJuksHcTiKBqdRbzKM4qv+aVSG9KQs336IloVVDU3q33V1zTcik8Cgdl1pu5m0bh8Xfv9jZ3mSBbzrseT2xuuhYZrnlivZqfwPWyZCj2KmpPdfKq3pVKNoYKmeofW862GF9cYbrXLspEovuJx50TdkQzeKd/bbyLahQMgS9VQZrBlUfqmM7ZT0OgOiUwiXVIe6OMjvxdW836HiK10Zz7vuV4FwU4LF5D+rTlYIy0lhUK8xNx2uOgFmBVSHC4+cRXNbae+xrq8cz+PdFPChpTKhQslDt0ahGBWQoOEak7pQdvzWbfsPUs8QLzGYBW/2SOArF+6CoRYg+ALBzrmBdvA2OHlLfg9YdlKPZXEcDbZbwObOB6Qu1XAHdQf2wXc9+Ldmxrtb3t292tr/tdxvV914XbYNZkvUpyrLqUZwE9yO0j+IfxwcB8f+PbRud42430/WsoLXnUSsoPYfJlsXYVij/kHRPXADs3Io0WDnVMJrpQG/FFSAVUdQxQS4SrYlZA9RAGbB85zLGTxyekF1MigM7oGvmcrHhEOY99T5Dfv+s8JTbwCbZfKI1J95bHj+g8NjGtdt7omifVDRAUCb+t20id5TN7Q1hMp4kkJZjDca3WfKZ4FVmQh0nhm6xB/dkS2fxfcITQOm7Cmm0BgXktWZX4VL/awEbsOFL5dMFAmWM4qd4/rZqQpanrlhQentyKo9S11BD2C4jt31lOa+qWzI3L9OlV/ekwRSOc4PXARdPY5TaH24HE960XAEocptOMuL7QvkJlTfa5XVgdCIqMx7lLacyHiWC8xQrgevbP3O9qCmcXz2LC3j+OxJDS9dg/hfAAAA///VCYQxERQAAA==

- path: /opt/azure/containers/provision_configs.sh
permissions: "0744"
Expand Down
2 changes: 1 addition & 1 deletion pkg/agent/testdata/AzureLinuxV2+Kata/line61.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ installNvidiaContainerToolkit() {
MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION="1.16.2"
fi

for nvidia_package in nvidia-container-toolkit-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} nvidia-container-toolkit-base-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} libnvidia-container-tools-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} libnvidia-container1-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION}; do
for nvidia_package in libnvidia-container1-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} libnvidia-container-tools-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} nvidia-container-toolkit-base-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} nvidia-container-toolkit-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION}; do
if ! dnf_install 30 1 600 $nvidia_package; then
exit $ERR_APT_INSTALL_TIMEOUT
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ write_files:
encoding: gzip
owner: root
content: !!binary |
H4sIAAAAAAAC/8RYW2/bOBZ+9684VQ20mSmlOIPpAjP1At5YbY0mTiDb2YcgMGjqyGZNkSpJuXUS//cFJVm+xLl0+rAvsUKey3cOz418/SqYcBlMqJk1GshmCryByjXjcgrM4JhLY6kQ45gbq5VvZpAoDedUc4naazQ0pmqBp0pa6lbit0dw1wAAYPXSJWVzOsU+TbHtbZa9gowncH0NzYvB+CqMBr2LPrTb4J34xx7c3PwNdoayoHtCZKomS7IvN+HFj0arlyyNxzwZJ5SLXCO0juFPeH8MsUyghA9kCc2D0hurRqNyQRczU1sXy2Sc0jkyymYI9/eAP7iFZhhF487lcDy67HaG4XjYOw8vRsOaI89iag+Qd3sDx/Mp6nR3mZyvHWNWIgIugVHCUFuecEYtGmAzZHOi0ViqLTCeGJJbLgwwofKYcMktobe5RjJfZM6F0mrK5sQq5Yjct+ATp4XQ3KqUWs4AJ5ZOBBpAO3OEkOQGYcotcKksT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acyHiWC8xQrgevbP3O9qCmcXz2LC3j+OxJDS9dg/hfAAAA///VCYQxERQAAA==

- path: /opt/azure/containers/provision_configs.sh
permissions: "0744"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ installNvidiaContainerToolkit() {
MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION="1.16.2"
fi

for nvidia_package in nvidia-container-toolkit-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} nvidia-container-toolkit-base-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} libnvidia-container-tools-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} libnvidia-container1-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION}; do
for nvidia_package in libnvidia-container1-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} libnvidia-container-tools-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} nvidia-container-toolkit-base-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} nvidia-container-toolkit-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION}; do
if ! dnf_install 30 1 600 $nvidia_package; then
exit $ERR_APT_INSTALL_TIMEOUT
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ write_files:
encoding: gzip
owner: root
content: !!binary |
H4sIAAAAAAAC/8RYW2/bOBZ+9684VQ20mSmlOIPpAjP1At5YbY0mTiDb2YcgMGjqyGZNkSpJuXUS//cFJVm+xLl0+rAvsUKey3cOz418/SqYcBlMqJk1GshmCryByjXjcgrM4JhLY6kQ45gbq5VvZpAoDedUc4naazQ0pmqBp0pa6lbit0dw1wAAYPXSJWVzOsU+TbHtbZa9gowncH0NzYvB+CqMBr2LPrTb4J34xx7c3PwNdoayoHtCZKomS7IvN+HFj0arlyyNxzwZJ5SLXCO0juFPeH8MsUyghA9kCc2D0hurRqNyQRczU1sXy2Sc0jkyymYI9/eAP7iFZhhF487lcDy67HaG4XjYOw8v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kS2fxfcITQOm7Cmm0BgXktWZX4VL/awEbsOFL5dMFAmWM4qd4/rZqQpanrlhQentyKo9S11BD2C4jt31lOa+qWzI3L9OlV/ekwRSOc4PXARdPY5TaH24HE960XAEocptOMuL7QvkJlTfa5XVgdCIqMx7lLacyHiWC8xQrgevbP3O9qCmcXz2LC3j+OxJDS9dg/hfAAAA///VCYQxERQAAA==

- path: /opt/azure/containers/provision_configs.sh
permissions: "0744"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ installNvidiaContainerToolkit() {
MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION="1.16.2"
fi

for nvidia_package in nvidia-container-toolkit-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} nvidia-container-toolkit-base-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} libnvidia-container-tools-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} libnvidia-container1-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION}; do
for nvidia_package in libnvidia-container1-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} libnvidia-container-tools-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} nvidia-container-toolkit-base-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION} nvidia-container-toolkit-${MARINER_NVIDIA_CONTAINER_TOOLKIT_VERSION}; do
if ! dnf_install 30 1 600 $nvidia_package; then
exit $ERR_APT_INSTALL_TIMEOUT
fi
Expand Down
Loading
Loading