This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hardware:braggi [2020/04/01 12:36] djgalloway [Setting up as Jenkins slaves] |
hardware:braggi [2022/08/25 21:08] (current) djgalloway [Setting up as Jenkins slaves] |
||
---|---|---|---|
Line 17: | Line 17: | ||
===== Setting up as Jenkins slaves ===== | ===== Setting up as Jenkins slaves ===== | ||
+ | ==== sda race condition === | ||
+ | There is an incredibly annoying race condition when installing CentOS 9 Stream on these nodes where sda and sdb get flip flopped. dgalloway tried fixing this with https://github.com/ceph/ceph-cm-ansible/pull/703/commits/1058a3d0ca85f00a0f7a2df416c4a22a2e08883c which did help but not entirely. | ||
+ | |||
+ | You can check if anaconda picked the right disk by pulling up the Java KVM, switching to another terminal (Ctrl+Alt+F2) and checking if ''/mnt/sysroot'' is on the 800GB or 400GB drive. You want it to be on the 400GB drive. If it's not, just reboot and try again. | ||
+ | |||
+ | ==== How To ==== | ||
- Reimage using Cobbler | - Reimage using Cobbler | ||
- Once the OS install is done, | - Once the OS install is done, | ||
Line 22: | Line 28: | ||
- Run ''%%ansible-playbook common.yml --tags vars,nagios,monitoring-scripts --limit braggi##%%'' | - Run ''%%ansible-playbook common.yml --tags vars,nagios,monitoring-scripts --limit braggi##%%'' | ||
- Run https://github.com/djgalloway/sepia/blob/master/ansible-playbooks/jenkins-build-home.yml | - Run https://github.com/djgalloway/sepia/blob/master/ansible-playbooks/jenkins-build-home.yml | ||
- | - Run https://github.com/ceph/ceph-build/blob/master/ansible/examples/slave_static.yml | + | - Run https://github.com/ceph/ceph-build/blob/master/ansible/examples/slave.yml |
+ | - ''%%ansible-playbook -M ./library/ -e permanent=True slave.yml --extra-vars '{"labels": "amd64 XXXXX huge sepia x86_64 braggi gigantic"}' --extra-vars '{"token": "XXXXX", "jenkins_credentials_uuid": "jenkins-build", "api_uri": "https://jenkins.ceph.com"}' --limit braggiXX*%%'' |