Skip to content

Commit

Permalink
Remove known hosts file management
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Carrogu <carrogu@amazon.com>
  • Loading branch information
lukeseawalker committed Feb 7, 2020
1 parent 3851217 commit ab276b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 123 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ aws-parallelcluster-node CHANGELOG

This file is used to list changes made in each version of the aws-parallelcluster-node package.

2.6.0
-----

**CHANGES**
- Remove logic that was adding compute nodes identity to known_hosts file.

2.5.1
-----

Expand Down
120 changes: 0 additions & 120 deletions src/common/ssh_keyscan.py

This file was deleted.

3 changes: 0 additions & 3 deletions src/sqswatcher/sqswatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
from configparser import ConfigParser
from retrying import retry

from common.ssh_keyscan import update_ssh_known_hosts
from common.time_utils import seconds
from common.utils import (
CriticalError,
Expand Down Expand Up @@ -337,8 +336,6 @@ def _process_sqs_messages(


def update_cluster(instance_properties, max_cluster_size, scheduler_module, sqs_config, update_events):
# Managing SSH host keys for the nodes joining and leaving the cluster
update_ssh_known_hosts(update_events, sqs_config.cluster_user)
try:
failed_events, succeeded_events = scheduler_module.update_cluster(
max_cluster_size, sqs_config.cluster_user, update_events, instance_properties
Expand Down

0 comments on commit ab276b2

Please sign in to comment.