10371 Commits

Author SHA1 Message Date
Jenkins
7b501bea51 Merge "Remove bare-precise from nodepool-builder logging" 2016-05-11 19:33:26 +00:00
Jenkins
12bdfd3fd6 Merge "Also mirror extras for centos-mirror-update.sh" 2016-05-11 17:59:44 +00:00
Jenkins
5bbfccff34 Merge "Enable vos release for mirror.centos" 2016-05-11 17:43:16 +00:00
Paul Belanger
86b2f0edd5
Also mirror extras for centos-mirror-update.sh
We use extras is enabled by default, so we'll need to mirror it too.

Change-Id: Ib33aa49d58d2a71062dd82bbcdbffd736e221590
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-05-11 12:51:26 -04:00
Paul Belanger
b494cfb47b Enable vos release for mirror.centos
Now that we have done our initial vos release of mirror.centos, we can
enable it again on mirror-update.o.o.

Change-Id: I71f095e7a0949f5d9c7d18a1e64b9b28d70b6cae
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-05-11 09:14:35 -07:00
Joshua Hesketh
19025e51db Allow 3rd party CI's to have same pipeline names
The hideci script previously tried to look up the pipeline of a CI
comment by parsing the typical format (from zuul). It would then
group on this pipeline name and consider multiple comments in one
pipeline to be rechecks.

This doesn't work when two different CI's both use the same pipeline
name. Only the latest CI would be shown.

Instead consider each CI+pipeline to be unique.

This change calls each CI in the results table by "CI Name + Pipeline".
Previously if no pipeline was supplied (eg if not using zuul),
"CI Name + 'check'" would be used. Now just "CI Name" will be displayed.

Change-Id: Ie0f90efeba95ab510dacfb6a0cbe437e9ad2afe0
2016-05-11 22:42:26 +10:00
Joshua Hesketh
ce7d4b3748 Further fixes for bandersnatch
There are a couple of edge cases with the recent PEP503 workaround
where packages with both .'s and -'s in the name are unable to be
translated to their old 'safe names'.

Add specific workarounds for known packages.

Change-Id: I72bbdd4af7200f8565d7c6b7fa6d3f268c783b24
2016-05-11 21:11:25 +10:00
Joshua Hesketh
c640ca2d97 Work around bandersnatch not supporting pep503
Temporary work around so our mirrors work with the latest pip release
that expects .'s to be replaced with -'s.

This is crude but considered easier than pinning pip across our services.
It may miss some edge cases so we'll see how it goes.

This should be reverted once bandersnatch supports pep503:
https://bitbucket.org/pypa/bandersnatch/pull-requests/20/fully-implement-pep-503-normalization/diff

Change-Id: Ic4acf4c1d4e78d2524ea49356c61916947fd9a3d
2016-05-11 19:05:32 +10:00
Paul Belanger
26d08d29e7
Remove bare-precise from nodepool-builder logging
Change-Id: I607c95f4a9170d2d10106453deb58d7ffddb6db9
Depends-On: Iae3d0e28d39a69dd6626a6e9a6493bf868f8fe38
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-05-10 20:17:09 -04:00
James E. Blair
01838103b5 Revert "Start using read/write AFS volume for PyPI mirror"
This reverts commit 4e5a0dc4586d313b8692e8f9600ab7be640590da.

The read only volumes are happy again.

Change-Id: I78dca90b103153cc8a7dd21b6df99bb3875d41a7
2016-05-10 15:55:03 -07:00
Paul Belanger
2b0fed20ea
Fixes needed for centos-mirror-update
We needed to update our rsync flags because we are seeing issue with
chown / chgrp. Additionally, hard-linking is problematic.

Add missing k5start for mkdir.

Update crontab with missing mirror name.

Change-Id: I9addeae6a6ccf86684d3d5ebd42d4f8d96a9b916
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-05-10 16:41:34 -04:00
Paul Belanger
c3fc2462a4
Fix typo with pts commands for service user
Change-Id: I4c116b6087000e59c084b8ecfb6dd48146f16aee
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-05-10 14:37:05 -04:00
Jenkins
7ae6cbb5ab Merge "Initial commit for CentOS AFS mirror" 2016-05-10 17:48:44 +00:00
Jenkins
6c21d3a340 Merge "Added clean exit hooks to npm registry script" 2016-05-10 16:20:54 +00:00
Jenkins
22d3a38c8d Merge "Always apt-get update after replacing sources" 2016-05-10 16:02:32 +00:00
Jenkins
cf9ac5c906 Merge "Properly handle volumes in launch node" 2016-05-10 15:52:20 +00:00
Jeremy Stanley
29fb53f95b Always apt-get update after replacing sources
To avoid an unfortunate bootstrapping race, make sure we always run
`apt-get update` after replacing the sources list but before any
packages are installed.

Change-Id: I30b9cb3d6cbfa5df59dd1c1eef88bf486f96a52c
2016-05-09 21:24:22 +00:00
Paul Belanger
504605086d
Initial commit for CentOS AFS mirror
This is the first step to getting an AFS mirror for centos going. We
still need to add RPM validation and enabled automatic vos release.

However, this will atleast enabled us to do the initial import of the
RPMs into AFS which will take a few days to mirror properly.

Change-Id: Ic3b0ca5f5c9321b7e5048f4000ca58266d117083
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-05-09 12:46:52 -04:00
Jenkins
b4214e0592 Merge "Add post queue jobs to subunit collection" 2016-05-09 06:40:57 +00:00
Jenkins
157b9a0de1 Merge "Add FIP cleaning script" 2016-05-09 06:30:56 +00:00
Jenkins
b4b4a81de7 Merge "Document read-write afs volumes" 2016-05-08 14:11:39 +00:00
Jenkins
2514732d66 Merge "Add #openstack-vitrage to meetbot" 2016-05-07 14:01:02 +00:00
Jenkins
923cd6ba1a Merge "Add Zara to users" 2016-05-07 13:57:06 +00:00
Jenkins
ffa0bf7ce4 Merge "Fix typo in debian-ceph-hammer log files" 2016-05-07 02:43:36 +00:00
Monty Taylor
cada3ba846 Add FIP cleaning script
While it's hopefully not useful for much longer, this is the script that
safely cleans FIPs from nodepool clouds that use neutron FIPs.

Change-Id: I6f6f2c5f119a40060f46ea1f244a65601f8b7bb9
2016-05-06 19:43:35 -07:00
Jenkins
ef95f6f410 Merge "Use double quotes around bash variables" 2016-05-06 19:03:33 +00:00
Jenkins
8f649dc961 Merge "Minor documentation tweaks" 2016-05-06 17:52:28 +00:00
Zara Zaimeche
185187f2f8 Add Zara to users
Change-Id: I3bc4b5ae634061080bf1c8391c4066f5da35c382
2016-05-06 12:25:45 +01:00
Jenkins
dcc683396c Merge "Remove statusbot from meeting channels" 2016-05-06 07:06:58 +00:00
Jenkins
001c04d2a0 Merge "Revert "Fix URL detection in testresult match"" 2016-05-05 20:19:43 +00:00
Andreas Jaeger
a4b42f9dac Revert "Fix URL detection in testresult match"
The new regex shows all jobs - but it does not show anymore Success/fail and the job run times.

This reverts commit 48e8f7e93739bf6ce50e9087c8085a80c76dcdf1.

Change-Id: I99896753342a9082f922df645ece82c5a8af78e7
2016-05-05 19:26:18 +00:00
Jenkins
f17a1ae4b3 Merge "Remove infracloud from ansible inventory" 2016-05-05 18:36:55 +00:00
Jenkins
b43bc9c847 Merge "Add ubuntu-precise logging to nodepool-builder" 2016-05-05 16:12:11 +00:00
Jenkins
79321d5c2e Merge "Remove devstack-centos7 logging for nodepool" 2016-05-05 16:08:39 +00:00
Jenkins
e25904ff5f Merge "Start using read/write AFS volume for PyPI mirror" 2016-05-05 13:23:54 +00:00
Paul Belanger
7331598762
Add ubuntu-precise logging to nodepool-builder
Change-Id: I0d884456daaa6844251a421ba02746177ea9548d
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-05-05 07:53:42 -04:00
Jenkins
c32f5009f1 Merge "Run ansible-playbook in timeout" 2016-05-05 07:37:50 +00:00
Monty Taylor
4e5a0dc458 Start using read/write AFS volume for PyPI mirror
The vos release on AFS for PyPI is in a bad place emotionally right now.
So as not to stress it out too much more, stop vos releasing until we
can get it fixed. Also, point the AFS client mirrors to the read/write
path instead of the read only path so that the gate can get PyPI updates
again.

Change-Id: I5d9ac9cc56c16dacad22c1da157cad7f5480c301
2016-05-05 07:44:35 +02:00
Jenkins
51f304af2c Merge "Allow root logins from localhost" 2016-05-05 04:22:03 +00:00
Clark Boylan
6fcc8d3f26 Upgrade elasticsearch to 1.7.5
There have been a couple bug fix release between latest 1.7.x and 1.7.3
which we are running. Pull in this fixes in hopes that it makes shard
allocation more reliable.

Change-Id: I48f46663c73cb178ca3cf95a166b3df2ea121459
2016-05-04 12:06:58 -07:00
Jenkins
5d281a742b Merge "Fix URL detection in testresult match" 2016-05-04 19:02:01 +00:00
Ian Wienand
48e8f7e937 Fix URL detection in testresult match
This regex dates from the original commit
(Idb4ad8e6079165d681271987a92cab5d8b7c81be) where I think the negative
matches are intended to stop matching between groups.

I don't think this is necessary.  In particular, the negative match on
the last group ($4) means that it will not match if there is a URL in
the free-form text portion.

I've simplified this and also added some comments to make it clear
what it is looking for.

Change-Id: I863d88e9a7ed2fd41924b8fc4a12dbea3ee2b205
2016-05-04 20:21:50 +02:00
Paul Belanger
4fc49fc85c
Check for both curl and wget for puppetlabs deb
As a host may not have wget add logic to try curl too.

Change-Id: I9a2ffeff08926eec5f4fee04fde0ddcc19004493
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-05-04 12:39:02 -04:00
Ifat Afek
02632a4e1d Add #openstack-vitrage to meetbot
openstack-vitrage IRC channel is used by Vitrage project for IRC communication. We would like to log this channel.

Change-Id: Ifcb62a0d1a5474817028a7418b0431d32a5808bf
2016-05-04 14:59:50 +00:00
Spencer Krum
4f768fb10e Remove infracloud from ansible inventory
We can readd them when they return
Running ansible in ad-hoc mode against 'all' hosts causes many errors
because these hosts don't exist any more.

Change-Id: If095df0811ca6d2fc04542044958055b9b835170
2016-05-03 09:52:01 -07:00
Paul Belanger
6b1c661a1b
Remove devstack-centos7 logging for nodepool
Change-Id: I445abfccd10f532142a57cb754e7f7785ae091d3
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-05-03 12:33:43 -04:00
Monty Taylor
75f069ee0f
Allow root logins from localhost
In addition to enabling root logins with host matches in sshd config, we
need to put localhost into the key options line.

Change-Id: I09c4120f152fd69b54cad259394721d208efdb23
2016-05-03 08:47:11 -05:00
Spencer Krum
ec4d6cfbeb Run ansible-playbook in timeout
We need this in case it is oomkilled

Change-Id: Ia405dd800850ad46e3e11696079012dfc34a06ea
2016-05-02 18:48:38 -07:00
Clark Boylan
ba4429022b Properly handle volumes in launch node
We can only get the volume attach device if we are attaching a volume.
Check if the volume is being attached and only determine the attachment
location in that case to avoid errors.

Story: 2000569
Change-Id: I4adc5e23abdfc0627a0850f845e2333d3bd25e63
2016-05-02 15:04:57 -07:00
Spencer Krum
1d540a2ecb Add directory resources to puppetdb module
I think that the puppetdb module expects the package to do this work,
and that's why it doesn't do this for us. There may also be an issue
with the puppetdb module setting up a config file under /etc and the
puppetdb application looking for a config file under /opt/puppetlabs

Change-Id: Ide2b3a5841ac07fd7e154e8d26ce0b036f734a41
2016-05-01 12:59:41 -07:00