testnodeaccess
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| testnodeaccess [2019/07/10 19:19] – djgalloway | testnodeaccess [2026/09/14 14:25] (current) – djgalloway | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Testnode Access ====== | ====== Testnode Access ====== | ||
| ===== Summary ===== | ===== Summary ===== | ||
| - | We have about 250 baremetal testnodes that get automatically reserved (locked) and unlocked by teuthology " | + | We have about 400 baremetal testnodes that get automatically reserved (locked) and unlocked by teuthology " |
| Baremetal testnodes get OSes automatically " | Baremetal testnodes get OSes automatically " | ||
| ===== Teuthology Config ===== | ===== Teuthology Config ===== | ||
| - | Most developers schedule suites from the '' | + | Most developers schedule suites from the '' |
| - | However, if you wish to run '' | + | However, if you wish to run '' |
| Once you've got '' | Once you've got '' | ||
| ===== SSH Config ===== | ===== SSH Config ===== | ||
| - | Baremetal testnodes get reprovisioned with an already-configured OS image including a home dir for your user account. | + | Baremetal testnodes get reprovisioned with an already-configured OS image including a home dir for your user account. |
| **Example** | **Example** | ||
| Line 26: | Line 26: | ||
| < | < | ||
| - | host teuthology.front.sepia.ceph.com | + | host teuthology.front.sepia.ceph.com soko04.front.sepia.ceph.com |
| User $YOURUSER | User $YOURUSER | ||
| IdentityFile ~/ | IdentityFile ~/ | ||
| ForwardAgent yes # <- This is the important part | ForwardAgent yes # <- This is the important part | ||
| + | |||
| + | host smithi* gibba* trial* | ||
| + | StrictHostKeyChecking no | ||
| + | UserKnownHostsFile=/ | ||
| </ | </ | ||
| This will allow you to SSH from your workstation -> teuthology machine -> all testnodes | This will allow you to SSH from your workstation -> teuthology machine -> all testnodes | ||
| - | ===== VPSes ===== | + | Your SSH config |
| - | VPS (Virtual Private Servers) are ephemeral KVM virtual machines that are spun up on demand using, for example: | + | |
| - | \\ '' | + | |
| - | + | ||
| - | **More Information** | + | |
| - | * http:// | + | |
| - | * https:// | + | |
| - | + | ||
| - | Their hostnames are '' | + | |
| - | + | ||
| - | You must create an RSA SSH keypair (named id_rsa/ | + | |
| - | + | ||
| - | //Note: You still need a keypair even when using SSH agent forwarding from your workstation.// | + | |
| - | + | ||
| - | The following '' | + | |
| < | < | ||
| Host * | Host * | ||
| StrictHostKeyChecking no | StrictHostKeyChecking no | ||
| - | + | UserKnownHostsFile=/ | |
| - | Host vpm* | + | |
| - | User ubuntu | + | |
| </ | </ | ||
| Line 64: | Line 52: | ||
| </ | </ | ||
| - | - If you're using a static key file on '' | + | - If you're using a static key file (as in you have a '' |
| - 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? | ||
| - | - Ask dgalloway | + | |
| + | - Either generate your SSH key from '' | ||
| + | - '' | ||
| + | | ||
| + | - You **must** have '' | ||
| + | |||
| + | The newest version of paramiko doesn' | ||
| ----- | ----- | ||
| Line 78: | Line 72: | ||
| Baremetal testnodes are accessible via out-of-band (OOB) management controllers, | Baremetal testnodes are accessible via out-of-band (OOB) management controllers, | ||
| - | **Power Cycle Example** | + | ==== Power Cycle Example |
| < | < | ||
| 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.1562786365.txt.gz · Last modified: by djgalloway
