From f84942f61bfc8e3d2ff8751ee85b3805915ec30a Mon Sep 17 00:00:00 2001 From: Xuanqi He Date: Wed, 5 Mar 2025 16:49:01 -0500 Subject: [PATCH 1/2] Create user-id as a folder before create ENROOT_CACHE and etc. folder to prevent permission error when using different AD user to subimit pyxis jobs. --- .../templates/enroot/enroot.conf.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cookbooks/aws-parallelcluster-platform/templates/enroot/enroot.conf.erb b/cookbooks/aws-parallelcluster-platform/templates/enroot/enroot.conf.erb index e9cecb7267..faefed4f41 100644 --- a/cookbooks/aws-parallelcluster-platform/templates/enroot/enroot.conf.erb +++ b/cookbooks/aws-parallelcluster-platform/templates/enroot/enroot.conf.erb @@ -1,9 +1,9 @@ #ENROOT_LIBRARY_PATH /usr/lib/enroot #ENROOT_SYSCONF_PATH /etc/enroot -ENROOT_RUNTIME_PATH <%= node['cluster']['enroot']['temporary_dir'] %>/runtime/user-$(id -u) -ENROOT_DATA_PATH <%= node['cluster']['enroot']['temporary_dir'] %>/data/user-$(id -u) -ENROOT_CONFIG_PATH <%= node['cluster']['enroot']['persistent_dir'] %>/config/user-$(id -u) -ENROOT_CACHE_PATH <%= node['cluster']['enroot']['persistent_dir'] %>/cache/group-$(id -g) +ENROOT_RUNTIME_PATH <%= node['cluster']['enroot']['temporary_dir'] %>/user-$(id -u)/runtime +ENROOT_DATA_PATH <%= node['cluster']['enroot']['temporary_dir'] %>/user-$(id -u)/data +ENROOT_CONFIG_PATH <%= node['cluster']['enroot']['persistent_dir'] %>/user-$(id -u)/config +ENROOT_CACHE_PATH <%= node['cluster']['enroot']['persistent_dir'] %>/user-$(id -u)/cache #ENROOT_TEMP_PATH ${TMPDIR:-/tmp} # Gzip program used to uncompress digest layers. From a79eaf5ae1864140c7eb929288e34ab26fe2d2bf Mon Sep 17 00:00:00 2001 From: Xuanqi He Date: Wed, 5 Mar 2025 16:59:19 -0500 Subject: [PATCH 2/2] Modify Changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae83d93ce6..c5219accda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,7 @@ This file is used to list changes made in each version of the AWS ParallelCluste **BUG FIXES** - Remove usage of cfn-init for compute node bootstrapping to reduce node scale up time. - Fix the execution of overriding aws-parallelcluster-node package only on the head node during update. +- Fix an issue where containerized jobs executed through Pyxis/Enroot in a multi-user environment (integrated with Active Directory) would fail. 3.12.0 ------