10152 Commits

Author SHA1 Message Date
James E. Blair
ecc52c06e2 Remove pypi hosts from cacti
They have been deleted.

Change-Id: Ia10de23455195445eed76af8af1bf376c920d8ea
2016-03-11 15:26:12 -08:00
James E. Blair
11ee9578ad Remove pypi ansible group
These servers don't exist anymore.

Change-Id: I90df6649c7360c4a1459c841ee05efbf8c92f20c
2016-03-11 15:24:35 -08:00
Clark Boylan
1260435c05 Don't install ES on logstash workers
Now that we are running logstash 2.0 the logstash daemon can talk to
elasticsearch directly and load balance across the cluster. This means
we don't need a local elasticsearch daemon to do that for us. The big
savings here is in memory so stop installing and running elasticsearch
completely on the workers.

Note this will not uninstall an existing ES install you will need to
clean that up if a preexisting install is present.

Change-Id: I9b622674a74a26e7c3024e684e05291f43aec021
2016-03-11 13:37:20 -08:00
Jenkins
78298da6e3 Merge "Revert "Pin pip to less than version 8 in install_puppet.sh"" 2016-03-11 17:22:01 +00:00
Jenkins
337e9749a3 Merge "Remove interpret_puppet_exitcodes" 2016-03-11 13:36:53 +00:00
Jenkins
bea895cd62 Merge "login.defs/redhat: set SYS_UID_MIN and SYS_GID_MIN" 2016-03-11 12:49:28 +00:00
Jenkins
7bb7badc48 Merge "Add roles for CI users" 2016-03-11 11:31:44 +00:00
Jenkins
7ae85a3dbc Merge "Fix file link to groups.txt in sysadmin docs" 2016-03-11 11:23:38 +00:00
Jenkins
1818e513c6 Merge "Add a simple LP OpenId reverse lookup utility" 2016-03-11 11:03:50 +00:00
Clark Boylan
85d319d9e9 Use ruby 1.8 compat erb for logstash config
The old logstash config was not ruby 1.8 compatible and we got funny
results out of it. This version should work with ruby 1.8 and beyond.

Change-Id: Ibe824dda7c96e5b333329ce25f65a14d3ebdef9c
2016-03-10 15:16:04 -08:00
Jenkins
4978adf39e Merge "Logstash 2.0 compat ES output rule" 2016-03-10 22:22:20 +00:00
Jenkins
1b8d12dcf4 Merge "Add storyboard exim router/transports" 2016-03-10 20:59:58 +00:00
Jenkins
6ec9b65a19 Merge "Move statusbot_auth_nicks to hiera" 2016-03-10 20:59:13 +00:00
James E. Blair
891a0b6488 Add storyboard exim router/transports
Configure routers and transports for storyboard based on
Mailman-style VERP addressing.

Messages accepted on the localhost interface with a sender address
matching "*-bounces@" (eg, "storyboard-bounces@storyboard.openstack.org"),
will be sent out with VERP addressing (eg
"storyboard-bounces+user=example.com@storyboard.openstack.org).  This
way storyboard can perform bounce processing on messages it receives
back to that address.

Messages addressed to either "storyboard@", "storyboard-bounces@",
or "storyboard-bounces+user=example.com@" will be delivered to storyboard
by calling the '/path/to/storyboard inject $localpart' command.
Storyboard may then parse the message as appropriate.

Change-Id: I854006c19b22b233bae5017e4ad04c10a37e0adc
Depends-On: Id4f69580eb126d058ee699f4e7bfdb01cfc7409c
2016-03-10 11:29:15 -08:00
Clark Boylan
1fa20ffef6 Logstash 2.0 compat ES output rule
Logstash 2.0 defaults to HTTP elasticsearch output which means that the
elasticsearch output (no _http) does HTTP and a new elasticsearch_java
output exists if you want to continue doing the native api output. We
had been doing HTTP so just need to update the output name. The host
parameter is also deprecated and you must pass an array to the hosts
parameter instead so update that as well.

Note that this switches from using a local ES daemon to talking to the
cluster itself directly because new logstash is able to load balance
over http. This reduces the overhead necessary to have resilient ES
connections.

Note this is not compatbile with Logstash 1.3.3 which is what we are
currently running so this change should only go in as part of an upgrade
to Logstash 2.0 and beyond.

Change-Id: I788ecb936f9fa5a006332ed626f90c33a255d9bf
2016-03-10 09:58:53 -08:00
Jenkins
4ae6a3138b Merge "Add sysstat and iotop to all hosts" 2016-03-10 17:19:43 +00:00
Jenkins
c4d1de7b73 Merge "Cacti: add hosts to alternate graph trees" 2016-03-10 17:05:49 +00:00
Jenkins
799be23ebf Merge "Customize cgit max-repo-count and set it to 1500" 2016-03-10 17:04:25 +00:00
Jenkins
4efacbf741 Merge "Remove QA health link from status page" 2016-03-10 16:31:55 +00:00
Jenkins
cb4a9fa55f Merge "Upgrade grafana to 2.6.0" 2016-03-10 16:14:54 +00:00
Monty Taylor
8a1d7a5ab6 Remove interpret_puppet_exitcodes
This is dead code now. The equivilent function is now in
openstack-infra/ansible-puppet

Change-Id: I7ba2f0b9da720b72a0a97b27a43a873b29c41ed8
2016-03-10 09:31:50 -06:00
Jenkins
b0f3f83eac Merge "Add periodic pipeline test result to infra docs" 2016-03-10 15:29:58 +00:00
Jenkins
af4435ef99 Merge "Decouple openstack_project::server from puppetdb class" 2016-03-10 15:29:03 +00:00
Jenkins
d15d664911 Merge "Use set-hostnames playbook in launch-node" 2016-03-10 14:51:21 +00:00
Jenkins
61f0dc05b3 Merge "Zero out the inventory cache instead of removing it" 2016-03-10 14:50:22 +00:00
Jenkins
ef355f2529 Merge "Retire old launch-node.py" 2016-03-10 14:49:20 +00:00
Jenkins
7b2464f913 Merge "Remove pabelanger from asterisk and stackalytics" 2016-03-10 09:40:42 +00:00
Jenkins
16ebe22b1b Merge "Add pabelanger to infra root" 2016-03-10 09:39:23 +00:00
Jenkins
1642afdaae Merge "Update for ansible and puppet apply" 2016-03-10 08:51:30 +00:00
Jenkins
4455cd8bcb Merge "Make the shade cache and groups writable by admin" 2016-03-10 08:50:39 +00:00
Monty Taylor
3eb4a5a66a Use set-hostnames playbook in launch-node
We have a playbook that does the logic of setting the hostname. Rather
than implementing that logic in launch-node - just use the playbook.

Change-Id: I1a6c0ff12803bdac35631cb3bb2c8fe70cbd1904
2016-03-10 09:48:34 +01:00
Jenkins
cfb65757ef Merge "Add a playbook and script for doing adhoc puppet" 2016-03-10 08:43:38 +00:00
Jenkins
262d0c4e7e Merge "Fix manual puppet run command docs" 2016-03-09 20:46:13 +00:00
Jenkins
4ae6b25569 Merge "Reinstall requests on Fedora builds" 2016-03-09 20:42:28 +00:00
Monty Taylor
cdead64021 Zero out the inventory cache instead of removing it
https://github.com/ansible/ansible/pull/14882 landed, so the inventory
will understand that an empty cache means the inventory needs
refetching. Zero out the file, and start consuming inventory from the
master branch of ansible since mordred controls that file anyway.

Change-Id: I2a4f4b21c50bfa94a229dd109e3d21f47552f0a1
2016-03-09 14:23:54 -06:00
Monty Taylor
f94594a98e Retire old launch-node.py
It has served us well, but it's time for the new world order to take
over.

Change-Id: I72a9f1b1c0f1bd331b5f862f5f69966950ffe963
2016-03-09 14:23:54 -06:00
Monty Taylor
e14471dcc6 Update for ansible and puppet apply
Shade supports all of the TODO items in here now, so use it. Also,
we have ansible playbooks that do the work of running puppet - and since
we're on puppet apply now, we can use them.

Change-Id: I6f57e9a31bf835ef2e22db1f5531d92e99806cf4
2016-03-09 14:23:54 -06:00
Monty Taylor
8b3bb61ae7 Make the shade cache and groups writable by admin
In order for individuals to be able to run launch node commands without
becoming root, make these group owned and group writeable by admin.

Change-Id: I0a2fa336919be24d41a6a9c0a88b91a87536cbcc
2016-03-09 14:23:54 -06:00
Monty Taylor
e8e201cc75 Add a playbook and script for doing adhoc puppet
Running puppet remotely in an ad-hoc manner on disabled hosts is mildly
complex. To facilitate, have a wide open playbook that we always run
with --limit - and a shell script to help us type less.

Change-Id: I629072dcada38d0465d351b1b99828466405372f
2016-03-09 14:23:49 -06:00
James E. Blair
60ffbab63b Fix manual puppet run command docs
Change-Id: I642ad27657806403431ff109afbea8b12f2ab6d9
2016-03-09 14:22:02 -06:00
Paul Belanger
b90eca9bcb Remove pabelanger from asterisk and stackalytics
This is no longer needed as pabelanger is now an infra-root.

Change-Id: I6939c2ee9e3662c08441dd0ddad3e84a47bd0192
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-03-08 16:26:37 -05:00
Paul Belanger
d0e31f72f4 Add pabelanger to infra root
I have read
http://docs.openstack.org/infra/system-config/sysadmin.html#ssh-access
and agree to follow the requirements documented there.

Change-Id: Ib97b77c8901eac65bf91ec1e1d178d21d2d87443
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-03-08 14:57:21 -05:00
Jenkins
0b6a80ad1d Merge "Add vexxhost mirror to documentation and cacti" 2016-03-08 15:15:49 +00:00
Jenkins
d105f52f13 Merge "Allow the review history panel to resize" 2016-03-08 10:16:41 +00:00
Jenkins
32f8146f44 Merge "Upgrade infra-cloud to liberty" 2016-03-07 19:15:50 +00:00
Clark Boylan
e2404a45a2 Use osic-cloud1
Due to the possibility for multiple OSIC clouds we need to distinguish
between them in our clouds.yaml. Do that now before it becomes a problem
later and refer to the current cloud as osic-cloud1.

Change-Id: I3f35db2911a44200f0486e71fc215d021aa7c227
2016-03-04 15:37:49 -08:00
Jenkins
032b0d641f Merge "Verify SSL with OSIC" 2016-03-04 23:25:22 +00:00
Clark Boylan
8818183c33 Verify SSL with OSIC
OSIC now has DNS configured with a proper verifiable certificate so use
it.

Change-Id: If09d716b8aa466678fffd5bdddc176fbaaf7b949
2016-03-04 13:25:29 -08:00
Elizabeth K. Joseph
359b7d48b9 Customize cgit max-repo-count and set it to 1500
The max-repo-count setting in the cgitrc adjusts how many repos should
be displayed on each page. In the puppet-cgit module we have a default
of 600, which was intended to be enough for all the repos to be shown
on git.openstack.org without a second page. We're now at over 1,000
repos, so you now need to page through them and this is not an optimal
experience. Since cgit can handle loading thousands of repos on the
main page, add the setting to our local configuration and bump it up
to 1500.

Change-Id: I7a2ea185f0876806ecfd17bedd84dbcd9769b124
2016-03-04 13:12:40 -08:00
Paul Belanger
93ab8feca6 Move curl to jenkins_common.pp
After switching to ubuntu-trusty and project that use
other-requirements.txt for bindep, log uploads will fail.  So rather
then forcing all projects to include curl in other-requirements.txt,
we'll install it with puppet.

Our entry point is ::openstack_project::single_use_slave.

Change-Id: Icade064bd32c2179836f4d1c3d2ec91425422d02
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-03-04 14:28:03 -05:00