devplayground
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| devplayground [2024/06/03 19:49] – pdonnell | devplayground [2026/09/14 14:23] (current) – djgalloway | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ^ Name ^ Notes ^ | ^ Name ^ Notes ^ | ||
| - | | [[hardware: | ||
| - | | [[hardware: | ||
| - | | [[hardware: | ||
| | [[hardware: | | [[hardware: | ||
| | [[hardware: | | [[hardware: | ||
| Line 19: | Line 16: | ||
| ==== Playing Nice ==== | ==== Playing Nice ==== | ||
| - | Developer playgrounds should be able to build the '' | + | Developer playgrounds should be able to build the '' |
| Using the developer machines to look at teuthology QA artifacts is encouraged. Try to avoid using a text editor to look at large (1GB+) debug logs as this can be RAM intensive/ | Using the developer machines to look at teuthology QA artifacts is encouraged. Try to avoid using a text editor to look at large (1GB+) debug logs as this can be RAM intensive/ | ||
| Line 52: | Line 49: | ||
| ==== Configuring CephFS Mounts ==== | ==== Configuring CephFS Mounts ==== | ||
| - | The following | + | The following |
| - | < | ||
| - | #!/bin/bash | ||
| - | HOST=" | + | ==== Teuthology scheduling ==== |
| - | function run { | + | Configure |
| - | printf ' | + | |
| - | " | + | |
| - | } | + | |
| - | + | ||
| - | function mssh { | + | |
| - | run ssh " | + | |
| - | } | + | |
| - | + | ||
| - | mssh sudo mkdir -p -m 755 /etc/ceph | + | |
| - | ssh reesi001.front.sepia.ceph.com 'env CEPH_KEYRING=/ | + | |
| - | mssh sudo chmod 644 / | + | |
| - | ssh reesi001.front.sepia.ceph.com 'cat / | + | |
| - | mssh sudo chmod 644 / | + | |
| - | ssh reesi001.front.sepia.ceph.com ' | + | |
| - | mssh sudo chmod 600 / | + | |
| - | + | ||
| - | + | ||
| - | function genmount { | + | |
| - | local secret=$(mssh sudo cat / | + | |
| - | # create mountpoint | + | |
| - | mssh sudo mkdir -p -- " | + | |
| - | # make the mountpoint directory (shadowed) unwriteable | + | |
| - | mssh sudo chmod 000 -- " | + | |
| - | # set it immutable to enforce that even for root | + | |
| - | mssh sudo chattr +i -- " | + | |
| - | printf ' | + | |
| - | } | + | |
| - | + | ||
| - | genmount / | + | |
| - | genmount / /scratch scratch | + | |
| - | genmount / /postfile postfile | + | |
| - | + | ||
| - | mssh sudo systemctl daemon-reload | + | |
| - | mssh sudo mount / | + | |
| - | mssh sudo mount /scratch | + | |
| - | mssh sudo mount /postfile | + | |
| - | mssh sudo ln -s /teuthology /a | + | |
| - | </ | + | |
| - | + | ||
| - | + | ||
| - | ==== Teuthology scheduling ==== | + | |
| < | < | ||
| Line 109: | Line 63: | ||
| active_machine_types: | active_machine_types: | ||
| - smithi | - smithi | ||
| + | - trial | ||
| + | - gibba | ||
| EOF | EOF | ||
| </ | </ | ||
| + | Note: killing a run is (generally) still necessary on [[services: | ||
| ==== Configuring LVM volumes using spare disks ==== | ==== Configuring LVM volumes using spare disks ==== | ||
| Line 144: | Line 101: | ||
| sudo chattr +i $HOME/build | sudo chattr +i $HOME/build | ||
| echo "/ | echo "/ | ||
| - | sudo systemctl daemon reload | + | sudo systemctl daemon-reload |
| sudo mount $HOME/build | sudo mount $HOME/build | ||
| </ | </ | ||
devplayground.1717444148.txt.gz · Last modified: by pdonnell
