Task #2166
closedJenkins: CentOS 7 slave
100%
Description
Deploy CentOS 7 x86_64 slaves.
Collect the list of packages needed by projects, so that the deployment can be repeated.
Updated by Lan Wang about 10 years ago
- Assignee changed from Lan Wang to Ashlesh Gawande
Updated by Ashlesh Gawande about 10 years ago
- % Done changed from 0 to 50
Installed Virtual Machines and configured Networking and ssh.
Updated by Alex Afanasyev about 10 years ago
Ashlesh, how do you managing images? Just in plain virtualbox?
I have suggestion to invest time into building vagrant images and use puppet as a configuration management. It would still be virtualbox, but this would allow simpler instantiation and management of vms. Moreover, others would be able to easily instantiate VM that is used for testing.
Updated by Ashlesh Gawande about 10 years ago
Yes I am using VirtualBox command line to make VMs. Right now I just made three VMs. How do I build vagrant images?
Updated by Alex Afanasyev about 10 years ago
I have limited knowledge about vagrant, as I basically just started learning. Some tutorial is available at https://docs.vagrantup.com/v2/boxes.html.
I can only say that creating "box" in vagrant is straightforward and simple. Most likely, you will be able to reuse the virtualbox image you already created.
Another piece that I briefly mentioned is Puppet. I have not used it at all, but a lot of projects use it for management purposes. So we need to investigate how it can help us.
Updated by Ashlesh Gawande about 10 years ago
- Status changed from New to In Progress
Updated by Ashlesh Gawande about 10 years ago
Alright I have installed all dependencies on the three machines. Now should I install a puppet agent on them and make a Vagrant base box?
Updated by Ashlesh Gawande about 10 years ago
Hi Alex
I am confused about installing puppet server. Should I just install puppet agent on each machine and you will install and configure a server or should I install and configure a puppet server?
Updated by Alex Afanasyev about 10 years ago
I'm not sure. I don't really know what puppet is and how to use it. You can install agents on VMs and then try to figure out how to use them (and then tell us).
Updated by Alex Afanasyev about 10 years ago
And, just in case. It is optional. If it is too complicated to use / there are no clear benefits, then don't spend too much time on it.
Updated by Ashlesh Gawande almost 10 years ago
- % Done changed from 50 to 100
I am sorry I forgot to update here. I have abandoned the puppet installation. The machines can be logged in at:
- CentOS: port 20024 jenkins@arcturus.cs.memphis.edu
- FreeBSD: port 20023 jenkins@arcturus.cs.memphis.edu
- Fedora: port 20021 jenkins@arcturus.cs.memphis.edu
I have vagrant boxes ready, which can be used to repeat deployment. Where do I upload them to?
Updated by Alex Afanasyev almost 10 years ago
You can try to upload them to vagrant cloud (https://vagrantcloud.com). I haven't done it before, but they have some documentation about it.
Updated by Alex Afanasyev almost 10 years ago
CentOS and Fedora required additional tweaking of /etc/sudoers
: default config requires tty to run sudo, which prevents jenkins script to do any meaningful task.
Updated by Alex Afanasyev almost 10 years ago
Also failed and also most likely because of limited memory:
Updated by Ashlesh Gawande almost 10 years ago
I disabled requiretty for jenkins user.
Updated by Alex Afanasyev almost 10 years ago
Still failing at random places. http://jenkins.named-data.net/job/ndn-cxx/OS=CentOS7/1696/consoleFull
I have no idea what is going on and how to fix that... There is almost 2Gb free space available plus 2Gb of swap (which is not used).
Updated by Junxiao Shi over 9 years ago
- Status changed from In Progress to Closed
Updated by Junxiao Shi over 6 years ago
- Status changed from Closed to New
- Assignee deleted (
Ashlesh Gawande) - Target version changed from v0.3 to v0.7
- % Done changed from 100 to 0
As discussed in 20180409 NFD call, we should reactivate CentOS7 slaves.
Updated by Davide Pesavento over 6 years ago
- Subject changed from Jenkins: CentOS 7.0 slave to Jenkins: CentOS 7 slave
- Description updated (diff)
Updated by Davide Pesavento about 6 years ago
- Status changed from New to In Progress
- Assignee set to Md Ashiqur Rahman
Updated by Davide Pesavento about 6 years ago
- Has duplicate Task #4610: Make CentOS 7 an official (CI-tested) platform added
Updated by Davide Pesavento about 6 years ago
- % Done changed from 0 to 40
CentOS-7-64bit has been enabled for ndn-cxx.
Updated by Junxiao Shi almost 6 years ago
I notice that both CentOS 7 slaves are deployed on the same site. One needs to be moved to fulfill resiliency requirements and prevent downtime due to single site failure.
Updated by Davide Pesavento almost 6 years ago
- Status changed from In Progress to Feedback
- % Done changed from 80 to 100
CentOS 7 slaves have been enabled for ndn-cxx, NFD, ndn-tools. More projects can follow in the future, if needed.
Setting status to Feedback due to note-24.
Updated by Davide Pesavento over 5 years ago
- Status changed from Feedback to Closed
Davide Pesavento wrote:
Setting status to Feedback due to note-24.
On second thought... both slaves are on maestro (UA) which is also the Jenkins master, so if that machine or site goes offline for any reason, everything else will go down as well. Deploying at different sites won't help in this case. Closing.