4226 Commits

Author SHA1 Message Date
Matt Riedemann
003a56b1ff Index manila service logs for debugging manila runs in the gate
The elastic-recheck uncategorized bugs page has manila jobs in it
so we need to be able to index the manila service logs in logstash.

For example: http://goo.gl/k1bjUX

Change-Id: I3360858a5a704bc1304c2bc00792ea15f2b924f2
Related-Bug: #1491325
2015-09-02 14:46:58 -07:00
Jenkins
79580fb2eb Merge "Index screen-c-bak logs for logstash" 2015-08-10 23:29:08 +00:00
Jenkins
520fb387e8 Merge "Don't hardcode pip.conf values" 2015-07-28 16:59:20 +00:00
Jenkins
d98a7ab37c Merge "Switch jenkins.openstack.org to a snakeoil cert" 2015-07-23 22:53:38 +00:00
Matt Riedemann
db7e48ef45 Index screen-c-bak logs for logstash
With the recent ceph gate blocker with backups it'd be good to be able
to query for failures in the cinder backup logs, so let's add it to the
logstash index.

Example log: http://goo.gl/4IIWai

Related-Bug: #1476416

Change-Id: Ie5f63e3a4acb5cfef97292cd7c8a009d86ee703a
2015-07-21 07:38:40 -07:00
Jenkins
de29607241 Merge "Add subnode logs to logstash" 2015-07-17 00:54:24 +00:00
Jenkins
a0c45a1b2a Merge "Add more sites to our SSL cert expiration checker" 2015-07-17 00:09:40 +00:00
Jenkins
6c1b600157 Merge "Start using puppet-cgit to manage cgitrc" 2015-07-16 21:48:26 +00:00
Jenkins
7c48447d5c Merge "Convert hiera configuration to support public data" 2015-07-16 21:21:25 +00:00
Joe Gordon
687b4a7467 Add subnode logs to logstash
Enable us to use logstash.openstack.org to help debug multinode failures
that occur on the subnode.

Change-Id: I3629f4827abec68b731ce47048dab553908662d2
Depends-On: Icf842ec12e87ccd208c551870312c8e4b62613bd
2015-07-16 14:02:44 -07:00
Jeremy Stanley
cddd9e6265 Switch jenkins.openstack.org to a snakeoil cert
The SSL cert for jenkins.openstack.org was obtained in 2013 when
this interface was more heavily used by our developer community.
Since then we've rolled out 7 additional Jenkins masters and so this
is no longer a useful primary reference. The only real need for
authenticated connections to its WebUI at this point is systems
administrators performing maintenance and minimal local
configuration, for which ToFU of a self-signed cert is sufficient.

Change-Id: Ibf95983a2ac76c2e9e39bcfc99643e3cac401245
2015-07-16 19:54:21 +00:00
Jeremy Stanley
1faaa18139 Add more sites to our SSL cert expiration checker
This syncs up the SSL cert check sites list to match the SSL certs
we have Puppet applying from our hiera list.

Change-Id: I02812af75a9c619856c7130be92e2b15ba370608
2015-07-16 19:31:02 +00:00
James E. Blair
db226cca89 Add ianw's centos6 git repo to all centos6 machines
We suspect that the centos6 git slowness is affecting git client
operations on our servers themselves (invoked via puppet vcsrepo).
This installs ianw's fixed version of git on all centos6 machines.

Change-Id: I8496e9fd8d07829fb341b9241ea20d3f49d455b4
2015-07-14 10:22:52 -07:00
Yolanda Robla
ceecfb843b Don't hardcode pip.conf values
In the same line as other changes, move settings of config
file to template, and expose the settings on manifest,
so it can be easily configurable.

Depends-On: I78962555c9a9ec1a96ce19810a463a5d619b04f9
Change-Id: I673c9c177bf2fdb3e6428e3ad4252ee76b53309c
2015-07-11 12:36:51 +02:00
Yolanda Robla
f2d0e3d799 Start using puppet-cgit to manage cgitrc
Instead of taking care of cgitrc configuration in system-config,
use the new embedded logic for puppet-cgit to set that
configuration.

Depends on puppet-cgit module, as the configuration was moved
there.

Depends-On: I5c8ef0e7036c4b7a33aa12dc502c048af0499dda
Change-Id: I0bdbbdc3689cc33981c9c74af4b6c3080acf2dbe
2015-07-09 06:26:33 +00:00
Clark Boylan
b55e8ef23f Install zuul-env venv with puppet
We need the zuul-env venv to be on all slaves not just dib/nodepool
built slaves. Do this by puppeting the virtualenv setup and pip install
of zuul in slave_common.pp.

Change-Id: I290a695c697fb456bee6f8212ba50b6c1b4533fc
2015-07-06 16:51:37 -07:00
James E. Blair
c5fffb9f82 Change review->change in zuul table
In the Zuul review table added to gerrit in hideci, replace the
term "Review" with "Change" as it is more correct.

Change-Id: I34010ef651d7c3d41eaa73ae17791806cf6b56ac
2015-06-25 14:40:00 -07:00
Jenkins
e50c0cc6f6 Merge "use optimized url for zuul status" 2015-06-15 18:34:37 +00:00
Jenkins
32c1d7c0fe Merge "add jquery visibility" 2015-06-15 18:34:28 +00:00
Jenkins
78eb43c464 Merge "Let puppet-zuul manage log configuration files" 2015-06-10 23:40:28 +00:00
James E. Blair
56f91820f5 Add allow_hosts to pydistutils.cfg
This should cause easy_install to only contact our pypi mirrors
when fetching packages.

https://pythonhosted.org/setuptools/easy_install.html
    #restricting-downloads-with-allow-hosts

Change-Id: I8f7f2bc8fb281cb038a3b493ef33427892b36536
2015-06-04 14:19:01 +00:00
Tristan Cacqueray
aec751dc79 Use jenkins default file from puppet-jenkins
This changes remove the jenkins.default file and use the one of puppet-jenkins.

This change needs to land before I87849efa7a40f3ac62e90e2d763a2836b6d91aab.
That will leave jenkins.default unmanaged for a brief time.

Change-Id: I7316dba6cb333bf0821eacde8341601409a4453d
2015-05-11 14:31:37 +00:00
Ramy Asselin
3633950421 Add back disallow_robots.txt
This file was removed in I390f6ea8aaace276d211d55a0e17f25dd6ae26b5
but is still needed by Docs-draft
https://git.openstack.org/cgit/openstack-infra/system-config/tree/modules/openstack_project/manifests/static.pp?id=518c54f841d6db15398a09d1251841f03015b6cf#n113

Add it back.

Change-Id: Iad84064247ea2c0119f3f9633a2c5d8181a6c0fa
2015-05-07 09:37:57 -07:00
Fabien Boucher
03560b7696 Let puppet-zuul manage log configuration files
gearman-logging.conf, logging.conf and merger-logging.conf
has been moved in puppet-zuul modules in:
I76851c8672968a7581622cac8ff0062c1f50e0ef

The patch this one depends on adds a feature flag (by default set
to false) that can activate the installation of these configuration
files.

This patch removes the configuration files and set the
feature flag to true in order to let puppet-zuul manage
the configuration files by itself.

Two follow up patches will then be created (once this one is merged)
in order to set the feature flag (in puppet-zuul) at true by default
and another one on system-config to remove "manage_log_conf => true".

Change-Id: Ic5ceb7fb23a8403a31f9db2774ddd900fd838930
Depends-On: I76851c8672968a7581622cac8ff0062c1f50e0ef
2015-05-07 16:33:58 +00:00
Jenkins
518c54f841 Merge "Use common log server implementation" 2015-05-06 18:26:09 +00:00
Sean Dague
c4b4073367 use optimized url for zuul status
This returns the optimized url for zuul, which should dramatically
drop the amount of data transfered out of zuul. It also uses the ajax
method which lets us ensure that we don't schedule another pass
through the loop until we completed the current request.

Add support for jquery visibility optimization

Change-Id: I0e50f07fd9165e7a45c2712f6b1c4b3601759cba
2015-05-05 22:34:13 +10:00
Sean Dague
0c18496c2f add jquery visibility
Change-Id: I07449e7b41ac73a7e4c804266c86be0336d64916
2015-05-05 22:34:13 +10:00
Sean Dague
8400d7a184 Revert "Revert zuul status in gerrit"
This reverts commit ff6d73b989c57db79bb53e82f814d651945c3ac6.

This brings back zuul inline status which is further optimized in
follow on patches. We do this in phases because it's a lot easier to
review that way.

It also introduces zuul_inline global control variable, so we can land
this turned off, and enable in the debugger to verify it's doing the
correct thing.

Change-Id: If951a4a05a7dfef7a6d0c8e15ed263ff0523165e
2015-05-05 07:01:48 -04:00
Sean Dague
86d42106dc add dbg function to hideci
This provides the facility to leave tracing in hideci that won't
trigger by default, however if trying to debug bad behavior you can
enter the javascript console, set hide_ci_debug = true.

Change-Id: I42bf4e830256ee64eb726e3a82d805f7ca35e246
2015-05-05 06:03:45 -04:00
Sean Dague
2507c4d7c8 create proxy for testing hideci
This is a small tests server for testing hideci (and other gerrit
static file changes), it does this by creating a local http server,
then proxying and translating pages on the file (changing hard coded
references to zuul.o.o and review.o.o to route through this
file). You'll end up with a localhost:8001 (port is configurable) that
you can browse to and be on live gerrit + local files served.

Login doesn't work, because the openid redirect magic appears to
happen in a way that we can't intercept (boo), but you can still poke
at a lot of the interface pretty seamlessly this way. Makes for much
better testing.

We need to fetch zuul targeted status urls over http as well because
default python 2.7 apparently blows it's stack on zuul's ssl cert.

Change-Id: Ic28729cea9f2d1aea675025e5fef29f2bcc25164
2015-05-05 06:02:39 -04:00
Spencer Krum
1624692402 Convert hiera configuration to support public data
This moves the hiera root under /opt/system-config so it can reach
into both private and public hiera directories. This implies that
hiera data will live in a hiera/ directory in system-config.

Manual: This requires a manual change to the puppetmaster system. A
rooter must move /etc/puppet/hieradata to /opt/system-config/hieradata

Spec: http://specs.openstack.org/openstack-infra/infra-specs/specs/public_hiera.html

Change-Id: I1736759ee9ac7cd0c206538ed0a2f6d0d71ea440
2015-04-27 13:44:13 -07:00
Jenkins
c94a4f907d Merge "Setup hiera lookups to do common,group,fqdn" 2015-04-19 14:34:09 +00:00
Matt Riedemann
b0590ecbc0 Index cells logs
We've been trying to get the cells job in the check queue passing
consistently and it's been a game of whack-a-mole with regressions, so
when we're trying to debug new failures it'd be super helpful to
actually have logstash for the cells logs.

This adds the cells logs and only indexes them for the cells job(s)
which is the only time they should appear.

Change-Id: Id4450b7cb5d3303f9cb031c3e77fc17cfff97890
2015-04-09 15:51:31 -07:00
Spencer Krum
488231e444 Setup hiera lookups to do common,group,fqdn
Before we start having ansible copy smaller hiera files around, we
need to be able to split common.yaml into smaller files and continue to
use our current structure. Configure hiera to look at group and fqdn
files in addition to common.

Change-Id: I32bf69f80c748668ca218a7a326c5737ec81fa7f
2015-04-08 01:54:36 -07:00
James E. Blair
79b52422a6 Revert "Add a helpful friend to gerrit reviews"
Well, that was fun.

This reverts commit 353d4bd4ab672ad71dc6bfc9919eb7fc30e2012a.

Change-Id: I269c2cbb9c80f7a7841ac12fcf46b25821ce397e
2015-04-07 13:26:56 +00:00
James E. Blair
ff6d73b989 Revert zuul status in gerrit
The system to add zuul status to gerrit pages is very inefficient
and is causing high load on the zuul server as well as poor
performance in browsers.  Remove it until it can be reworked to be
more efficient.

This reverts commit 5be687279c6a5284a39e1e62e928b5cf5b359aa3.
This reverts commit 0118d2b4b53cea2641c123a57c14bf8276237f09.

Change-Id: I0ec03e9c585ecc53a839a7a03fa0171a3d28b873
2015-04-06 10:46:12 -07:00
Ramy Asselin
20e6ffb579 Use common log server implementation
Depends-On: Ib8476df83b7c5491158fa3cab588213be60fa2ab

Change-Id: I390f6ea8aaace276d211d55a0e17f25dd6ae26b5
2015-04-02 11:59:51 -07:00
Sean Dague
5de98f124f fix hideci regex to work on /#/c/XXXXX/YY
There previous regex had a bug which meant that the Toggle CI button
and functionality wouldn't trigger when browsing to a change which
included the revision number. This updates the regex to match in those
conditions.

Change-Id: Icc3d580d063c3a64f9d2b7e7d6a46e67afe0c779
2015-04-02 14:16:50 -04:00
Jenkins
bf3bcc827d Merge "Use HTTPS when including Zuul status via hideci" 2015-04-01 21:50:58 +00:00
Jenkins
c7ea24f015 Merge "Fetch devstack-gate documentation from dg" 2015-04-01 21:04:10 +00:00
Jeremy Stanley
5be687279c Use HTTPS when including Zuul status via hideci
Modern browsers are not happy to retrieve plaintext HTTP content
when running in the context of an HTTPS-served page. When including
Zuul's status JSON blob from the Gerrit WebUI via hideci.js, use
HTTPS.

Change-Id: Ibafe2b210ecdebea1781192beb0f4a14a23121eb
2015-04-01 20:05:32 +00:00
Jenkins
8037bf1129 Merge "display zuul in gerrit change" 2015-04-01 19:26:42 +00:00
Gregory Haynes
32acd651eb Disable our friend's noise
Playing sounds is probably a bit much

Change-Id: I0a34dfbcd001eb0ad109d0b953306f6a6a2d9e62
2015-03-31 23:46:40 +00:00
Spencer Krum
353d4bd4ab Add a helpful friend to gerrit reviews
This adds clippy, the workflow accelerator, to gerrit rewiews.
Clippy comes from: https://www.smore.com/clippy-js
A demo is available at: http://reviewtest.cloud.nibalizer.com/#/c/1/

Change-Id: Ia0d9151d1ce81f87f41e8e9083c839898472d6e3
2015-03-31 13:40:08 -07:00
Joshua Hesketh
8de734c7c0 Fetch devstack-gate documentation from dg
Move the documentation to append to apache indexes into the
devstack-gate footer.

Change-Id: Ifcc7b9ab40aad55bc45377183ea06d40d9fe2f78
Depends-On: I8b26cc58c2ad6ca029726d227cf1d38d72465627
2015-03-24 20:43:46 +11:00
Jenkins
e0cb759acb Merge "Fix jquery setup on Gerrit server." 2015-03-20 21:50:31 +00:00
Khai Do
56d046c2bf Fix jquery setup on Gerrit server.
The libjs-query package sets up jquery on trusty with these
files and sim links:

 ~$ ll /usr/share/javascript/jquery/
 drwxr-xr-x 2 root root   4096 Jan 15 20:44 ./
 drwxr-xr-x 5 root root   4096 Jan 15 20:44 ../
 -rw-r--r-- 1 root root 252879 Jul  5  2013 jquery.js
 lrwxrwxrwx 1 root root     13 Jul  5  2013 jquery.lite.js -> jquery.min.js
 lrwxrwxrwx 1 root root      9 Jul  5  2013 jquery.min.js -> jquery.js
 lrwxrwxrwx 1 root root     13 Jul  5  2013 jquery.pack.js -> jquery.min.js
 -rw-r--r-- 1 root root      5 May 23  2012 version.txt

The current puppet config is broken for trusty because it attempts to copy
the link instead of the file. This results in a broken sim link to jquery
and breaks the Toggle CI button on Gerrit because that button depends on
jquery.  This change corrects this situation by copying the file provided
jquery.js file instead of the link.

Change-Id: I18056ca528871d9a96218f0919bbd262da005f31
2015-03-20 13:56:43 -07:00
Yolanda Robla
80bf9229a2 Add configurable graphite url on zuul status
Add the ability to pass the graphite url by parameter
on zuul status page.

Change-Id: I3252ea2b727e3867136bba3256239bcae409e99e
2015-03-13 18:15:58 +01:00
Jenkins
d8aeab6eee Merge "Add configurable url for OpenStack status" 2015-03-13 16:14:56 +00:00
Clark Boylan
0441e7c7f0 Pass in a ref for the project_config repo
When running ansible we need to pass a specific version of
project-config through to puppet from ansible. Do this via the
project_config_ref fact that the puppet role in ansible understands.

Depends-On: Id99c3c2c20764ed4ba4259bd53f8067289374403
Change-Id: I88995c81c13080d913bac239a7635619cdc34441
2015-03-11 13:14:49 -04:00