AWS ParallelCluster 3.16.2 と 3.16.3 のアップデート内容紹介

AWS ParallelCluster 3.16.2 と 3.16.3 のアップデート内容紹介

ParallelCluster 3.16.2 で公式 AMI のルートボリュームが 50 GiB に増え、Ubuntu 22.04 の終了も予告されました。
2026.11.21

はじめに

AWS ParallelCluster 3.16.2 が 2026 年 10 月 30 日にリリースされました。11 月 18 日には 3.16.3 が早々にリリースされました。マイナーバージョンアップで気になった点があったので確認したメモです。

https://github.com/aws/aws-parallelcluster/releases/tag/v3.16.2

https://github.com/aws/aws-parallelcluster/releases/tag/v3.16.3

個人的に気になったアップデート

3.16.2 と 3.16.3 の変更点から、個人的に気になったものをピックアップしました。

3.16.2 の変更

区分 内容
機能追加 export-logs の並列ダウンロード、進捗表示、削除済みクラスターへの対応
機能追加 sudoers の定義を確認する pcluster-diag のチェック
変更 pcluster CLI の Python 3.14 対応
変更 AWS Lambda 関数のランタイムを Python 3.12 から 3.14 へ変更
変更 ルートボリュームの既定サイズを 45 GB から 50 GB へ変更
変更 サービスの起動失敗時に systemctl status と journal の末尾を /var/log/chef-client.log へ出力
変更 AMI 内の仮想環境の Python を 3.14.6 から 3.14.8 へ変更
変更 AMI に入る AWS CLI を v2 だけに変更
変更 computefleet-status.json、clusterstatusmgtd_logging.conf、dcv.conf の実行権限を削除
変更 ヘッドノードで生成した Slurm の設定ファイルの内容をログへ出力
非推奨 Ubuntu 22.04 に対応する最後のリリース

3.16.3 の変更

区分 内容
変更 EFA installer、NVIDIA ドライバー、Amazon DCV などのバージョンアップ
変更 Ubuntu でカーネルパラメーター fs.protected_regular を 0 に上書きしない
変更 PClusterBuildImageCleanupRole の logs:DeleteLogGroup をロググループの ARN に付与

Ubuntu 22.04 のサポートが終了予定

3.16.2 では非推奨の項目で次のように告知されました。

This is the last ParallelCluster release that supports Ubuntu 22.04.

出典: Release AWS ParallelCluster v3.16.2

一方 3.16.3 にも Ubuntu 22.04 の公式 AMI があり起動もできました(後述)。

ParallelCluster のバージョンは、2 桁目がマイナーバージョン、3 桁目がパッチバージョンです。サポート終了告知が出たあともパッチバージョンがリリースされるのは Amazon Linux 2 のときも同じでした。

Amazon Linux 2 の前例から、Ubuntu 22.04 は v3.17 から外れるのではないでしょうか。22.04 がなくなると、公式 AMI で選べる Ubuntu は 24.04 だけになります。

というわけで Ubuntu 22.04 のクラスターを作り直すなら Ubuntu 24.04 への切り替えの検証しつつ移行をオススメします。

ルートボリュームが 50 GiB に増えた

3.16.2 で EBS のサイズが 5GiB 大きくなりました。公式 AMI が 50 GiB になったので、Size: 45 のような 50 GiB 未満のクラスター作成時にエラーになります。私は明示的にSize: 45 を書いているため、作り直すときは Size の行を消すか、50 GiB 以上を指定する必要があります。ここに関しては最低容量のSize を書くのはやめた方が賢いのでは?となりました。

確認してみた

確認結果

  • 3.16.3 にも Ubuntu 22.04 は利用可能であった
  • 3.16.2 でルートボリュームが 45 GiB から 50 GiB に増えていた
    • Size: 45 を指定すると dry-run で弾かれた
    • Size を未指定にすると 50 GiB で作られた

検証環境

ヘッドノードには SSM で接続するため、キーペアは指定していません。

項目 値
リージョン ap-northeast-1
pcluster CLI 3.16.3
OS Ubuntu 24.04(ubuntu2404)
ヘッドノード t3a.small
コンピュートノード t3a.small、0〜2 台
ルートボリューム Size 指定なし、gp3、3000 IOPS、125 MiB/s、暗号化あり

クラスターの作成手順は省略します。

デプロイに使った config は次のとおりです。ヘッドノードとコンピュートノードのどちらにも、ルートボリュームの Size 指定はしていません。

Region: ap-northeast-1
Image:
  Os: ubuntu2404
Tags:
  - Key: Name
    Value: cluster-v3.16.3-parallelcluster-3163-release
# ----------------------------------------------------------------
# Head Node Settings
# ----------------------------------------------------------------
HeadNode:
  InstanceType: t3a.small
  Networking:
    ElasticIp: false
    SubnetId: subnet-029f0fb0acc64043d
  LocalStorage:
    RootVolume:
      Encrypted: true
      VolumeType: gp3
      Iops: 3000
      Throughput: 125
  Iam:
    AdditionalIamPolicies:
      - Policy: arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore
# ----------------------------------------------------------------
# Compute Node Settings
# ----------------------------------------------------------------
Scheduling:
  Scheduler: slurm
  SlurmSettings:
    ScaledownIdletime: 5
  SlurmQueues:
    - Name: queue1
      ComputeResources:
        - Name: compute1
          Instances:
            - InstanceType: t3a.small
          MinCount: 0
          MaxCount: 2
      ComputeSettings:
        LocalStorage:
          RootVolume:
            Encrypted: true
            VolumeType: gp3
            Iops: 3000
            Throughput: 125
      CapacityType: ONDEMAND
      Networking:
        SubnetIds:
          - subnet-0897827eb4d8cd2fe
      Iam:
        AdditionalIamPolicies:
          - Policy: arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore
# ----------------------------------------------------------------
# Monitoring Settings
# ----------------------------------------------------------------
Monitoring:
  Logs:
    CloudWatch:
      Enabled: true
      RetentionInDays: 180
      DeletionPolicy: "Delete"
  Dashboards:
    CloudWatch:
      Enabled: false

3.16.3 に Ubuntu 22.04 の公式 AMI があるかを確認してみる

公式 AMI は pcluster list-official-images で一覧できます。Ubuntu 22.04 をフィルタしてみます。

pcluster list-official-images --region ap-northeast-1 --os ubuntu2204

x86_64 と arm64 のどちらも、version が 3.16.3 の AMI が返りました。

実行結果
{
  "images": [
    {
      "amiId": "ami-0c462e10fe5a0e1c7",
      "os": "ubuntu2204",
      "name": "aws-parallelcluster-3.16.3-ubuntu-2204-lts-hvm-arm64-202611152030 2026-11-15T20-33-29.328Z",
      "version": "3.16.3",
      "architecture": "arm64"
    },
    {
      "amiId": "ami-036234600ebdc4258",
      "os": "ubuntu2204",
      "name": "aws-parallelcluster-3.16.3-ubuntu-2204-lts-hvm-x86_64-202611152030 2026-11-15T20-33-43.281Z",
      "version": "3.16.3",
      "architecture": "x86_64"
    }
  ]
}

Ubuntu 22.04 が使えるのかバリデーションチェックの結果

公式 AMI があることに加え、Ubuntu 22.04 の設定 pclsuterコマンドが受け付けるかも確かめました。--dryrun true を付けた create-cluster はリソースを作らずに設定の検証だけを行えます。

config はデプロイ用の config の Os を ubuntu2204 に変えたものです。

 Image:
-  Os: ubuntu2404
+  Os: ubuntu2204
pcluster create-cluster -n pc3163-u2204-dryrun -c v3163/ubuntu2204-dryrun-cluster.yaml --dryrun true

Request would have succeeded, but DryRun flag is set. が返りました。WARNING はキーペア未指定の 1 件だけで、非推奨の WARNING はなかったです。

実行結果
{
  "validationMessages": [
    {
      "level": "WARNING",
      "type": "KeyPairValidator",
      "message": "If you do not specify a key pair, you can't connect to the instance unless you choose an AMI that is configured to allow users another way to log in"
    }
  ],
  "message": "Request would have succeeded, but DryRun flag is set."
}

公式 AMI のルートボリュームのサイズを比べてみる

3.16 系の公式 AMI について、ルートボリュームのサイズを describe-images で取得しました。

aws ec2 describe-images --region ap-northeast-1 --owners amazon --include-deprecated \
  --filters "Name=name,Values=aws-parallelcluster-3.16.*" \
  --query 'Images[].[Name,RootDeviceName,BlockDeviceMappings[0].DeviceName,BlockDeviceMappings[0].Ebs.VolumeSize]' \
  --output text | sort

3.16.1 以降の Ubuntu の x86_64 の行を抜き出すと次のとおりです。末尾の数字がルートボリュームのサイズ(GiB)で、50 GiB に変わった 3.16.2 の行に + を付けています。

実行結果(抜粋)
aws-parallelcluster-3.16.1-ubuntu-2204-lts-hvm-x86_64-202609042247 2026-09-04T22-51-17.396Z	/dev/sda1	/dev/sda1	45
aws-parallelcluster-3.16.1-ubuntu-2404-lts-hvm-x86_64-202609042247 2026-09-04T22-51-06.195Z	/dev/sda1	/dev/sda1	45
+aws-parallelcluster-3.16.2-ubuntu-2204-lts-hvm-x86_64-202610222208 2026-10-22T22-12-11.650Z	/dev/sda1	/dev/sda1	50
+aws-parallelcluster-3.16.2-ubuntu-2404-lts-hvm-x86_64-202610222208 2026-10-22T22-12-18.166Z	/dev/sda1	/dev/sda1	50
aws-parallelcluster-3.16.3-ubuntu-2204-lts-hvm-x86_64-202611152030 2026-11-15T20-33-43.281Z	/dev/sda1	/dev/sda1	50
aws-parallelcluster-3.16.3-ubuntu-2404-lts-hvm-x86_64-202611152030 2026-11-15T20-33-47.138Z	/dev/sda1	/dev/sda1	50

全 OS をまとめると次の表になります。単位は GiB で、x86_64 と arm64 は同じ値でした。

バージョン alinux2023 rhel8 rhel9 ubuntu2204 ubuntu2404
3.16.0 45 45 45 45 45
3.16.1 45 45 45 45 45
3.16.2 50 50 50 50 50
3.16.3 50 50 50 50 50

3.16.2 で全 OS の公式 AMI が 45 GiB から 50 GiB に増えていました。

50 GiB を下回る設定が許されるのかチェック

Size: 45 を指定した状態で dry-run しました。ヘッドノード側の差分は次のとおりで、コンピュートノードの RootVolume にも同じ様に設定しています。

     RootVolume:
+      Size: 45
       Encrypted: true
pcluster create-cluster -n pc3163-rv45-dryrun -c v3163/rootvolume45-dryrun-cluster.yaml --dryrun true

Invalid cluster configuration. で弾かれ、ERROR は 4 件でした。RootVolumeSizeValidator の 2 件に加え、起動テンプレートの検証でも 2 件出ています。どれも 45 GiB が AMI のスナップショットの 50 GiB より小さいことが理由です。3.16.1 以前の設定ファイルで最低容量でサイズ指定している設定を流用するときはご注意ください。

実行結果(抜粋)
{
  "configurationValidationErrors": [
    {
      "level": "ERROR",
      "type": "HeadNodeLaunchTemplateValidator",
      "message": "Unable to validate configuration parameters for instance type t3a.small. Please double check your cluster configuration. Volume of size 45GB is smaller than snapshot 'snap-048208f05433b558e', expect size >= 50GB"
    },
    {
      "level": "ERROR",
      "type": "RootVolumeSizeValidator",
      "message": "Root volume size 45 GiB must be equal or greater than the volume size of the AMI: 50 GiB."
    },
    {
      "level": "ERROR",
      "type": "ComputeResourceLaunchTemplateValidator",
      "message": "Unable to validate configuration parameters for instance type t3a.small. Please double check your cluster configuration. Volume of size 45GB is smaller than snapshot 'snap-048208f05433b558e', expect size >= 50GB"
    },
    {
      "level": "ERROR",
      "type": "RootVolumeSizeValidator",
      "message": "Root volume size 45 GiB must be equal or greater than the volume size of the AMI: 50 GiB."
    }
  ],
  "message": "Invalid cluster configuration."
}

Size を未指定でクラスターを作成してみる

クラスターを作成しました。およそ 9 分で完了しています。ヘッドノードのルートボリュームを describe-volumes で確認しました。

aws ec2 describe-volumes --region ap-northeast-1 --filters Name=attachment.instance-id,Values=<ヘッドノードのインスタンス ID> \
  --query 'Volumes[].[VolumeId,Size,VolumeType,Iops,Throughput,Encrypted,Attachments[0].Device,SnapshotId]' --output table

2 列目がサイズ(GiB)で、50 GiB で作られていました。

実行結果
------------------------------------------------------------------------------------------------------
|                                           DescribeVolumes                                          |
+------------------------+-----+------+-------+------+-------+------------+--------------------------+
|  vol-015f4c6da997eaf68 |  50 |  gp3 |  3000 |  125 |  True |  /dev/sda1 |  snap-048208f05433b558e  |
+------------------------+-----+------+-------+------+-------+------------+--------------------------+

まとめ

AWS ParallelCluster 3.16.2 で、公式 AMI のルートボリュームが 50 GiB に増えました。Ubuntu 22.04 は、3.16.2 が対応する最後のリリースと告知されました。22.04 がなくなると、公式 AMI で選べる Ubuntu は 24.04 だけになります。

おわりに

Ubutu22.02 のサポートが終わると知り、お客様への案内のためにも確認したかったのですが時間がなくだいぶ遅い検証となってしまいました。

参考

この記事をシェアする

AWSのお困り事はクラスメソッドへ

関連記事