aws-samples / pcluster-manager

Manage AWS ParallelCluster through an easy to use web interface
https://pcluster.cloud
Apache License 2.0
65 stars 27 forks source link

Filter out clusters in configuration source 'From Cluster' dropdown in case they do not match up to the minor version of PC #352

Closed tmscarla closed 1 year ago

tmscarla commented 2 years ago

Description

Currently it is possible to choose as a template a previously created cluster from the wizard to use for a new cluster the user wants to create.

ParallelCluster doesn't allow cluster creation with configuration versions different from the PC version in use. So using a configuration from a previously created cluster (with a cluster config version from a different PC version) would raise an error on the PC side.

This PR aims to solve this issue, by filtering out clusters in the 'From Cluster' dropdown in case they do not match the exact version of PC.

How Has This Been Tested?

References

PR Quality Checklist

In order to increase the likelihood of your contribution being accepted, please make sure you have read both the Contributing Guidelines and the Project Guidelines

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.