Project

General

Profile

Actions

Bug #15215

closed

smithfarm cannot ssh to test nodes, and therefore cannot teuthology-kill

Added by Nathan Cutler about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Category:
Test Node
Target version:
-
% Done:

0%

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

Description

I can schedule suites, but I cannot kill them. When I run, for example:

teuthology-kill -m multi -r smithfarm-2016-03-19_09:18:11-upgrade:hammer-x-hammer-pr-8052---basic-multi

I get the following output: http://paste2.org/4ENBIZyD

I guess it's because the public ssh key in /home/smithfarm/.ssh/id_rsa.pub is not present in /home/ubuntu/.ssh/authorized_keys on the test nodes.

Actions #1

Updated by Nathan Cutler about 8 years ago

  • Description updated (diff)
Actions #2

Updated by David Galloway about 8 years ago

  • Category set to Test Node
  • Status changed from New to In Progress
  • Assignee set to David Galloway
Actions #3

Updated by David Galloway about 8 years ago

  • Status changed from In Progress to Need More Info

Nathan,

Is this the key in your pubkey file or do you need me to add another one?

https://github.com/ceph/keys/blob/master/ssh/smithfarm.pub

Actions #4

Updated by Nathan Cutler about 8 years ago

@David: That's the one. Thanks!

Actions #5

Updated by David Galloway about 8 years ago

Are you running teuthology-kill from your workstation or teuthology.front?

Actions #6

Updated by Nathan Cutler about 8 years ago

From teuthology.front.

Actions #7

Updated by Zack Cerza about 8 years ago

I don't see any ssh keys at all in smithfarm@teuthology.front:~/.ssh

Actions #8

Updated by Nathan Cutler about 8 years ago

  • Status changed from Need More Info to Fix Under Review

I was confused, as usual. So if I understand correctly, I needed to generate an SSH keypair to use from teuthology.front to connect further to the infrastructure. Opened PR https://github.com/ceph/keys/pull/22 for this purpose.

Actions #9

Updated by David Galloway about 8 years ago

  • Status changed from Fix Under Review to Resolved

Merged https://github.com/ceph/keys/pull/22

Your new pubkey will be added to your user as ansible gets run across the testnodes.

Actions

Also available in: Atom PDF