8677 Commits

Author SHA1 Message Date
Matthew Treinish
4ed867508a
Add a job filter for old side subunit files
This commit adds back the job filter on the old side subunit stream
from grenade runs. The subunit stream will only end up under logs/old
if it's a grenade run. So to be more efficient lets filter looking
for a subunit stream there only to grenade jobs.

Change-Id: I5a6c9b17f923526745507a131658f581a9d94e0a
2016-02-17 11:40:07 -05:00
Jenkins
d78e3d66f5 Merge "Remove retry-get param from subunit file collection" 2016-02-17 16:28:11 +00:00
Jenkins
c25d45fb8c Merge "Remove job filters and add missing paths to subunit collection" 2016-02-17 16:27:32 +00:00
Jenkins
4ff7f81330 Merge "Get debian kernel headers based on architecture" 2016-02-17 16:26:29 +00:00
Matthew Treinish
eb44d78d57
Remove retry-get param from subunit file collection
This commit removes the retry-get parameters from the subunit file
collection in the logstash gearman client. These were cargo-culted
from elsewhere in the yaml file and doesn't add anything useful in
this case. The param is only there to workaround jenkins limitations
with the console log uploading.

Change-Id: Ic751d5e295e605b20386ad9cde6500bae44f34d8
2016-02-16 15:54:13 -05:00
Jenkins
2877a4f932 Merge "Remove wheel_mirror known hosts" 2016-02-16 18:55:00 +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
Jenkins
81bbe4f1c4 Merge "Disable nonfunctional infracloud hosts" 2016-02-16 00:41:11 +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
Matthew Treinish
30ad231a19
Remove job filters and add missing paths to subunit collection
This commit will enable collection of subunit results from all subunit
emitting jobs in the gate and periodic pipelines. Now that we prune
the database to only 6 months of history we should have plenty of
headroom for the extra data generated by non-tempest-dsvm jobs.
(hopefully)

Depends-On: I58a640f804313e1e4b80680f0e39b86d76cb29da
Change-Id: If5691af792409f02352f25b1498dd78294a7cd74
2016-02-11 17:57:29 -05: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
Spencer Krum
7b2e533c7a Disable nonfunctional infracloud hosts
Some infracloud machines do not respond to ssh. Comment them out here
so they don't fill up our logs with errors that aren't actionable.

Change-Id: If56e773e3fe8beb0aad42e079eb8cb8492cde652
2016-02-10 14:30:08 -08:00
Jenkins
007bd5768f Merge "Update common.js to include OpenStack-Health" 2016-02-10 21:35:38 +00:00
Jenkins
710f0ef961 Merge "Puppetdb keeps ooming, give it more ram" 2016-02-10 21:22:27 +00:00
Jenkins
e9fce31aa2 Merge "Add infracloud playbook" 2016-02-10 19:58:04 +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
James E. Blair
acf738180f Remove wheel_mirror known hosts
This file is not used anymore (since the switch to AFS).

Change-Id: I0c1c7231b12e290fc3fe0233f0f872790a44133b
2016-02-10 08:01:00 -08:00
Jenkins
91b5d1f01c Merge "Show toggle CI button for Gerrit URLs with patch set ranges" 2016-02-10 14:52:43 +00:00
Yolanda Robla
e1009a290b Update mirror to use in easy_install
It is pointing to deprecated mirror, causing tests to
fail when installing pbr.

Change-Id: Ic7723a2afba2c650c5233794a35683bc9f980ec0
2016-02-10 13:07:55 +01:00
Jenkins
26bb470549 Merge "Don't write k5start banner to file list" 2016-02-09 02:51:47 +00:00
Colleen Murphy
32f956f268 Add infracloud playbook
Add separate playbook for infacloud nodes to ensure they run in the
correct order - baremetal -> controller -> compute.

Baremetal is intentionally left out, it is not ready yet.

All 'disabled' flags on infracloud hosts are turned off. This patch
landing turns on management of the infracloud.

Co-Authored-By: Yolanda Robla <info@ysoft.biz>
Co-Authored-By: Spencer Krum <nibz@spencerkrum.com>
Change-Id: Ieeda072d45f7454d6412295c2c6a0cf7ce61d952
2016-02-08 18:03:02 -08:00
Jenkins
a3fdd56c1e Merge "Collapse groups into one group" 2016-02-09 00:57:30 +00: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
Spencer Krum
c4aace64ad Collapse groups into one group
We only need one infracloud right now. Technically the controller
doesn't need to be in 'infracloud' because its secrets are duplicated.
This aligns the groups at any rate.

Change-Id: Ibc056505a4ef397c2adeae6a3b4afb21db9b4a02
2016-02-08 15:27:48 -08: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
bb953ce7fc Don't write k5start banner to file list
k5start prints:

  "Kerberos initialization for service/reprepro@OPENSTACK.ORG"

This then gets redirected into the list of files to remove on the next
run - which is an error, since that's not a filename. Put the
redirection inside of a bash command so that only the data gets
redirected.

Change-Id: Icae10763b4bce78c7b674715826547c228980dd6
2016-02-08 16:33:29 -06: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
Monty Taylor
857b22519a Remove restricted and multiverse
The packages in restricted and multiverse are either non-free or
unsupported. While they're usually useful for desktop, they aren't
something that OpenStack should grow a dependency on.

Also remove non-free and contrib from debian. We don't do anything with
debian yet - but if we did, I'm pretty sure we would not want these.

Note: The existing restricted and multiverse dirs should be purged,
although it's not urgent to do so. 'reprepro --delete clearvanished'

Change-Id: I1d98ab1dea52598d01e3ce3d9a24306280a190fe
2016-02-08 12:29:16 -06:00
Jenkins
75abc5bc4b Merge "Removed pypi.<region> mirror manifests" 2016-02-08 17:53:04 +00:00
Jenkins
178c136a66 Merge "Use k5start even for the readonly reprepro actions" 2016-02-08 17:46:03 +00:00
Jenkins
f058f3234e Merge "Import gpg keys for mirroring into local keyring" 2016-02-08 17:18:33 +00:00
Monty Taylor
8e7c013953 Use k5start even for the readonly reprepro actions
Now that the db files are in AFS, we need k5start because we need to be
able to write lockfiles for them.

Change-Id: I5c9554ca505ed56e84b601e40476527ef4af98fb
2016-02-08 10:40:25 -06: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
Jenkins
40043c2037 Merge "Update reprepro options file with valid options" 2016-02-08 14:47:53 +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
a751c6c2b8 Update reprepro options file with valid options
Options are space delimited, not = delimeted. Also, AFS reports space
differently, so skip the space available check.

Change-Id: I097bc43481ecfb64d0c95f08c82bd3ceb5bd6be9
2016-02-06 15:19:10 -06: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
Jenkins
16fccb52b7 Merge "Revert "Temporarily stop releasing after bandersnatch"" 2016-02-05 23:23:40 +00: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
James E. Blair
cc5fa1bdc8 Revert "Temporarily stop releasing after bandersnatch"
This reverts commit 01f30d523b8b54336b59f097c00b521dc67eee95.

It also changes it to make the vos release verbose, and to use
set -e rather than explicit error checking.

Change-Id: Iffcf03899792b17b4873742b513ebada7f2efd8d
2016-02-05 08:02:29 -08:00
Jenkins
d7580c8bcf Merge "Remove trusted-hosts from pip.conf" 2016-02-05 14:07:55 +00:00