15 Commits

Author SHA1 Message Date
Ramy Asselin
8c5918ecf5 Allow nodepool standalone puppet install
Installing nodepool standalone has this error:
 Could not find dependency Class[Pip] for Exec[install_nodepool] at
 /root/config/modules/nodepool/manifests/init.pp:90

Add the missing include pip statement.

Change-Id: Id30814eb1788e7b7eb533794a26c231000e9b41c
2014-05-29 17:49:18 -07:00
James E. Blair
398e1175f4 Fixes to nodepool installation on jenkins-dev.o.o
The patch to add nodepool to jenkins-dev (https://review.openstack.org/#/c/57333)
did not work.

There were a few issues with it:
  1. jenkins-dev.pp was passing literal strings to the nodepool module, instead it
     should be passing in the variables.
  2. jenkins-dev.pp was calling ::nodepool but puppet seems to think that it wants
     ::openstack_project::nodepool due to puppet's scoping weirdness :(
  3. The script to build nodepool machines needed the jenkins_dev_ssh_key.

Fixes to above issues:
  1. This is trivial, just passed the variables thru instead of literal strings.
  2. The nodepool.pp module is renamed to nodepool_prod.pp to prevent the scoping problem.
  3. We use the dev jenkins ssh key with dev nodepool by allowing the nodepool module
     to pass arbitrary env settings through the defaults file.

Change-Id: Id91053212f088079ff1b0f06ebdce5c381f5cd19
2014-04-25 11:52:08 -07:00
Matthew Oliver
8e9853cd4c Nodepool image logs accessible via HTTP
Nodepool logs the creation of nodepool images to an image.log which
are only accessible to root users. This change updates the nodepool
puppet configuration to install apache and allows users to access
these image logs.

Change-Id: I867030c258d00ce017c69812c133f3419215d045
2014-02-13 12:26:18 +11:00
Clark Boylan
d9cd59d5c5 Bump mysql connection limit for nodepool.
Nodepool is having its file descriptor limit bumped to 8192. Bump the
mysql connection limit to match to avoid having trouble on the other
side.

Change-Id: Ic164bddc860f8f569a2a0acb5290aaeb775bdd9a
2014-01-06 23:00:37 -08:00
Clark Boylan
48f9a1bd19 Bump nodepool's file descriptor limit.
Nodepool is running into file descriptor limits like Zuul. Again
compromise and bump the limit in the init script to give us breathing
room until the problem can be properly fixed.

Change-Id: Idd1fd679bdad1d3ea4951be7f9330214d7065027
2014-01-06 22:49:36 -08:00
Monty Taylor
0222d3040e Use pip install instead of setup.py install
The pip vs. easy_install interactions continually get the systems
into a weird state. pip install $path_to_repo, on the other hand,
works like a charm.

Left out two graphite installs because they are doing path manipulation
and I want to do further testing before touching that.

Change-Id: I373b29aca03f1ebd20e533ebaaf5de9ef2db017e
2013-10-27 18:38:38 -04:00
Jenkins
c164abc879 Merge "Upgrade puppetlabs-mysql to 0.6.1." 2013-10-12 20:57:34 +00:00
Jenkins
41a0740cf7 Merge "Remove ::1 mysql root user." 2013-10-12 20:56:12 +00:00
Clark Boylan
9a30d3a309 Upgrade puppetlabs-mysql to 0.6.1.
Puppetlabs-mysql 0.6.1 correctly removes the local ::1 root user in the
account_security manifest. Upgrade to this version to take advantage of
that. Do not upgrade to latest version (0.9.0) to minimize delta that
needs testing.

Change-Id: Ic8265733f1159f34ae0afcccdea4c7d8cd44e3cb
2013-10-12 17:37:24 +00:00
Clark Boylan
0adc30f151 Remove ::1 mysql root user.
The version of puppetlabs-mysql that we use does not remove the local
::1 root user from the mysqld. Explicitly remove this user.

Change-Id: I626fcc77c75a29d3f3cab57217b714e68a30b468
2013-10-12 17:32:09 +00:00
James E. Blair
c16d5c18f3 Set mysql max_connections to 1024 on nodepool
Nodepool can end up with one connection per thread when dealing
with launches and deletions.  If we have a lot of node turnover,
that's a lot of threads.

Change-Id: Ice483f5f9f3a47963357f9ff59bf4d735a18aa43
2013-09-27 15:10:33 -07:00
James E. Blair
ba7bc1799c Update nodepool init script to nodepoold
Change-Id: Ia119d3812b721810668c82bf2cb36a1a2d108307
2013-08-30 15:00:31 -07:00
James E. Blair
53478793d9 Add image logging config for nodepool
An upcoming change to nodepool supports logging the output from
the image creation process.  Use it.

Change-Id: I3a45a30f813d0f7b9fff4f602b945d72f2dcda3e
2013-08-29 16:25:02 -07:00
James E. Blair
6c8642ff08 Fix nodepool dir perms
Change-Id: If3f594559d7903c9eacd6d324e1ec9ed58c81a49
2013-08-16 20:46:17 -07:00
James E. Blair
8222c6e00f Add nodepool host
Change-Id: Ib216bd400aa269ccdb17848b3870ab65400cf3d2
2013-08-16 13:15:42 -07:00