User Tools

Site Tools


testnodeaccess

Differences

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

Link to this comparison view

testnodeaccess [2017/11/30 15:42]
djgalloway
testnodeaccess [2018/05/22 13:39] (current)
djgalloway
Line 1: Line 1:
 ====== Testnode Access ====== ====== Testnode Access ======
 ===== Summary ===== ===== Summary =====
-Generally, ​baremetal testnodes ​should already be installed ​with an OS and your ssh public key should be in your user's and the ''/​home/​ubuntu/​.ssh/​authorized_keys''​ file.  You should ssh as your username unless the testnode is a VPS.+We have about 250 baremetal testnodes ​that get automatically reserved (locked) and unlocked by teuthology "​workers." ​ Workers are daemons on the ''​teuthology.front.sepia.ceph.com''​ VM that are fed jobs via a beanstalk queue. ​ This page will cover setting up your workstation to lock and unlock testnodes as well as schedule teuthology suites. 
 + 
 +===== Teuthology Config ===== 
 +Most developers schedule suites and lock/unlock machines from the ''​teuthology.front.sepia.ceph.com''​ VM. 
 + 
 +However, if you wish to run ''​teuthology''​ commands from your workstation,​ see http://​docs.ceph.com/​teuthology/​docs/​INSTALL.html#​installation-and-setup. 
 + 
 +Once you've got ''​teuthology''​ added to your workstation path, make sure you copy the current ''/​etc/​teuthology.yaml''​ from ''​teuthology.front.sepia.ceph.com''​ to your **local** ''​~/​.teuthology.yaml''​. 
 + 
 +===== SSH Config ===== 
 +Baremetal testnodes get reprovisioned ​with an already-configured ​OS image including a home dir for your user account. ​ Your ssh public key should be in your user'​s ​**and** the ''/​home/​ubuntu/​.ssh/​authorized_keys''​ file.  You should ssh as your username unless the testnode is a VPS.
  
 **Example** **Example**
Line 11: Line 21:
 If you run into any issues with a testnode that appear to be OS, network, or environment relatated (in other words: not ceph/test related), please [[http://​tracker.ceph.com/​projects/​teuthology/​issues/​new|file a ticket]]. If you run into any issues with a testnode that appear to be OS, network, or environment relatated (in other words: not ceph/test related), please [[http://​tracker.ceph.com/​projects/​teuthology/​issues/​new|file a ticket]].
  
-===== SSH Config ===== 
 Unless you have a separate public/​private key pair on the teuthology machine, you'll want to use SSH agent forwarding when SSH'​ing to teuthology.front.sepia.ceph.com. ​ You can do this either by using ''​ssh -A USER@teuthology.front.sepia.ceph.com''​ or adding the following to your workstation'​s ''​~/​.ssh/​config'':​ Unless you have a separate public/​private key pair on the teuthology machine, you'll want to use SSH agent forwarding when SSH'​ing to teuthology.front.sepia.ceph.com. ​ You can do this either by using ''​ssh -A USER@teuthology.front.sepia.ceph.com''​ or adding the following to your workstation'​s ''​~/​.ssh/​config'':​
  
testnodeaccess.txt · Last modified: 2018/05/22 13:39 by djgalloway