Cleanup graphite01

Server is replaced with graphite02.opendev.org

Change-Id: Ie6099e935a6a7e10c818d1d3003e44bca11dd13a
This commit is contained in:
Ian Wienand 2020-09-30 11:08:47 +10:00
parent e764a59877
commit 1b4006757a
8 changed files with 5 additions and 46 deletions

View File

@ -228,7 +228,7 @@ cacti_hosts:
- gitea07.opendev.org
- gitea08.opendev.org
- grafana.openstack.org
- graphite01.opendev.org
- graphite02.opendev.org
- health.openstack.org
- jvb01.opendev.org
- kdc03.openstack.org

View File

@ -230,13 +230,6 @@ all:
region_name: DFW
public_v4: 198.101.251.7
public_v6: 2001:4800:7821:102:be76:4eff:fe04:3bad
graphite01.opendev.org:
ansible_host: 162.209.77.51
location:
cloud: openstackci-rax
region_name: DFW
public_v4: 162.209.77.51
public_v6: 2001:4800:7818:103:be76:4eff:fe04:763e
graphite02.opendev.org:
ansible_host: 104.239.240.167
location:

View File

@ -72,11 +72,7 @@ groups:
grafana_opendev:
- grafana[0-9]*.opendev.org
graphite:
- graphite*.open*.org
# NOTE(ianw) : to be cleaned up once the half-puppet
# graphite01.opendev.org is gone.
graphite_opendev:
- graphite02.opendev.org
- graphite*.opendev.org
health:
- health[0-9]*.openstack.org
jvb:
@ -141,10 +137,6 @@ groups:
- ethercalc[0-9]*.open*.org
- firehose[0-9]*.open*.org
- grafana[0-9]*.open*.org
# TODO(ianw) : this is a weird one we half-converted and moved
# into opendev.org in the early days of opendev. remove when
# graphite02 up.
- graphite01.opendev.org
- health[0-9]*.openstack.org
- kdc[0-9]*.open*.org
- lists*.katacontainers.io
@ -180,7 +172,6 @@ groups:
- ethercalc[0-9]*.open*.org
- firehose[0-9]*.open*.org
- grafana[0-9]*.open*.org
- graphite01.opendev.org
- health[0-9]*.openstack.org
- kdc[0-9]*.open*.org
- lists*.katacontainers.io
@ -237,7 +228,7 @@ groups:
- ethercalc[0-9]*.open*.org
- etherpad[0-9]*.open*.org
- grafana[0-9]*.open*.org
- graphite*.open*.org
- graphite*.opendev.org
- health[0-9]*.openstack.org
- nb[0-9]*.opendev.org
- nl[0-9]*.open*.org

View File

@ -1,4 +0,0 @@
letsencrypt_certs:
graphite01-main:
- graphite01.opendev.org
- graphite.opendev.org

View File

@ -37,21 +37,6 @@ node /^cacti\d+\.open.*\.org$/ {
}
}
# Node-OS: xenial
node /^graphite\d*\.open.*\.org$/ {
class { 'openstack_project::server': }
class { '::graphite':
graphite_admin_user => hiera('graphite_admin_user', 'username'),
graphite_admin_email => hiera('graphite_admin_email', 'email@example.com'),
graphite_admin_password => hiera('graphite_admin_password'),
# NOTE(ianw): installed on the host via ansible
ssl_cert_file => '/etc/letsencrypt-certs/graphite01.opendev.org/graphite01.opendev.org.cer',
ssl_key_file => '/etc/letsencrypt-certs/graphite01.opendev.org/graphite01.opendev.org.key',
ssl_chain_file => '/etc/letsencrypt-certs/graphite01.opendev.org/ca.cer',
}
}
# Node-OS: xenial
node /^lists\d*\.open.*\.org$/ {
class { 'openstack_project::server': }

View File

@ -18,12 +18,9 @@ results:
- puppet
- puppet4
graphite01.opendev.org:
- puppet
- puppet4
graphite02.opendev.org:
- graphite
- letsencrypt
- puppet
- webservers
lists.katacontainers.io:

View File

@ -11,9 +11,6 @@
# ("include_tasks" is okay).
# https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_2.8.html#imports-as-handlers
- name: letsencrypt updated graphite01-main
include_tasks: roles/letsencrypt-create-certs/handlers/restart_apache.yaml
- name: letsencrypt updated graphite02-main
include_tasks: roles/letsencrypt-create-certs/handlers/restart_graphite.yaml

View File

@ -1,4 +1,4 @@
- hosts: "graphite_opendev:!disabled"
- hosts: "graphite:!disabled"
name: "Base: configure graphite"
roles:
- iptables