Commit Graph

91 Commits

Author SHA1 Message Date
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 bab6fcad3c
Remove base.yaml things from openstack_project::server
Now that we've got base server stuff rewritten in ansible, remove the
old puppet versions.

Depends-On: https://review.openstack.org/588326
Change-Id: I5c82fe6fd25b9ddaa77747db377ffa7e8bf23c7b
2018-08-16 17:25:10 -05:00
Paul Belanger a376c9db5a Fix another cacti dependency issue with /var/lib/cacti
Seem there is a race on xenial where we try to populate /var/lib/cacti
before it is created.

Change-Id: I179e2e2d9d4f9df53aace172950af66aed92efad
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-12-14 21:42:24 +00:00
Paul Belanger a304c5a718
Fix dependency issue with cacti package
Right now the cacti package setups up the /usr/local/share/cacti
directories. So we need to make sure cacti is installed before we
start adding files into those directories.

Change-Id: I99bbf0a71e140380636419c4200d9f4662f5311e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-12-14 11:32:54 -05:00
Clark Boylan 0293b260d9 Reduce cacti updates cron spam
The current process to udpate cacti hosts is fairly chatty. It basically
goes in and just tries to update every host there and if they exist that
generates a bunch of output which is then emailed to infra roots. This
information is potentially useful for debugging so keep it around in
local cacti host logs. These logs will then be rotated with a week of
retention.

This should help make our inboxes happier.

Change-Id: Ib03ef7b22083a2a2454715bd5229313b19b84ae9
2017-12-12 14:00:08 -08:00
Joshua Hesketh 71e5b16776 Add listen ports to cacti
The apache puppet module determines what ports to listen to by using
provided ports from calls to apache::vhost. Before
Ib282dd506a5086cfca5c8400bf27cca10099f59d the default vhost would
cause apache to listen on 80+443.

Since we use a custom vhost template we either need to add the listen
directive there (not preferred) or instruct puppet-apache to manage
its ports.conf.

Change-Id: I84760c1d7e823a34f6253c80022134ec568a0468
2016-07-19 16:42:30 +10:00
Jenkins 694c658804 Merge "Disable default site for cacti" 2016-07-19 00:04:15 +00:00
Joshua Hesketh e98a3355c5 Disable default site for cacti
The apache module places a default vhost to /var/www/html which
stops the rewrite to cacti from working. Disable this vhost.

Change-Id: Ib282dd506a5086cfca5c8400bf27cca10099f59d
2016-05-26 14:54:01 +10:00
James E. Blair 0c0220dcbf Add VirtualHost to cacti vhost
It was missing the actual <VirtualHost> tag, which means that it
would lose out to the default vhost file that puppetlabs-apache
creates.  This may have behaved differently on apache2.2, but
it is certainly a problem on apache2.4 now that we have upgraded
to trusty.

Change-Id: I750ea9b8625d8d240616ce8306da81bcee832c95
2016-05-25 12:05:24 -07:00
Jenkins 59ae7843d9 Merge "Migrate cacti.o.o to trusty" 2016-05-23 16:45:32 +00:00
Spencer Krum f740f8dc70 Run cacti's node generation from cron
Change-Id: Id1220d83f78b5e60cb93c2343e59ca84ce3521e0
2016-03-08 12:14:59 -08:00
Paul Belanger 49567918f5 Migrate cacti.o.o to trusty
The time has come to migrate cacti.o.o from Ubuntu Precise and Ubuntu
Trusty.

Change-Id: Ia67ddb07baeaa19eaa47962d26ddba46a8fee6d3
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-02-25 13:43:30 -05:00
Spencer Krum d13bb31303 Move cacti hosts to hiera
Lists of hosts is data, not code

Change-Id: Iee1912d9031d76b06e613b5a4d095b53ca93b46d
2015-12-30 14:44:49 -08:00
Evgeny Antyshev 4e1b8cd90a Use httpd::mod instead of httpd_mod
httpd::mod is a high-level wrapper around httpd_mod,
and, since it is used, e.g. in puppet-jenkins and puppet-zuul,
it should be uniform across all puppet projects,
to be able to properly detect
whether Httpd_mod instance defined, like below:

if (! defined(Httpd::Mod['rewrite'])) {
    httpd::mod { 'rewrite': ensure => present }
}

Change-Id: I2b453b6f15d80bba9b1c29bc0d35651cfae05427
Depends-On: I69e7f9c54d06d7f98b50fdc7d5a67dd10e3e0050
2015-12-08 15:00:14 +00:00
James E. Blair e4ffc46b9b Add BHS1 pypi mirror
Change-Id: Iaf4ba9aca88a49d32987056e42c2d029f25cb614
2015-11-25 13:11:02 -08:00
James E. Blair 23d9b3d339 Add internap pypi mirror
Change-Id: I4802b2fe69a98a99295913100b0214bca3bc6fd8
2015-11-18 10:29:10 -08:00
James E. Blair 6d9c4eee3a Rename sjc1 mirror to regionone
Current pypi mirror selection uses the actual cloud region from
nodepool, so the attempt to hide the default region name used by
bluebox does not work here.  In the future, we will alter the
format of pypi mirrors to something like
mirror.<region>.<cloud>.openstack.org, but that's a bigger job.
Today, just go with regionone so we can start using bluebox.

Change-Id: I575d3982a2c335054511492b1e664cfd17ab392a
2015-11-11 09:27:23 -08:00
Paul Belanger bb0881f91d Create stackalytics.o.o under -infra
Change-Id: I9afa912abee38fb2732e97df06d72788b57d53df
Depends-On: If62b3f633000cc6380d892cad0a2160136ce8ca4
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-11-04 18:14:25 -05:00
Jenkins 265eb98f93 Merge "Add status.o.o to cacti" 2015-10-24 23:24:41 +00:00
Matthew Treinish 716707d50c
Add status.o.o to cacti
It'd be nice to see what load is like on status.o.o, this commit adds
it to cacti.

Change-Id: I68fba2f0181bde4344590ca8ce6a33d11c632af2
2015-10-22 14:55:46 -04:00
Matthew Treinish 6dd38a0dd1
Add health.openstack.org to cacti
This commit adds the health.openstack.org server to cacti. We need to
be able to monitor this api server to see if there are any load issues
which will prompt us resize up to a larger flavor.

Change-Id: Ic27c61493c081fda24880b076cb7f3c491720624
2015-10-20 22:10:25 -04:00
James E. Blair ad394f551c Add Blue Box mirror to docs, cacti, and node config.
This is safe to land before it exists, and doing so will mean that
the correct pypi config will be in place on images.

Change-Id: Ib025d86d5371f0953fc57c425632bab28788f106
2015-10-13 17:29:42 -07:00
James E. Blair dd55bf0906 Add pypi.gra1 to graphite
Change-Id: I6375a3d7c708e86f041b2fc0a08399d72774b108
2015-09-16 10:34:41 -07:00
Elizabeth K. Joseph 308c23ee47 Add translate servers to cacti
Add both the production translate.openstack.org server and
translate-dev.openstack.org to cacti.

Change-Id: Ice20f91dcc081fb348e1eacec1196267d03c2630
2015-09-15 09:37:17 -07:00
Jenkins 511b061bf9 Merge "Add grafana node into cacti.o.o" 2015-08-08 00:20:06 +00:00
Paul Belanger dc81e2816f Migrate to puppet-httpd module
puppet-httpd is the openstack-infra module for of puppetlabs-apache (0.0.4)
release.

This patchset will remove the puppetlabs-apache namespace from -infra
allow for possible future patchsets to use newer puppetlabs-apache
modules.

Change-Id: Id9f08de5ca32eac884a01f11a2cf34e1044d3048
Depends-On: I4f4648538801a60f45b28cedc73b24d8905cfe14
Depends-On: Ifcc60d173430e30159aa794e5adb5ba71107e647
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-08-05 13:47:16 -04:00
Paul Belanger eab45b1a86 Add grafana node into cacti.o.o
Change-Id: I28d7e54c0c3872a5c0a2d65c4b4382db6e9ed9ff
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-08-05 12:23:26 -04:00
Jeremy Stanley 945b7eb2a2 Add proposal and release workers to cacti
Change-Id: I297964ebb08347a0eb9d06d214d070aeedb8dd1d
2015-07-03 18:26:58 +00:00
Jenkins 244a9e5f8d Merge "Add apps.openstack.org to cacti" 2015-07-01 12:09:10 +00:00
Jenkins 199079694f Merge "Alpha-sort the cacti host list" 2015-07-01 12:07:15 +00:00
James E. Blair c31230e92f Add git0{6,7,8} to cacti
Change-Id: I0b1a31d15637de9990cf8fb3522eb59325e713c7
2015-06-26 17:03:06 -07:00
Jeremy Stanley 3413ce3b6c Add apps.openstack.org to cacti
New apps.openstack.org server, we should track/trend its resource
consumption to make sure we've sized it appropriately.

Change-Id: I303172a4ec16a3b6900920d238d5872f43a5b5e9
2015-06-22 20:26:59 +00:00
Jeremy Stanley 0746a7d162 Alpha-sort the cacti host list
This list is pretty long now, and was mostly-but-not-quite sorted.
Fix the mostly-but-not-quite bit.

Change-Id: Ic71ea0aeb1336b17471dfadaa26c09e5e024787e
2015-06-22 20:24:45 +00:00
James E. Blair 9a015b0d18 Replace git-fe* in cacti with git.o.o
We are replacing the round-robin pair with a single host.

Change-Id: Iaab11ef1bc89bf33477d09e421b6da0cfcd9a4d5
2015-06-20 15:22:22 -07:00
James E. Blair 261fa09059 Add ask.o.o to cacti
Change-Id: I8949e2c5867af7dde05ba2040f6e5908e3ff73d4
2015-04-12 13:54:29 -04:00
Jenkins 874cfa42b9 Merge "Add missed pypi mirror hosts to cacti" 2015-01-29 13:50:32 +00:00
Stefano Maffulli deee2ecd21 Remove community.openstack.org from the list of server
This host seems not to be in use by anyone.

Change-Id: I420a964d34dc90bc64a5fdb817b3013535df5114
2014-12-17 17:38:08 -08:00
Clark Boylan d2e0ad9873 Add new git haproxy frontends to cacti
Change-Id: Ifc419af2c4f69c54ad6add56d9176e366e92828c
2014-12-09 15:39:59 -08:00
Sergey Lukjanov 03604d2065 Add missed pypi mirror hosts to cacti
Change-Id: Ie8aa1bb3eeb168bb7b3c2bf632e1b01218e61dd8
2014-12-02 13:14:58 +03:00
Matthew Treinish 120688584a Add subunit-worker01 to cacti
When the first subunit gearman worker was added it wasn't added
to cacti.o.o. This makes it more difficult to track the resource usage
on the node and know when we need to increase the number of workers.

Change-Id: I6f8d81ab227f6f63297fbe4bee645fce4f2437ee
2014-11-19 09:55:55 -05:00
James E. Blair 8616299f3e Add kerberos and afs servers to cacti
Change-Id: I9b6b134e39a7cf2d7109fd2dddc2337304037c64
2014-10-21 10:00:44 -07:00
James E. Blair e4cc51ff39 Add zm05-zm08 to cacti
Change-Id: I4d6babaea88df8249c38e729eacef6c6003ea815
2014-10-20 12:17:37 -07:00
Jenkins 232cd9d09f Merge "Add groups portal prod and dev servers to cacti" 2014-10-09 02:35:43 +00:00
Jeremy Stanley caa6815c9a Add groups portal prod and dev servers to cacti
Change-Id: Iffb3c5f7a2fdc601448f1e76d61d929e6a79514d
2014-10-09 01:07:00 +00:00
Jeremy Stanley ec53f11f3c Monitor openstackid.org system stats with Cacti
This should not be merged until the server is built and entered in
DNS.

Change-Id: I3051bf43768dbf83d6414b75308c2f60a444f738
2014-10-08 21:08:09 +00:00
Jeremy Stanley 1165f4f039 Replace old puppet master with new in cacti
Stop collecting stats from ci-puppetmaster.openstack.org which is
now no longer in use, and start collecting stats from our new Puppet
3 based puppetmaster.openstack.org instead.

Change-Id: I640d64b6219f32f06bfcfd11e5aea9fc20277a08
2014-09-13 16:37:08 +00:00
James E. Blair baa13e435e Use zm04
Added to the gearman firewall and cacti.  Merge this after the
host exists.

Change-Id: Ic2220cbe4985031a1b86c26763e64e52b427cbda
2014-08-29 16:16:32 -07:00
James E. Blair 1e2c4723a8 Use zm03
Add zm03 to firewalls and cacti.  Merge this after the node actually
exists.

Change-Id: If5aba999edd434baa96475dc846d6b2b315e33e4
2014-08-19 15:30:46 -07:00
Jenkins 77ec3f4466 Merge "Fix cacti node and add os check" 2014-07-14 21:36:56 +00:00
Jenkins 3f5359bee1 Merge "Remove puppet-dashboard.o.o from cacti" 2014-07-11 13:16:54 +00:00