Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/237381

Change subject: Add 'debian' user in bootstrapServer()
......................................................................

Add 'debian' user in bootstrapServer()

The method attempt to login as 'root' then iterate a few well known
usernames.  Debian recommands using 'debian'.

Change-Id: If3f0f0137850e60780515c69329465837c4c91d8
---
M nodepool/nodepool.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/debs/nodepool 
refs/changes/81/237381/1

diff --git a/nodepool/nodepool.py b/nodepool/nodepool.py
index d0a20ff..397284d 100644
--- a/nodepool/nodepool.py
+++ b/nodepool/nodepool.py
@@ -1085,7 +1085,8 @@
             # We have connected to the node but couldn't do anything as root
             # try distro specific users, since we know ssh is up (a timeout
             # didn't occur), we can connect with a very sort timeout.
-            for username in ['ubuntu', 'fedora', 'cloud-user', 'centos']:
+            for username in ['ubuntu', 'fedora', 'cloud-user', 'centos',
+                             'debian']:
                 try:
                     host = utils.ssh_connect(server['public_v4'], username,
                                              ssh_kwargs,

-- 
To view, visit https://gerrit.wikimedia.org/r/237381
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If3f0f0137850e60780515c69329465837c4c91d8
Gerrit-PatchSet: 1
Gerrit-Project: operations/debs/nodepool
Gerrit-Branch: patch-queue/debian
Gerrit-Owner: Hashar <has...@free.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to