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
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
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
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
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
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
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
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
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
An upcoming change to nodepool supports logging the output from
the image creation process. Use it.
Change-Id: I3a45a30f813d0f7b9fff4f602b945d72f2dcda3e