1923 Commits

Author SHA1 Message Date
Clark Boylan
db20a4cfdf Write all-clouds.yaml to disk
We have had an all-clouds.yaml file that was not being managed on disk
by puppet. Actually apply it to disk so that the template ends up on the
puppetmaster as expected.

Change-Id: I0136cab7c03b1932be5b24ff2e93ea8adb84c20d
2016-02-23 08:33:05 -08:00
Spencer Krum
f7cb9c3108 Add OmfraCloud to puppetmaster_clouds
I have verified the hiera settings. Omfracloud uses a self-signed cert,
so vendor in the CA file.

Change-Id: I8b5b2d1c2bb8a9f808a6ea8e5134cb17da8ee133
2016-02-23 17:12:22 +01:00
Jenkins
5a3a88737e Merge "Create openstack-infra projects in infracloud" 2016-02-22 23:50:19 +00:00
Sebastian Marcet
8b9e854561 OpenstackId Release 1.0.10
Change-Id: I72cee0922095a915e06a8f7d4d7826347e74ca6c
2016-02-22 17:47:29 -03:00
Ricardo Carrillo Cruz
7f3e10201e Create openstack-infra projects in infracloud
Infra uses in all its clouds two projects, one for long-lived
servers (openstackci) and another one for nodepool (openstackjenkins).
Putting this on infracloud controller manifest to automate that.

Change-Id: I75725e9256172058e3d6a7354de064da7f898ce8
2016-02-22 21:01:06 +01:00
Colleen Murphy
61ed3e5198 Update InfraCloud SSL configuration
Update the system-config manifest to support the simplifying changes
made in the puppet-infracloud module.

This patch will require updates to hiera. We need keys
hpuswest_ssl_cert_file_contents and ssl_key_file_contents added, and
hpuswest_ssl_cert_file_contents must be in the 'infracloud' hiera group
since it is shared to the compute nodes.

Change-Id: I39c70b1077e8b467e0a7e123a694d037ffc77f7a
Depends-On: Ibeea608e965e58c496a95b2f02a4bf6b13e15f0e
2016-02-19 19:58:42 +00:00
Jenkins
4ff7f81330 Merge "Get debian kernel headers based on architecture" 2016-02-17 16:26:29 +00:00
Jenkins
be5806b551 Merge "Send keystone_rabbit_password parameter" 2016-02-16 08:03:08 +00:00
Jenkins
6071a398f7 Merge "Delete json reports when we delete yaml reports" 2016-02-16 00:42:22 +00:00
Sebastian Marcet
794ad648e3 OpenStackId Production Release
updated version to 1.0.9 (OIDC)

Change-Id: Id7890056e5617557da84d1fc6b925397c88b5c62
2016-02-12 09:36:13 -03:00
Spencer Krum
abbd0d73fb Delete json reports when we delete yaml reports
We started collecting these things... and never stopped.

exmaple:
find /var/lib/puppet/reports/zm08.openstack.org/ -mtime +5 | wc -l
690

Change-Id: I72dc2bb32c76ae8f2ebd22801e8d3e9924c25d4d
2016-02-10 18:55:32 -08:00
Jenkins
710f0ef961 Merge "Puppetdb keeps ooming, give it more ram" 2016-02-10 21:22:27 +00:00
Yolanda Robla
1817780513 Send keystone_rabbit_password parameter
We cannot use default guest/guest as it has been disabled
on our rabbit. So we need to generate a pass in hiera for that,
and pass it properly to the manifest.

Change-Id: I407119383b232f07888dc9821771f1ece383a431
Depends-On: I9582d68ca93f2f7b5742523e273ebf6b5a9c0c13
2016-02-10 17:15:03 +01:00
Jenkins
c3cbaa0f43 Merge "Add Infra Cloud compute node definition" 2016-02-09 00:31:42 +00:00
Jenkins
9313e79635 Merge "Add Infra Cloud controller node" 2016-02-09 00:20:17 +00:00
Colleen Murphy
f2b367a735 Add Infra Cloud compute node definition
Add definition for compute nodes in the hpuswest region.

Change-Id: I9bce2a37d427558ba7a59fc6bc9edfd62edeac45
2016-02-08 15:17:41 -08:00
Colleen Murphy
d3cc13127b Add Infra Cloud controller node
Add a node definition for controller nodes in the hpuswest region.

Change-Id: I55666098335f26d24f0351cc6f3259fa055eb65b
2016-02-08 15:17:41 -08:00
Monty Taylor
7ec1b3d7e3 Split reprepro config to allow for debian and ubuntu
We can't colocation debian and ubuntu - so allow for each having their
own pool independent pool structure.

Change-Id: I9fe0fa9769a5c0f6a852844b2db0dfb620e91375
2016-02-08 14:16:53 -06:00
Jenkins
75abc5bc4b Merge "Removed pypi.<region> mirror manifests" 2016-02-08 17:53:04 +00:00
Jenkins
f058f3234e Merge "Import gpg keys for mirroring into local keyring" 2016-02-08 17:18:33 +00:00
Monty Taylor
5bb629505d Import gpg keys for mirroring into local keyring
We need the gpg signing keys for the upstream repos in root's keyring.
Fuel uses golja-gnupg for importing keys - so seems like a good thing
for us to use too.

Change-Id: I343be9397ba53f494485d1ff0f1e1e4c96c0273f
2016-02-08 09:36:25 -06:00
Jenkins
918c185761 Merge "Update paths for AFS mirror" 2016-02-08 15:14:22 +00:00
Monty Taylor
d00e7c0e5d Update paths for AFS mirror
In the current setup, the reprepro db and lists dirs are being written
into /root. Move them into AFS so that we store all the data in the same
place.

Also, update the script to point to the confdir for reprepro commands.

Note: This will require a manual move of the current db and lists dirs
from /root to /afs/.openstack.org/mirror/apt before this is run.

Change-Id: I2638621e6af98296704e680227fae174d8a0e541
2016-02-07 09:53:14 -06:00
Jenkins
ad466beb7d Merge "Run puppet apply on infracloud hosts" 2016-02-07 08:04:42 +00:00
Monty Taylor
3dbde4d268 Add symlink to publish apt repos
Our mirror vhost config uses symlinks in /var/www to control what is
published. Add an entry for the apt repo.

Change-Id: I301c61282e53d4cf596efe45b27dadce797f947e
2016-02-06 10:13:32 -06:00
James E. Blair
3181b5b9e8 Revert "Temporarily switch to AFS RW mirrors"
This reverts commit 8fd024a620bf70ad11bf82fcbe7bd3bfe918e9da.

Change-Id: Ib470afaf1477747f57d60693d823a847dca18484
2016-02-05 16:35:28 -08:00
Spencer Krum
0d3f4b62ba Run puppet apply on infracloud hosts
Since these are baremetal hosts, they need to come from a static
inventory not the openstack inventory. Fortunately, thats pretty easy.

Also setting infracloud groups to be children of disabled to keep them
disabled until we are ready.

Change-Id: I87ed4008ed9c4867f79bbb5fbb6be53707b42625
2016-02-05 14:53:34 -08:00
Jenkins
6b15593b6b Merge "Add AFS apt mirror" 2016-02-05 19:22:42 +00:00
Monty Taylor
f1c86c66a3 Add AFS apt mirror
The reprepro class in this is in-tree rather than in its own module
purely for ease of getting started. It's also highly hard-coded rather
than flexible.

This change will need a mirror.apt volume and service/reprepro principal
and keytab to be created before it lands.

Allow for pool trimming after a 2 hour delay. Each devstack run of
apt-get update should be able to be assumed to be valid for the length
of the devstack. For that reason, only delete files that are
unreferenced during the subsequent mirror run, ensuring at least a 2
hour delay between becoming unreferenced and going away.

Local testing indicates that a trusty mirror is 86G.

Change-Id: I84f6a0391f80e6bf567c4bfc18a41bd270fe8c01
2016-02-05 10:50:04 -06:00
Jenkins
2cce286694 Merge "add new vhost for releases.openstack.org" 2016-02-05 16:36:39 +00:00
Jenkins
d7580c8bcf Merge "Remove trusted-hosts from pip.conf" 2016-02-05 14:07:55 +00:00
Jenkins
661aef3b83 Merge "Make release afsadmin keytab owned by jenkins" 2016-02-05 14:06:34 +00:00
Jenkins
3b1e79f732 Merge "Increase the HTTP incoming connection queue" 2016-02-05 08:35:41 +00:00
James E. Blair
7e4cd43f2f Make release afsadmin keytab owned by jenkins
So that Jenkins can use it.

Change-Id: Icb487567e854b1f05dcd7e85297665215391a42e
2016-02-04 22:40:20 -08:00
Khai Do
38dc89814f Increase the HTTP incoming connection queue
Upstream Gerrit confirms that the default value for the httpd.maxQueued
value was set too low.  The fix[1] for it was to change the default to
200 however the fix is only in version 2.12+ not in 2.11.

clarkb confirmed that we are seeing the same error (stack trace linked
in 1st ml thread in upstream fix[1]) in review.o.o logs.  This likey
indicates that VM starvation (due to GC) is making Gerrit to slow to
process incoming client requests so it pushes more requests into the
queue than it can handle.  Once the queue is exhausted the requests
get rejected with 500 errors.  Increasing the max number of client
connections may help alleviate this situation until Gerrit can catch
up.

[1] https://gerrit-review.googlesource.com/#/c/70627

depends-on: Iea202fcfe7af4a9d5b4c3a360124c24649b1133b
Change-Id: I8d6c8d9ec6348fc6b950744237e527133a625bbe
2016-02-04 09:44:28 -08:00
Jenkins
46e2458b42 Merge "Add iftop to all Ubuntu servers" 2016-02-04 01:58:40 +00:00
Jenkins
7394f928a5 Merge "Changed ownership of wheel.keytab to jenkins" 2016-02-03 22:58:49 +00:00
Michael Krotscheck
eb706e735b Changed ownership of wheel.keytab to jenkins
This way, jenkins can actually use it.

Change-Id: I675a4ae9faa38f03c7b1b480691dcea4e36bf913
2016-02-03 11:19:13 -08:00
Michael Krotscheck
51b6f5d870 Add wheel working directory to wheel slave
This adds a jenkins-owned working directory for the wheel slave.
Actual work will occur in subdirectories that can be easily deleted.

Change-Id: Ie91e7e001c4a45fe70abca7a18671a0580d19d9f
2016-02-03 09:30:30 -08:00
Igor Belikov
25c6dddcac Get debian kernel headers based on architecture
This makes possible to apply openstack_project::slave_common class
to debian in chroot, e.g. to create a debian image with puppet
element using diskimage-builder

Change-Id: I7a661c8b5d4bb632eb32b5018c55474c1c66a4e8
2016-02-03 14:38:58 +03:00
Jenkins
238aa5d037 Merge "Add AFS and Admin keytab to release slave." 2016-02-02 23:32:29 +00:00
Jenkins
fb5ba14341 Merge "Added wheel hosting for AFS mirror slave" 2016-02-02 23:32:20 +00:00
Jenkins
bc4cdb2d2f Merge "Added AFS keytab to wheel slave" 2016-02-02 23:29:33 +00:00
Jenkins
9bfe410ea2 Merge "Added afs to wheel mirror slaves" 2016-02-02 22:10:51 +00:00
Jenkins
315158b8c0 Merge "Added conditional install statements for kernel header packages" 2016-02-02 22:06:06 +00:00
James E. Blair
7a0d2df17c Add iftop to all Ubuntu servers
It's so useful.

Change-Id: I7d2b96aa1e1cf7186ee88c6a3a3d878a29ac536d
2016-02-02 08:26:33 -08:00
Jenkins
6fd0c50706 Merge "Don't exclude python-setuptools" 2016-02-02 00:55:46 +00:00
Michael Krotscheck
13d54fdc05 Add AFS and Admin keytab to release slave.
This patch adds AFS, and the admin keytab, to our release slave,
so that we may execute `vos release` when a mirror update
is requested.

Change-Id: I9c8531304fb74b9bafca85d58b5e9c1c0bc21f6a
2016-02-01 15:09:11 -08:00
Michael Krotscheck
b107426201 Added wheel hosting for AFS mirror slave
This patch adds a vhost that exposes /afs/openstack.org/mirror/wheel
to the internet under <hostname>/wheel. It also adds appropriate
rewrite rules.

Change-Id: Id514a76f7759b663b2ea3a3ec4aa2dfe083d6666
2016-02-01 15:09:11 -08:00
Michael Krotscheck
320dd74280 Added AFS keytab to wheel slave
This adds a hiera-loaded keytab for the wheel slaves. It may
be used when writing wheels to the AFS share directory.

Note: This will require the creation of a keytab for the
wheel mirror, as well as appropriate folders and access rights
on AFS.

Change-Id: I81c39d420d8ac70def57949ea0d4c323b8797086
2016-02-01 15:09:11 -08:00