aws / aws/aws-parallelcluster

Parallel Cluster 3.14.1 & Python 3.14.2

Open
#7,230 3 comments 1 reaction 0 assignees View on GitHub
3.x Backlog Feature Request
Dominant language
Python
Stars
888
Forks
314
Avg merge
1d 10h
Merged PRs (30d)
43

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-cluster` command. 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"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.