631 Commits

Author SHA1 Message Date
Clark Boylan
681e24d27d Treat unparsed inventory as a failure
We don't want to run ansible if we don't get a complete inventory from
our clouds. The reason for this is we cannot be sure that the ordering
of git servers, gerrit, and zuul or our serialized updates of afs
servers will work correctly if we have an incomplete inventory.

Instead we just want ansible to fail and try again in the future (we can
then debug why our clouds are not working).

From the ansible docs for any_unparsed_is_failed:

  If 'true', it is a fatal error when any given inventory source
  cannot be successfully parsed by any available inventory plugin;
  otherwise, this situation only attracts a warning.

Additionally we tell openstack inventory plugin to report failures
rather than empty inventory so that the unparsed failures happen.

Change-Id: I9025776af4316fbdd2c910566883eb3a2530852a
2018-09-12 15:09:21 -07:00
Colleen Murphy
002d0c33bc Revert "Revert "Turn on the future parser for storyboard-dev""
This reverts commit 701116dc9b05308b1fa7839590b6f16c5d71ae02.

Change-Id: I08ad7d55d0c88a9df51ac9d9716ae377a9a5d707
Depends-On: https://review.openstack.org/602092
2018-09-12 18:43:16 +02:00
Colleen Murphy
701116dc9b Revert "Turn on the future parser for storyboard-dev"
There is an ERB parsing error for puppet 4, roll back while we figure it
out.

This reverts commit a156accb7d2799cb76e263c927f6bcfaac3c22b2.

Change-Id: I1d2cd468a8d1ebab2573b03250bf6c3ba1195798
2018-09-12 17:52:00 +02:00
Colleen Murphy
f702d9c120 Turn on the future parser for survey.o.o
Change-Id: Id137f31cb11bd5ed8f75097fdc9225f0af0e1fb8
2018-09-12 00:13:35 +02:00
Colleen Murphy
232921dba2 Turn on the future parser for status.o.o
Change-Id: I24911373181a8957a4424f69b095bad67487ef34
2018-09-12 00:12:29 +02:00
Colleen Murphy
fbbb35deb5 Turn on the future parser for static.o.o
Change-Id: Ice5aa8c8299fae280b77a319ecab46a61ee7f767
2018-09-12 00:10:46 +02:00
Colleen Murphy
c32acacd18 Turn on the future parser for pbx.o.o
Change-Id: I9f0a73b0e638edfefa433bb670e219fb48c20f86
Depends-On: https://review.openstack.org/601749
2018-09-12 00:08:31 +02:00
Colleen Murphy
eccda01f74 Turn on the future parser for cacti.o.o
Change-Id: I98822d3524ad31fa3c888b08c92f6586fe1a87d5
2018-09-11 00:20:34 +02:00
Colleen Murphy
644d8ab502 Turn on the future parser for translate.o.o
Change-Id: I5a873aa62e72aa7713134d688eb52d1549a3139a
2018-09-11 00:20:34 +02:00
Colleen Murphy
0d4eff144a Turn on the future parser for translate-dev
Change-Id: I1b05def167c3336d7bce931a63d9336f54853ccb
2018-09-11 00:20:31 +02:00
Colleen Murphy
b2441cb3d5 Turn on the future parser for storyboard
Change-Id: I3db7e0954bdb56b8863d6aba993aa6f0563e333d
2018-09-11 00:20:10 +02:00
Colleen Murphy
a156accb7d Turn on the future parser for storyboard-dev
Change-Id: I342575863cf20e824e7d98908f7c7f6a5354fa8b
2018-09-11 00:20:10 +02:00
Colleen Murphy
f2768d69c0 Rewrite futureparser group in diff-friendly way
Change-Id: I5ccdc2398cb5e9090b18e72056b56beb21132ca4
2018-09-11 00:20:06 +02:00
Colleen Murphy
2348444327 Turn the future parser on for health.o.o
Change-Id: Ia030c7f56a964c9326c33539520f144bb23ddc17
2018-09-10 19:21:53 +02:00
Colleen Murphy
a9f8e5e493 Turn on the future parser for grafana.o.o
Change-Id: I18e06967788bee3dc5c49a4745937a3f60ba003b
2018-09-10 19:21:36 +02:00
Colleen Murphy
38c09f00ec Turn on the future parser for review and review01
We already turned it on for review-dev so let's flip the switch in
production.

Change-Id: I01427329ff38f512b3b2fbecbe17c44703283e46
2018-09-10 19:21:18 +02:00
Colleen Murphy
35dac205e2 Turn on the future parser for firehose.o.o
Change-Id: Ibccfd54bfca192004447eb031b332159afaa1f62
2018-09-10 19:20:57 +02:00
Colleen Murphy
d43b829374 Turn on the future parser for all logstash workers
Change-Id: Ic612bd738459107277218da92f73d65e0ddfa271
2018-09-10 19:20:39 +02:00
Colleen Murphy
d50840dd2e Turn on the future parser for logstash-worker01
Start with just one, if all goes well we'll turn it on for
logstash-worker\d*.

Change-Id: Iee91e801d8587f6cc4722c956122fd51654fa434
2018-09-10 19:20:09 +02:00
Colleen Murphy
568f4c7806 Turn on the future parser for planet.o.o
Tests are passing on puppet-planet

Change-Id: I89ebef8b92b07a3835f2695482fac0a64cc8796b
2018-09-10 19:19:51 +02:00
Colleen Murphy
3002212016 Turn on the future parser for paste.o.o
Tests are passing on puppet-lodgeit

Change-Id: I393dd8ca1441ca4ebe5f4b9a757c448c21242f99
2018-09-10 19:19:26 +02:00
Colleen Murphy
5663093aa3 Turn on the future parser for ethercalc.o.o
ethercalc doesn't have a dev site to use as a canary, but it does have
passing puppet 4 tests so go go go

Change-Id: Ifec4bf00d4c966653455e567abbdc9bd500ae2ef
2018-09-10 19:15:37 +02:00
Colleen Murphy
4d104f8127 Turn on the future parser for etherpad.o.o
Change-Id: Ic55210667d7158da0e889a291335c6de9ba5b29a
2018-09-10 19:15:21 +02:00
Zuul
5cb8af4744 Merge "Install limestone CA on hosts using openstacksdk" 2018-09-04 23:05:35 +00:00
Clark Boylan
24c67ecb0e Run puppet on mirror02 in packethost
We have made some mirror config changes that are not being deployed here
because we have disabled puppet on this node. I do not think we need to
disable puppet here so go ahead and reenable it.

Change-Id: If7da76d24ea64db3c038bc60f64fa39a4f5f6f72
2018-09-03 09:03:40 -07:00
Monty Taylor
eb086094a8 Install limestone CA on hosts using openstacksdk
In order to talk to limestone clouds we need to configure a custom CA.
Do this in ansible instead of puppet.

A followup should add writing out clouds.yaml files.

Change-Id: I355df1efb31feb31e039040da4ca6088ea632b7e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-08-31 12:17:35 -07:00
James E. Blair
09b1ff4bc3 Add system-config-run-eavesdrop
Add a job which runs testinfra for the eavesdrop server.  When we
have a per-hostgroup playbook, we will add it to this job too.

The puppet group is removed from the run-base job because the
groups.yaml file is now used to construct groups (as it does
in production) and will construct the group correctly.

The testinfra iptables module may throw an error if it's run
multiple times simultaneously on the same host.  To avoid this,
stop using parallel execution.

Change-Id: I1a7bab5c14b0da22393ab568000d0921c28675aa
2018-08-30 10:25:23 -07:00
Jeremy Stanley
f119cc5aab Correct inventory pattern for planet.openstack.org
The planet.openstack.org service is currently provided by the
planet01.openstack.org server, so correct the inventory pattern for
the webservers group accordingly. This was spotted as the firewall
rules for planet ceased allowing HTTP/HTTPS connections.

Change-Id: I4e3353e8f1a73db13c54dfe93a6a26fc618d2aa4
2018-08-28 19:01:19 +00:00
Monty Taylor
15663daaf7 Add iptables role
Co-Authored-By: James E. Blair <corvus@inaugust.com>
Change-Id: Id8b347483affd710759f9b225bfadb3ce851333c
Depends-On: https://review.openstack.org/596503
2018-08-27 14:33:32 +00:00
Monty Taylor
5cccc7a902
Add non-working hosts to disabled list
These hosts are not currently working with ansible from bridge. Let's
explicitly disable them so that it doesn't look like issues are
happening.

Change-Id: Iaad69df2d8666285f12f201e2c9913e84bde9a26
2018-08-20 11:03:55 -05:00
Monty Taylor
03d09b777e
Use openstack and groups inventory from system-config
Rather than copying these out of system-config inside of
install-ansible, just point the ansible.cfg to them in the system-config
location. This way as changes come in that have group updates we don't
have to first apply them to the system.

Change-Id: I1cefd7848b7f3f1adc8fbfa080eb9831124a297b
2018-08-17 11:47:13 -05:00