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
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
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
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
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
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
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
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
Move the documentation to append to apache indexes into the
devstack-gate footer.
Change-Id: Ifcc7b9ab40aad55bc45377183ea06d40d9fe2f78
Depends-On: I8b26cc58c2ad6ca029726d227cf1d38d72465627
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
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
To aid in debugging a problem with zuul, log all information from
gerrit for a while.
Change-Id: Id8eb8130054cd4fc9407aca29cf501c1fdcb7b88
Story: 2000189
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
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
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
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
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>
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
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
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
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