Skip to content

Commit

Permalink
Hotfix: Empty sshPublicKeyFiles list crashed finding master ip for ide (
Browse files Browse the repository at this point in the history
#452)

* fixed rule setting for security groups

* fixed multiple network is now list causing error bugs.

* trying to figure out why route applying only works once.

* Added more echo's for better debugging.

* fixed remaining "subnet list gets handled as a single subnet" bug and finalized multiple routes handling.

* fixed None bug where [] is expected when no sshPublicKeyFile is given.
  • Loading branch information
XaverStiensmeier authored Nov 26, 2023
1 parent 0d1e1a9 commit 39a881f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bibigrid/core/utility/handler/cluster_ssh_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def get_ssh_connection_info(cluster_id, master_provider, master_configuration, l
else:
master_ip = list_clusters.get_master_access_ip(cluster_id, master_provider, log)
ssh_user = master_configuration.get("sshUser")
public_keys = master_configuration.get("sshPublicKeyFiles")
public_keys = master_configuration.get("sshPublicKeyFiles") or []
used_private_key = None

# first check configuration then if not found take the temporary key
Expand Down

0 comments on commit 39a881f

Please sign in to comment.