You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[LoginNodes] Add DCV support for login nodes (#6363)
* Add CustomActions configuration for login nodes
- Added schema for login nodes custom actions
- Added CustomAction to LoginNodesPool resource in cluster_config.py
Signed-off-by: Chris Makin <[email protected]>
* Update unit tests to include login node custom action changes
- Modified login node dna_json unit test to include pool_name
- Ran tox autoformatter
* Update test_dcv integration test to include login nodes
* Merge head and login nodes custom action schema unit test
- Update changelog
- Fix DescribeStacks resource error in unit test
* Add DCV params to login node config and schema
* Modify `cluster_config.py` to support login node DCV.
* Added `has_dcv_enabled()` to the `LoginNodesPool` resource.
* Checks if dcv is enabled in a login node pool.
* Added `has_dcv_configured()` to `LoginNodes` resource
* Checks for dcv configuration in login node pool.
* For use in validating DCV to avoid validating region multiple times.
* Added `architecture` and `instance_type_info` properties to `LoginNodesPool` resource to check DCV eligibility.
* Added `DcvValidator` for login node pools in `SlurmClusterConfig`.
* Modify `cluster_schema.py` to support login node DCV
* Add Dcv field to `LoginNodePoolSchema`
Signed-off-by: Chris Makin <[email protected]>
* Add login node DCV param to config unit tests
* Modify dcv-connect and login node security group to support DCV on login nodes
* Modify `dcv-connect.py`
* Added `--login-node-ip` parameter
* Added `_validate_login_node_ip_arg()`
* Checks whether the `--login-node-ip` argument is a valid IPv4 address.
* Checks that `--login-node-ip` is a login node public or private IP address.
* Modify `cluster.py`
* Add `login_node_instances` property to Cluster.
* For use in `dcv_connect.py` to get public and private IPs of login nodes in the cluster.
* Add DCV access to login node security group
* Update `add_login_nodes_security_group` in `cluster_stack.py` to include ingress property for DCV.
* Update unit tests to support login node DCV configuration
* Add S3 access policy to login node IAM resources
This is needed so DCV can determine whether a valid license is available.
* Add login node support to test_cloudwatch_logging integration test
* Modified `test_cloudwatch_logging` to support login nodes.
* The current changes will not support testing multiple pools with different configurations (e.g. DCV enabled on one pool but not another).
* Added `login_node_ip` param to `RemoteCommandExecutor`.
* This is used in `test_cloudwatch_logging` to run commands on all login nodes in a cluster.
* Add S3 bucket access to login node IAM unit test
* Update CHANGELOGOC
* Fix dcv-connect help message
---------
Signed-off-by: Chris Makin <[email protected]>
0 commit comments