Skip to content

Commit 521050a

Browse files
Himani Anil Deshpandehanwen-cluster
authored andcommitted
[Isolated]FSXOntap is supported in us-iso-e
1 parent f365cd1 commit 521050a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cli/src/pcluster/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ class Feature(Enum):
276276
Feature.BATCH: ["ap-northeast-3", "ap-southeast-5", "ap-southeast-7", "us-iso"],
277277
Feature.FSX_LUSTRE: [],
278278
Feature.FILE_CACHE: ["us-iso"],
279-
Feature.FSX_ONTAP: ["us-iso-"],
279+
Feature.FSX_ONTAP: ["us-iso-w"],
280280
Feature.FSX_OPENZFS: ["us-iso"],
281281
Feature.SLURM_DATABASE: [],
282282
Feature.CLUSTER_HEALTH_METRICS: ["us-iso"],

cli/tests/pcluster/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ async def async_method(self, param):
581581
(Feature.BATCH, "us-isoWHATEVER", False),
582582
(Feature.FSX_LUSTRE, "us-isob-east-1", True),
583583
(Feature.FSX_LUSTRE, "us-isobWHATEVER", True),
584-
(Feature.FSX_ONTAP, "us-iso-east-1", False),
584+
(Feature.FSX_ONTAP, "us-iso-east-1", True),
585585
(Feature.FSX_ONTAP, "us-iso-west-1", False),
586586
(Feature.FSX_ONTAP, "us-isob-east-1", True),
587587
(Feature.FSX_ONTAP, "us-isoWHATEVER", True),

tests/integration-tests/tests/storage/test_fsx_lustre.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def test_multiple_fsx(
325325
partition = utils.get_arn_partition(region)
326326
num_new_fsx_lustre = 1
327327
num_existing_fsx_ontap_volumes = (
328-
2 if partition in ["aws", "aws-us-gov"] else 0
328+
2 if partition in ["aws", "aws-us-gov", "us-iso"] and utils.is_fsx_ontap_supported(region) else 0
329329
) # China and Isolated do not have Ontap
330330
num_existing_fsx_open_zfs_volumes = (
331331
2 if partition in ["aws"] else 0

tests/integration-tests/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ def is_fsx_lustre_supported(region: str):
843843

844844

845845
def is_fsx_ontap_supported(region: str):
846-
return "us-iso-" not in region
846+
return "us-iso-w" not in region
847847

848848

849849
def is_fsx_openzfs_supported(region: str):

0 commit comments

Comments
 (0)