#198 CentOS CI: get ssh access to the Jenkins for debugging Gluster jobs
Closed: Fixed 3 years ago by siddharthvipul1. Opened 3 years ago by tshacked.

Get access to the Jenkins jobs at https://ci.centos.org/view/Gluster/ , which are managed by the Gluster project (not Storage SIG).
I want to debug delays during job execution and need to be able to login on the Jenkins slave (over SSH) and from there on SSH into the machine that was requested through Duffy.


Metadata Update from @pingou:
- Issue assigned to siddharthvipul1
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: centos-ci-infra, low-trouble, medium-gain

3 years ago

[x] user added in jumphost
[x] ssh key added in duffy db (to access duffy nodes)
[x] ssh key added on Jenkins agent node

@tshacked can you please try to access ssh gluster@<jenkins-agent-node>.ci.centos.org

Thank @siddharthvipul1
I followed https://wiki.centos.org/TipsAndTricks/SshTips/JumpHost but failed to access

$ ssh gluster@slave07.ci.centos.org
gluster@jump.ci.centos.org: Permission denied (publickey).
kex_exchange_identification: Connection closed by remote host
$ ssh gluster@jump.ci.centos.org
gluster@jump.ci.centos.org: Permission denied (publickey).
kex_exchange_identification: Connection closed by remote host

does <jenkins-agent-node> is https://ci.centos.org/computer/gluster-ci-slave07/?

Thank @siddharthvipul1
I followed https://wiki.centos.org/TipsAndTricks/SshTips/JumpHost but failed to access

your username is tshacked
It goes through jumphost using this account
you won't have shell access to jumhost, but you can still try via tshacked@jumphost.ci.centos.org

To access jenkins node, you should be able to access it with gluster@<node>.ci.centos.org once you change the username in ssh config

does <jenkins-agent-node> is https://ci.centos.org/computer/gluster-ci-slave07/?

Yes

Thanks, i succeed connecting to jenkins slave.
I changed the username in .ssh/config to tshacked instead of gluster.

Metadata Update from @siddharthvipul1:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata
Boards 1
CentOS CI Infra Status: Backlog
Attachments 1
Attached 3 years ago View Comment