Repository navigation
Open
Description
Required Info:
- AWS ParallelCluster version: 3.14.1
- Full cluster configuration without any credentials or personal data.
- Cluster name:
foo - Output of
pcluster describe-clustercommand. Unable to as the cluster did not start creating. - [Optional] Arn of the cluster CloudFormation main stack: N/A
Bug description and how to reproduce:
When trying to create a new cluster with Parallel Cluster 3.14.1 and Python 3.14.2 I get the following error, with no cluster creation:
(.pc-3.14.1) tpbrown@localhost % pcluster create-cluster -n foo -c cluster_use_2c.yaml
{
"message": "Invalid cluster configuration: There is no current event loop in thread 'MainThread'."
}
The cluster configuration file is:
Region: us-east-2
Imds:
ImdsSupport: v2.0
Image:
Os: alinux2023
Tags:
- Key: Owner
Value: tpbrown
- Key: Purpose
Value: Benchmarking
HeadNode:
InstanceType: c7a.8xlarge
Networking:
SubnetId: subnet-XXXXXXXXXXX
ElasticIp: true
Ssh:
KeyName: tpbrown
Iam:
AdditionalIamPolicies:
- Policy: arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore
- Policy: arn:aws:iam::aws:policy/AmazonS3FullAccess
- Policy: arn:aws:iam::aws:policy/AmazonFSxFullAccess
- Policy: arn:aws:iam::aws:policy/SecretsManagerReadWrite
S3Access:
- BucketName: '*'
EnableWriteAccess: true
LocalStorage:
RootVolume:
Size: 50
Dcv:
Enabled: true
AllowedIps: 127.0.0.1/8
Scheduling:
Scheduler: slurm
SlurmQueues:
- Name: p5
ComputeResources:
- Name: p5
InstanceType: p5e.48xlarge
MinCount: 1
MaxCount: 1
DisableSimultaneousMultithreading: true
Efa:
Enabled: true
CapacityReservationTarget:
CapacityReservationId: cr-XXXXXXXXXXX
CapacityType: CAPACITY_BLOCK
Networking:
SubnetIds:
- subnet-XXXXXXXXXX
SharedStorage:
- Name: FsxLustre
StorageType: FsxLustre
MountDir: /fsx
FsxLustreSettings:
StorageCapacity: 9600
DeploymentType: PERSISTENT_2
PerUnitStorageThroughput: 1000
DataCompressionType: LZ4
- Name: FsxOpenZFSSoftware
StorageType: FsxOpenZfs
MountDir: /sw
FsxOpenZfsSettings:
VolumeId: fsvol-XXXXXXXXXXX
- Name: FsxOpenZFSHomes
StorageType: FsxOpenZfs
MountDir: /home
FsxOpenZfsSettings:
VolumeId: fsvol-XXXXXXXXXXX
DirectoryService:
DomainName: "dc=my-domain,dc=com"
DomainAddr: ldap://1A.B.C.D
PasswordSecretArn: arn:aws:secretsmanager:us-east-2:XXXXXXXXXXXX:secret:ldap_password
DomainReadOnlyUser: "cn=read-only,dc=my-domain,dc=com"
GenerateSshKeysForUsers: true
AdditionalSssdConfigs:
ldap_user_object_class: inetOrgPerson
ldap_user_name: uid
ldap_user_uid_number: uidNumber
ldap_user_gid_number: gidNumber
ldap_user_home_directory: homeDirectory
ldap_user_shell: loginShell
debug_level: "0x1ff"
Reacted by Yoshiki Vázquez Baeza
Activity
hgreebe commentedon Mar 19, 2026
Hello,
What Python version does your environment have installed? ParallelCluster 3.14.x supports Python 3.12. If you have a newer version of Python installed, downgrade it to Python 3.12 and try the cluster creation again.
Thank you
mrgum commentedon Mar 24, 2026
Hello,
I'm seeing the same with ParallelCluster 3.15.0 and Python 3.14. Works fine if I use Python 3.12
ElDeveloper commentedon Mar 25, 2026
I can confirm that moving down to 3.12 fixes the issue.