Commit Graph

4199 Commits

Author SHA1 Message Date
Jenkins
518c54f841 Merge "Use common log server implementation" 2015-05-06 18:26:09 +00:00
Sean Dague
8400d7a184 Revert "Revert zuul status in gerrit"
This reverts commit ff6d73b989.

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
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 353d4bd4ab.

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 5be687279c.
This reverts commit 0118d2b4b5.

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
Yolanda Robla
ae2c27f203 Add configurable url for OpenStack status
Add the ability to set a configurable base status
url and reuse it on status links.

Change-Id: I326904dc4de24c9c7c01269b8e687ea928b43c5a
2015-03-10 08:23:43 +01:00
James E. Blair
5f780500c3 Zuul: log gerrit at debug level
To aid in debugging a problem with zuul, log all information from
gerrit for a while.

Change-Id: Id8eb8130054cd4fc9407aca29cf501c1fdcb7b88
Story: 2000189
2015-03-04 12:21:09 -08:00
Jenkins
340efe0d91 Merge "Add Elizabeth K. Joseph to servers and storyboard" 2015-02-23 02:57:48 +00:00
Jenkins
9835fc6a3d Merge "Zuul status: only display time on live changes" 2015-02-14 00:02:16 +00:00
Jenkins
18de66c580 Merge "Zuul status: only count live changes" 2015-02-13 23:52:42 +00:00
James E. Blair
7204ca363b Zuul status: only display time on live changes
Time has no meaning for non-live changes.  Really only the time
for the live change at the end of the list has any relevance.
The enqueue time is just repeated, and the ETA of 0 is just weird.
Don't display them for non-live changes.

Change-Id: Ibfcd4c997c1f2447d56ad12f7f7c0203c62d5bce
2015-02-13 09:03:44 -08:00
James E. Blair
ab07b3fc0b Zuul status: only count live changes
Currently the check queue count includes non-live changes.  Update
it to only count live changes, as that is more reflective of
what is going on and what people expect.

Change-Id: I65c40e4c9eed2db2e020253defe230b65b76000b
2015-02-13 09:03:11 -08:00
James E. Blair
cf41273675 Remove ttx from SB admin
There isn't much point to this level of access at the moment, except,
perhaps, fixing operational problems.  Let infra-root handle that.

Change-Id: Id18fe3c87d782c6669b5f15b3de813bb1dc2fb8f
2015-02-12 10:37:47 -08:00
Michael Krotscheck
1f0e21a2bb Removed krotscheck@gmail.com from SB Admin
Infra core are the only ones who should be admins on storyboard.

Change-Id: I68f3b582a58ed4b7d6905a04f657663b65f084fb
2015-02-12 10:15:35 -08:00
Jenkins
633420931b Merge "Add description of 'ironic' log files" 2015-02-11 18:38:43 +00:00
Jenkins
fd3490c5de Merge "Adding tripleo-ci files to be indexed by logstash" 2015-02-11 01:02:46 +00:00
Jenkins
f99fabfd33 Merge "Declare a non-overlapping dynamic UID/GID range" 2015-02-11 00:27:55 +00:00
Elizabeth K. Joseph
5c2d0d88e7 Add Elizabeth K. Joseph to servers and storyboard
Change-Id: Iba23a511f314b87957588449305043db06309233
2015-02-10 13:33:23 -08:00
James E. Blair
bab20a4e62 Zuul status: Use a grey icon for non-live changes
Update the zuul status page javascript to use a grey icon when
representing non-live changes.  This change has already been made
in the zuul project js.

Change-Id: I60bfa3b7f24e9638fe9be41f07ee472827fb64f9
2015-02-09 13:03:10 -08:00
John L. Villalovos
6687f2111e Add description of 'ironic' log files
There is no description of the log files generated for ironic.  This
adds a description for them.

Change-Id: Ib72e4937124e615eaf64a0fbb940722b86c89a69
Signed-off-by: John L. Villalovos <john.l.villalovos@intel.com>
2015-02-06 13:09:44 -08:00
Sean Dague
894b4c822d update indexer for apache logs
Apache logs aren't getting indexed after changes to where they exist
in devstack-gate. This means the horizon logs are lost, and that
keystone logs aren't getting indexed at all on the main jobs.

Change-Id: I1ef5084d6bf4dc9f74f4e4b51e00e97573074e38
2015-02-06 11:44:17 -05:00
Jenkins
5b22787f09 Merge "Stop putting echosign-cla.html onto Gerrit servers" 2015-02-04 21:40:57 +00:00
Jenkins
98696ffe10 Merge "Fix bandersnatch config after using region local mirrors" 2015-02-04 21:19:23 +00:00
Joshua Hesketh
0118d2b4b5 display zuul in gerrit change
This brings over a short summary of current zuul status for gerrit
changes. It is displayed above the test results table. And updates
every 10 seconds. If there are no outstanding changes in zuul, this
will hide the table where it's displayed.

This can be made more network efficient once
Ib8d80530cc99c222226f73046c17ab0bbf6e080b lands, however, it works
pretty quick in it's current format.

Co-Authored-By: Joshua Hesketh <josh@nitrotech.org>
Change-Id: Ice735926204d8cb972b68078e7ee23e56dce0b93
2015-02-02 22:25:34 +11:00
Jeremy Stanley
3894d93266 Declare a non-overlapping dynamic UID/GID range
If puppet creates users after any static UID/GID users are created,
it will use the next available UID or GID even if we intend to use
if for another static user. Solve this by increasing the dynamic
range minimums in /etc/login.defs, and also define system account
maximums explicitly so that they don't get interpreted as one less
than the normal user minimums and potentially also conflict.

Change-Id: Ie82ee5cbc23ef38b0eddd8c6af611724cc10fb28
2015-01-30 21:48:52 +00:00
Jenkins
587f85a2a8 Merge "Index trove logs for logstash goodness" 2015-01-29 14:34:03 +00:00
Jenkins
d15fd03f77 Merge "Make apt skip grabbing translations" 2015-01-29 13:44:27 +00:00
Jenkins
bbb11cf0d6 Merge "List PyPI mirrors as trusted hosts everywhere" 2015-01-26 16:02:30 +00:00
Jenkins
84eefdc30a Merge "Put playbooks in a directory" 2015-01-24 20:39:19 +00:00
Jenkins
7d2973fc12 Merge "Workflow documentation is now in infra-manual" 2015-01-19 21:39:58 +00:00
Jenkins
cdffc15d5b Merge "Add screen-n-cpu-1 to logstash" 2015-01-19 21:14:07 +00:00
Monty Taylor
680a6ab2ac List PyPI mirrors as trusted hosts everywhere
Upcoming versions of pip are going to get more and more nasty about
non-SSL index locations. In order to deal with that well, add a global
config file listing our PyPI mirrors as "trusted" - which means
that pip will not complain about their non-SSL qualities.

Change-Id: If9f3cec10d8057631978f7f1d5cd7e4936e163ef
2015-01-17 12:44:43 +13:00