Jenkins in new cloud - status update

Mikolaj Izdebski mizdebsk at redhat.com
Thu Jul 30 17:39:12 UTC 2015


Overall status: most of things are configured and working.  New Jenkins
should be ready for data migration from old instance.  I've migrated two
projects for now and they seem to be working.

Deployment details: There are: 1 master and 3 slaves (workers) running
in the new cloud.  All instances are of type "m1.small" (1 CPU, 2 GB
RAM, 20 GB disk).

master:
  jenkins.fedorainfracloud.org (Fedora 22)
slaves:
  jenkins-slave-el6.fedorainfracloud.org (Centos 6.6)
  jenkins-slave-el7.fedorainfracloud.org (RHEL 7.1)
  jenkins-slave-f22.fedorainfracloud.org (Fedora 22)

Some notes or questions, in random order:

Slaves have public IP assigned.  It's not needed by Jenkins itself,
but I think it is required to be able to manage them through ansible.

Master is running official jenkins package from Fedora 22, with
several core plugins also from Fedora.  Plugins which were not
available in Fedora are packaged in Copr repo and installed as RPMs
too.  Packages in Copr are just wrappers around upstream binaries -
they are not built from source in Copr.

Jenknis runs as unprivileged user, so it can't listen on port 80 - it
listens on port 8080.  Old Jenkins was running httpd proxy, which
forwarded incoming requests from port 80 to 8080.  New Jenkins
forwards ports using netfilter (aka iptables).  Was there any other
reason for running httpd proxy?

Only members of sysadmin-jenkins group have admin access through web
interface.  Should sysadmin-main be added there too?

Subversion plugin is currently disabled due to unresolved problem.
Projects using subversion SCM (if any) won't work until this is fixed.

Slaves have the same set of extra packages installed as in the old
cloud.  Like in the old Jenkins instance, jenkins user is member of
mock group, which opens possibility for arbitrary code execution on
any of Jenkins hosts (on slaves as root, on master as jenkins user)
for anyone with write access to any project.  I'm not saying it's
necessairly a problem, but I wanted to point it out clearly.

Current Jenkins master doesn't have persistent storage, but I would
like to add it when moving to production.

Any questions or comments?

-- 
Mikolaj Izdebski
Software Engineer, Red Hat
IRC: mizdebsk


More information about the infrastructure mailing list