Project

General

Profile

Actions

Bug #17237

open

teuthology does not use explicit username (ubuntu) from YAML file if ssh config specifies a username

Added by Patrick Donnelly over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

I had an issue where runing teuthology on my workstation where I would see permission denied errors. It turns out teuthology was using the username (pdonnell) in my ~/.ssh/config for all the connections. I think that is loaded from this code:

https://github.com/ceph/teuthology/blob/90bd9c6faaa9abab95c550ddd7798690c389b1cd/teuthology/orchestra/connection.py#L85-L101

I'm not sure this makes sense when the YAML file provides an explicit username for the target host. I ended up changing my ~/.ssh/config to not specify the username for the sepia hosts but I think that this may still be a bug. This issue may be related:

http://tracker.ceph.com/issues/17125


Related issues 1 (0 open1 closed)

Related to teuthology - Bug #17125: teuthology-nuke fails when not running as ubuntu userResolvedDan Mick08/24/2016

Actions
Actions #1

Updated by Patrick Donnelly over 7 years ago

  • Related to Bug #17125: teuthology-nuke fails when not running as ubuntu user added
Actions

Also available in: Atom PDF