Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add entries for DRAC cluster during
mila init
[MT-61] (#54)
* Add SSH entries for the DRAC clusters Signed-off-by: Fabrice Normandin <[email protected]> * Update tests for mila init to add DRAC setup Signed-off-by: Fabrice Normandin <[email protected]> * Also setup the passwordless authentication to DRAC Signed-off-by: Fabrice Normandin <[email protected]> * Bug: Unable to check passwordless SSH on DRAC Signed-off-by: Fabrice Normandin <[email protected]> * Re-add the "User" in DRAC entries Signed-off-by: Fabrice Normandin <[email protected]> * Fix isort issue Signed-off-by: Fabrice Normandin <[email protected]> * Fix test broken because of additional prompts Signed-off-by: Fabrice Normandin <[email protected]> * Simplify the code a bit, show entries in dict Signed-off-by: Fabrice Normandin <[email protected]> * `mila init` sets up SSH access to DRAC Signed-off-by: Fabrice Normandin <[email protected]> * Add explicit `timeout` to `run` method, fix tests Signed-off-by: Fabrice Normandin <[email protected]> * Fix ordering of entries in windows config from WSL Signed-off-by: Fabrice Normandin <[email protected]> * Fix pre-commit issues Signed-off-by: Fabrice Normandin <[email protected]> * Tweak ssh-keygen call and test timeout Signed-off-by: Fabrice Normandin <[email protected]> * Fix bug in `create_ssh_keypair` Signed-off-by: Fabrice Normandin <[email protected]> * Dont add SSH multiplexing for DRAC compute nodes Signed-off-by: Fabrice Normandin <[email protected]> * Fix issue with create_ssh_keypair on Windows Signed-off-by: Fabrice Normandin <[email protected]> * Try to make the ssh-keygen work on Windows in CI Signed-off-by: Fabrice Normandin <[email protected]> * Fix issue(?) with ssh-keygen on Windows Signed-off-by: Fabrice Normandin <[email protected]> * Fix weird issues with test_local.py on Windows Signed-off-by: Fabrice Normandin <[email protected]> * Fix test for create_ssh_keypair on Windows Signed-off-by: Fabrice <[email protected]> * Simplify redundant use of xfail mark Signed-off-by: Fabrice Normandin <[email protected]> * Move test_check_passwordless to test_local.py Signed-off-by: Fabrice Normandin <[email protected]> * Move init command steps to init_command.py Signed-off-by: Fabrice Normandin <[email protected]> * Simplify check_passwordless and add more tests Signed-off-by: Fabrice Normandin <[email protected]> * Add link to DRAC website for passwordless SSH Signed-off-by: Fabrice Normandin <[email protected]> * Greatly simplify check_passwordless Signed-off-by: Fabrice Normandin <[email protected]> * Update `mila init`, setup passworless SSH to DRAC Signed-off-by: Fabrice Normandin <[email protected]> * Add failing test stub Signed-off-by: Fabrice Normandin <[email protected]> * Add tests for setup_passwordless_ssh_to_cluster Signed-off-by: Fabrice Normandin <[email protected]> * Move common fixtures to common.py Signed-off-by: Fabrice Normandin <[email protected]> * Add a test for _get_drac_username Signed-off-by: Fabrice Normandin <[email protected]> * Fix issue with shutil.copytree for py3.7 Signed-off-by: Fabrice Normandin <[email protected]> * Add integration test for setup_passwordless_ssh Signed-off-by: Fabrice Normandin <[email protected]> * Remove outdated comments Signed-off-by: Fabrice Normandin <[email protected]> * Fix issue with check_passwordless, fix test Signed-off-by: Fabrice Normandin <[email protected]> * Add comments in test Signed-off-by: Fabrice Normandin <[email protected]> * Replace computecanada.ca with alliancecan.ca Signed-off-by: Fabrice Normandin <[email protected]> * Fix bug in test_setup_passwordless_ssh_access Signed-off-by: Fabrice Normandin <[email protected]> * Increase timeout value to try to help Win issue Signed-off-by: Fabrice Normandin <[email protected]> * Increase timeout value for a test Signed-off-by: Fabrice Normandin <[email protected]> * Increase timeout for test_create_ssh_keypair Signed-off-by: Fabrice Normandin <[email protected]> * Fix issue with setup_passwordless_ssh on Windows Signed-off-by: Fabrice Normandin <[email protected]> * Remove the check for ssh access to niagara Signed-off-by: Fabrice Normandin <[email protected]> * Make an ssh key for Mila and Drac clusters Signed-off-by: Fabrice Normandin <[email protected]> * Fix tests for setup_passwordless_ssh Signed-off-by: Fabrice Normandin <[email protected]> * Revert "Fix tests for setup_passwordless_ssh" This reverts commit 6ea36d4. * Revert "Make an ssh key for Mila and Drac clusters" This reverts commit 61ec17e. * Increase the timeout value in test_init_command.py Signed-off-by: Fabrice Normandin <[email protected]> --------- Signed-off-by: Fabrice Normandin <[email protected]> Signed-off-by: Fabrice Normandin <[email protected]> Signed-off-by: Fabrice <[email protected]>
- Loading branch information