Feature #4438
closedceph-qa-chef: make it work on centos
100%
Updated by Anonymous about 11 years ago
I have played around with teuthology on pangolin (a brand new CentOS machine). I have verified that CentOS installs on a virgin system if the following steps are performed.
1.) Install lsb_release (yum install redhat-lsb)
2.) Edit /etc/sudoers -- change 'Defaults requiretty' to 'Defaults !requiretty'
change 'Defaults !visiblepw' to 'Defaults visiblepw'
3.) Edit /etc/security/limits.conf -- change '#* soft core 0' to '* soft core unlimited'
4.) Install nptdc (yum install ntp)
5.) Make sure that the new machine is in the database and teuthology-lock'ed.
There is currently an install bug that I will report and fix.
Updated by Sage Weil about 11 years ago
- Target version changed from v0.60 to v0.61 - Cuttlefish
Updated by Sandon Van Ness about 11 years ago
- Assignee set to Sandon Van Ness
- % Done changed from 0 to 90
Still needs a bit more testing but this is mostly done. I do need to implement the sudoers file changes, install lsb_release and make the /etc/security/limits.conf changes as well. The ntp stuff is already done as that is something ceph-qa-chef originally did/setup so I already modified that section for centOS.
The main changes to the recipe are if clauses for OS for package installs and stuff. A lot of the packages are named different on CentOS and for example the 'ntp' service is 'ntpd' on centOS which is why it requires a lot of ifs based off platform.
Updated by Sandon Van Ness about 11 years ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
I had Warren and Gary review the changes. This is committed to master now.
I also added a few things it needed to work on quantal as well.