Skip to content

Commit 7f67253

Browse files
Update the default root volume size to 45 GB
Ubuntu 24 on ARM kitchen test failed because it had less than 10GB of remaining space Signed-off-by: Hanwen <[email protected]>
1 parent 9881436 commit 7f67253

File tree

16 files changed

+25
-24
lines changed

16 files changed

+25
-24
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ CHANGELOG
4444
- Set instance ID and instance type information in Slurm upon compute nodes launch.
4545
- Install NVIDIA drivers without the option 'no-cc-version-check', which is now deprecated in the NVIDIA installer.
4646
- Add validator to enforce up to 10- login node pools.
47+
- Update the default root volume size to 45 GB.
4748

4849
**BUG FIXES**
4950
- Remove usage of cfn-init for compute node bootstrapping to reduce node scale up time.

cli/src/pcluster/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
"io2": 100,
126126
"gp3": 3000,
127127
}
128-
EBS_VOLUME_SIZE_DEFAULT = 40
128+
EBS_VOLUME_SIZE_DEFAULT = 45
129129
EBS_VOLUME_TYPE_DEFAULT = "gp3"
130130

131131
DEFAULT_MAX_COUNT = 10

cli/src/pcluster/imagebuilder_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from pcluster.utils import get_url_scheme, yaml_load
1717

1818
ROOT_VOLUME_TYPE = "gp3"
19-
PCLUSTER_RESERVED_VOLUME_SIZE = 32
19+
PCLUSTER_RESERVED_VOLUME_SIZE = 37
2020
AMI_NAME_REQUIRED_SUBSTRING = " {{ imagebuilder:buildDate }}"
2121

2222

cli/tests/pcluster/example_configs/awsbatch.full.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ HeadNode:
3131
AllowedIps: 1.2.3.4/32
3232
LocalStorage:
3333
RootVolume:
34-
Size: 37
34+
Size: 45
3535
Encrypted: true
3636
DeleteOnTermination: true
3737
EphemeralVolume:

cli/tests/pcluster/example_configs/slurm.full.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ HeadNode:
6868
AllowedIps: 1.2.3.4/32
6969
LocalStorage:
7070
RootVolume:
71-
Size: 40
71+
Size: 45
7272
Encrypted: true
7373
VolumeType: gp2
7474
Iops: 100

cli/tests/pcluster/templates/test_cluster_stack/test_cluster_config_limits/slurm.full.all_resources.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ HeadNode:
6565
AllowedIps: 1.2.3.4/32
6666
LocalStorage:
6767
RootVolume:
68-
Size: 40
68+
Size: 45
6969
Encrypted: true
7070
VolumeType: gp2
7171
Iops: 100

cli/tests/pcluster/templates/test_cluster_stack/test_cluster_config_limits/slurm.full_config.snapshot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ HeadNode:
5050
DeleteOnTermination: true
5151
Encrypted: true
5252
Iops: 100
53-
Size: 40
53+
Size: 45
5454
Throughput: null
5555
VolumeType: gp2
5656
Networking:

cli/tests/pcluster/templates/test_imagebuilder_stack.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3317,7 +3317,7 @@ def test_imagebuilder_distribution_configuraton(mocker, resource, response, expe
33173317
}
33183318
],
33193319
},
3320-
{"Encrypted": False, "VolumeSize": 40, "VolumeType": "gp3"},
3320+
{"Encrypted": False, "VolumeSize": 45, "VolumeType": "gp3"},
33213321
),
33223322
(
33233323
{
@@ -3350,7 +3350,7 @@ def test_imagebuilder_distribution_configuraton(mocker, resource, response, expe
33503350
{
33513351
"imagebuilder": {
33523352
"image": {
3353-
"root_volume": {"size": 40, "encrypted": True},
3353+
"root_volume": {"size": 45, "encrypted": True},
33543354
},
33553355
"build": {
33563356
"parent_image": "arn:aws:imagebuilder:us-east-1:aws:image/amazon-linux-2-x86/x.x.x",
@@ -3369,7 +3369,7 @@ def test_imagebuilder_distribution_configuraton(mocker, resource, response, expe
33693369
}
33703370
],
33713371
},
3372-
{"Encrypted": True, "VolumeSize": 40, "VolumeType": "gp3"},
3372+
{"Encrypted": True, "VolumeSize": 45, "VolumeType": "gp3"},
33733373
),
33743374
(
33753375
{
@@ -3399,7 +3399,7 @@ def test_imagebuilder_distribution_configuraton(mocker, resource, response, expe
33993399
},
34003400
{
34013401
"Encrypted": True,
3402-
"VolumeSize": 82,
3402+
"VolumeSize": 87,
34033403
"VolumeType": "gp3",
34043404
"KmsKeyId": "arn:aws:kms:us-east-1:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab",
34053405
},

cli/tests/pcluster/validators/test_all_validators/test_slurm_all_validators_are_called/slurm_1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ HeadNode:
1717
AllowedIps: 1.2.3.4/32
1818
LocalStorage:
1919
RootVolume:
20-
Size: 40
20+
Size: 45
2121
Encrypted: true
2222
EphemeralVolume:
2323
MountDir: /test

cli/tests/pcluster/validators/test_cluster_validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3225,7 +3225,7 @@ class TestDictLaunchTemplateBuilder:
32253225
"Ebs": {
32263226
"Encrypted": True,
32273227
"VolumeType": "mockVolumeType",
3228-
"VolumeSize": 40,
3228+
"VolumeSize": 45,
32293229
"Iops": 15,
32303230
"Throughput": 20,
32313231
"DeleteOnTermination": True,

0 commit comments

Comments
 (0)