User Tools

Site Tools


testnodeaccess

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
testnodeaccess [2019/08/02 15:18]
djgalloway
testnodeaccess [2022/06/28 14:52]
djgalloway
Line 31: Line 31:
         ForwardAgent yes # <- This is the important part         ForwardAgent yes # <- This is the important part
  
-host smithi* mira*+host smithi* mira* gibba*
         StrictHostKeyChecking no         StrictHostKeyChecking no
         UserKnownHostsFile=/​dev/​null         UserKnownHostsFile=/​dev/​null
Line 77: Line 77:
 </​code>​ </​code>​
  
-  - If you're using a static key file on ''​teuthology.front.sepia.ceph.com'',​ make sure its permissions are ''​0600''​+  - If you're using a static key file (as in you have a ''​~/​.ssh/​id_rsa''​ file) on ''​teuthology.front.sepia.ceph.com'',​ make sure its permissions are ''​0600''​
   - The SSH key can NOT have a passphrase (unless you're doing SSH Agent Forwarding?​)   - The SSH key can NOT have a passphrase (unless you're doing SSH Agent Forwarding?​)
   - The SSH key can NOT have been generated using OpenSSH version >= 7.8p1-1 (''​[dpkg -l|rpm -qa] | grep openssh''​ to find out)   - The SSH key can NOT have been generated using OpenSSH version >= 7.8p1-1 (''​[dpkg -l|rpm -qa] | grep openssh''​ to find out)
Line 83: Line 83:
   - ''​rm -f ~/​.ssh/​known_hosts''​ and add ''​UserKnownHostsFile /​dev/​null''​ to your SSH config.   - ''​rm -f ~/​.ssh/​known_hosts''​ and add ''​UserKnownHostsFile /​dev/​null''​ to your SSH config.
   - Ask dgalloway to capture new FOG images that include your public SSH key.   - Ask dgalloway to capture new FOG images that include your public SSH key.
 +  - You **must** have ''​ForwardAgent yes''​ set for ''​teuthology.front.sepia.ceph.com''​ in your workstation'​s ''​~/​.ssh/​config''​ file.
  
 The newest version of paramiko doesn'​t support SSH keys that have ''​BEGIN OPENSSH PRIVATE KEY''​ in them.  See https://​github.com/​paramiko/​paramiko/​issues/​1015. The newest version of paramiko doesn'​t support SSH keys that have ''​BEGIN OPENSSH PRIVATE KEY''​ in them.  See https://​github.com/​paramiko/​paramiko/​issues/​1015.
Line 96: Line 97:
 Baremetal testnodes are accessible via out-of-band (OOB) management controllers,​ or BMCs.  If you're unable to reach a host via ssh on its front.sepia.ceph.com address, you can try accessing it using [[services:​conserver]] and power cycle via ''​ipmitool''​. Baremetal testnodes are accessible via out-of-band (OOB) management controllers,​ or BMCs.  If you're unable to reach a host via ssh on its front.sepia.ceph.com address, you can try accessing it using [[services:​conserver]] and power cycle via ''​ipmitool''​.
  
-**Power Cycle Example**+==== Power Cycle Example ​====
 <​code>​ <​code>​
 ipmitool -I lanplus -U inktank -P XXXXX -H testnode123.ipmi.sepia.ceph.com chassis power cycle ipmitool -I lanplus -U inktank -P XXXXX -H testnode123.ipmi.sepia.ceph.com chassis power cycle
testnodeaccess.txt ยท Last modified: 2024/03/01 19:41 by zmc