4161 Commits

Author SHA1 Message Date
Jenkins
f99fabfd33 Merge "Declare a non-overlapping dynamic UID/GID range" 2015-02-11 00:27:55 +00: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
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
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
Jeremy Stanley
59d029378a Stop putting echosign-cla.html onto Gerrit servers
It's been nearly two years since the new ICLA process was put in
place, so the file describing the old one doesn't really need to be
perpetually hosted on our code review servers.

Change-Id: If001290d033ba970281628fb462cb48c9fe7c207
2015-01-08 20:34:45 +00:00
Jeremy Stanley
28f659944e Workflow documentation is now in infra-manual
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.

Change-Id: I8aa32f5617a0331c116a703c45ae7f644f5b409a
2015-01-08 20:31:20 +00:00
Elizabeth K. Joseph
63d89ce86f Increase number of projects listed on git.o.o
We have almost 500 git repositories now, bump up number of repos
shown on git.openstack.org/cgit/ from 400 to 600 to show them all

Change-Id: I374ba5a54862030385a14656a762782fa9b684a3
2015-01-07 12:49:44 -08:00
Joe Gordon
813fd6d3d0 Add screen-n-cpu-1 to logstash
As for devstack patch Ia3843818014f7c6c7526ef3aa9676bbddb8a85ca if the
fake virt driver is used the n-cpu processes are named n-cpu-${i} where
i is 1 to NUMBER_FAKE_NOVA_COMPUTE.

Currently the name field is an exact match and we don't change
NUMBER_FAKE_NOVA_COMPUTE from its default value of 1. So in order to
start collecting n-cpu in large-ops again just add n-cpu-1.

Change-Id: I963675436d05fe9cd8bf5cc609130fe6e2b90a79
2015-01-06 13:07:42 -08:00
Monty Taylor
148a2a721a Make apt skip grabbing translations
It's a little thing probably, but one less thing to download is always
good.

Change-Id: I2e2e64efcc4181506b82f671757ad345ce4b3884
2014-12-18 09:08:47 -05:00
Matt Riedemann
3ce3ffb124 Index trove logs for logstash goodness
We should index the trove logs now that we have
gate-trove-functional-dsvm-mysql and it can blow up in great ways
throwing off our uncategorized bug percentages in elastic-recheck.

It doesn't look like trove is used in grenade runs so there are no logs
to index there.

Related-Bug: #1402227

Change-Id: I1c0d9a301d5bf40047b69ec64037df8c1ba3425f
2014-12-16 11:08:13 -08:00
Jenkins
7864761690 Merge "Prevents double-execution of ci_page_loaded" 2014-12-12 17:37:13 +00:00
Jenkins
37ef691a63 Merge "Run puppet even if git servers fail" 2014-12-12 17:11:50 +00:00
Jenkins
b69d15bd46 Merge "Correct keystone log links" 2014-12-12 16:58:43 +00:00
Jeremy Stanley
a20fb50be5 Disable cgit's dumb HTTP protocol endpoint support
* modules/openstack_project/files/git/cgitrc: The dumb HTTP protocol
support in cgit is an attractive nuisance and source of surprising
random errors for users who misconfigure their repositories to use
it as a remote. We provide a separate smart HTTP backend and
configure cgit to list that as the clone URL anyway, so the default
enable-http-clone is disabled to avoid further accidental use.

Change-Id: Iacc34ba51cd835f7e999b753e06ef6eea41630df
2014-12-10 18:45:27 +00:00
Brant Knudson
d74f80dcc0 Correct keystone log links
The keystone log link was pointing to the screen log when it runs
as eventlet. When keystone runs under Apache Httpd its logs are in
the apache directory, so correct the links.

Change-Id: Ib1f29be5ff3dda23317362f15d3b746909293a06
2014-12-06 08:43:02 -06:00
Sergey Lukjanov
07a3dec681 Fix bandersnatch config after using region local mirrors
Now we have access logs with region name in the file name.

Change-Id: If015bdd11e46db689382e44d31c08ccb55f63ebc
2014-12-02 09:39:37 +00:00
Monty Taylor
75c068f767 Put playbooks in a directory
Listing each of them individually in the puppetmaster.pp file is just
plain crazypants.

Change-Id: Ice621be7d62ec8ff5bc680cf24c237c38f8f30e5
2014-11-28 11:13:41 -05:00
Matthew Treinish
097322be25 Add support to log gearman client to filter on build-queue
This commit adds a new job filter to the gearman client to filter
based on the build queue. This is used for the subunit jobs which
we don't want to run on check jobs.

Change-Id: If81fe98d8d67bb718c53a963695a7d06f5f6625d
2014-11-19 09:42:47 -05:00
Matthew Treinish
9fc97e54f2 Rename subunit worker yaml file
The policy for the subunit workers expected a subunit yaml file named:
jenkins-subunit-worker.yaml however the filename had a typo which
prevented things from working. This patch fixes the filename.

Change-Id: I0638f1dcb18561580351959cb29ef2546850450f
2014-11-18 19:09:48 -05:00
Jenkins
7d67679fa4 Merge "Save last setting of Toggle CI button" 2014-11-18 14:53:12 +00:00
Jenkins
35803facb9 Merge "make -1s red in gerrit new screen" 2014-11-07 16:14:20 +00:00
Jenkins
bf9aeb18f7 Merge "Add subunit2sql gearman workers" 2014-11-07 15:41:12 +00:00
Jenkins
0719b30481 Merge "Monitor openstackid.org SSL X.509 cert expiration" 2014-11-07 15:14:44 +00:00
Sean Dague
a3faad5f6a make -1s red in gerrit new screen
the following css attribute selector will make -1s in the english
ui version of gerrit new screen be the color red. This is as good
as we can do today given that gerrit doesn't provide real classes
on things any more.

Reference on attr selectors: http://css-tricks.com/attribute-selectors/
(should work on all browsers > ie6)

A follow up will be to see if we can get proper semantic tags back
into gerrit for things like this.

Change-Id: I8236cf83b648bfe352daea1f3ae59c151068ab44
2014-11-07 11:10:41 +01:00
Davanum Srinivas
f6f58e169a Save last setting of Toggle CI button
Use the same trick used in zuul status page to store a cookie
with the last state so when we load another review, we use the last
setting to show or hide the CI comments.

Change-Id: If912b88c3ad68c1dcaa086ad76abb54ecf5b576b
2014-11-03 15:13:07 +00:00
Matthew Gilliard
90bfe69e4f Prevents double-execution of ci_page_loaded
As gerrit is a big JS-based webapp, traditional hooks for executing code
on page-load (window.onload and friends) don't get executed on every
page as a user is exploring the UI. Instead we rely on the appearance
and disappearance of the "working..." message to know when a user is
looking at a new page.  The test for this was not precise enough, which
was causing the ci_page_loaded function to be called twice on page load.

This patch changes the MutationObserver so that it only calls the
function once, by checking that it is the "style" attribute that has
changed. The other call was being triggered by a change to the
"aria-hidden" attribute.

Change-Id: If870d53b5760c140c84e5711ada94609a60e0cdb
2014-10-30 15:36:06 +00:00
Jenkins
ff55bbcbfc Merge "fix hideci for new change screen" 2014-10-29 18:31:09 +00:00
Jenkins
d29eaedfbd Merge "only show most recent results per pipeline" 2014-10-29 18:28:15 +00:00
Matthew Treinish
92b8981c1c Add subunit2sql gearman workers
This adds a new gearman worker to process the subunit files from
the gate job runs. It will use subunit2sql to connect to a sql
server and process the data from the subunit file. The
log-gearman-client is modified to allow for pushing subunit jobs
to gearman, and the worker model for processsing logs is borrowed
to process the subunit files.

Change-Id: I83103eb6afc22d91f916583c36c0e956c23a64b3
2014-10-29 13:03:49 -04:00
Sean Dague
e923601fdc fix hideci for new change screen
The previous hideci enhancements and refactor was not tested on the
new change screen, which sadly removes all the semantic markup around
the displayed changes (boo gerrit).

Do the base parsing based on the looping over the p tags as was done
in the initial version instead of matching divs by semantic tags. A
few of the parsing functions needs to be adapted to know if they are
on old vs. new change screen (like finding the date).

Spot tested locally with new and old change screen, seems to be
working.

Change-Id: Ieadfb78fa4d152d12cb64fc69d808fa510d28abd
2014-10-28 13:01:54 -04:00
Aaron Rosen
ad2ac25f9c Update pypi mirror to use pypi.dfw.openstack.org
The OpenStack infrastructure's PyPI mirror (pypi.openstack.org) shouldn't
be used for 3rd parties so setting the default to pypi.dfw.openstack.org
instead.

Change-Id: I7720ad7d3b23816c63e971112a3a733bde52b7f4
2014-10-28 09:06:01 -07:00
Sean Dague
d8af47ed4a only show most recent results per pipeline
Change hideci to only show the most recent results of a pipeline. For
entries where the pipeline is not parsable we default to assuming the
results were in the 'check' pipeline.

3rd Party CI systems are assumed to be 'check' pipeline for the
purposes of this patch.

Order the display of these results for parsed pipeline entries first,
then non parsed entries after. That has the impact of making all the
Jenkins results be the top of the page and 3rd Party come later.

Also provide a (### rechecks) comment if we find more than 1 result at
the current patch set number. This helps reviewers understand that
this patch might be unstable as it's been rechecked to get to the
current state.

Change-Id: I153f73000f9392af6c8bbe850716645b3ba836a0
2014-10-28 06:37:34 -04:00
Monty Taylor
6db6ba3724 Run puppet even if git servers fail
The current set of runs make the fleet depend on all git changes
working. The only thing we actually care about is that gerrit doesn't
get updated if git fails.

Change-Id: Id488e14c7dbaddfbffece7b1d8ef65f06b3688d8
2014-10-21 10:46:22 -05:00
Monty Taylor
b4b5724a0b Add AFS
I don't really think this needs any further explanation.

Change-Id: I41378bd320c6c6fad2c981d5cc773486af075c41
2014-10-20 15:13:14 -05:00
Jenkins
5dba0f5637 Merge "Clean up bashate failures" 2014-10-20 18:35:44 +00:00
James E. Blair
10c12fe979 Change opt/config to opt/system-config
Move the install location of the git checkout of the config repo
to /opt/system-config to make things more consistent for operators.

Actually moving this on the puppetmaster will be a manual step.

Change-Id: Id9297088ae6c76c02e35414433aae2733f9f639c
2014-10-17 12:14:35 -07:00
Anita Kuno
fdc120f080 Rename config => system-config in the logs/help/tempest files
We are renaming the openstack-infra/config repo to
openstack-infra/system-config. This patch changes the paths in
the tempest help files.

Change-Id: I5edb3e444b554a979d9274b7354ddd8c1b4b9128
2014-10-17 14:43:41 -04:00
Anita Kuno
bc667471d3 Rename config => system-config in pypi.yaml
We are renaming the openstack-infra/config repo to
openstack-infra/system-config. This patch edits the paths in the pypi.yaml
files to reflect the name change.

Change-Id: I40e417d31803d8e47e1558b7783e7216119e898d
2014-10-17 14:25:56 -04:00
Sean Dague
0ae5a809e1 the help files changed from _ to - at some point
However the help message didn't update, so it's harder to find
the source files. This fixes the help urls presented to the user.

Change-Id: I641cee0fe8494ad7ee712b4884e6767cc6ed15e2
2014-10-14 11:04:53 -04:00
Jenkins
de2977363b Merge "Add syslog tag to os-collect-config logs" 2014-10-09 02:39:29 +00:00
Jenkins
284d4ac74a Merge "Fix sudoers.txt.gz incorrect filename in link" 2014-10-08 21:26:40 +00:00