Merge "Remove paste01.openstack.org"

This commit is contained in:
Zuul 2021-07-16 03:03:50 +00:00 committed by Gerrit Code Review
commit b895af4d35
7 changed files with 8 additions and 63 deletions

View File

@ -14,13 +14,11 @@ At a Glance
===========
:Hosts:
* http://paste.openstack.org
:Puppet:
* https://opendev.org/opendev/puppet-lodgeit
* :git_file:`modules/openstack_project/manifests/paste.pp`
* http://paste.opendev.org
:Ansible:
* :git_file:`playbooks/roles/lodgeit/`
:Projects:
* https://opendev.org/opendev/lodgeit
* https://bitbucket.org/dcolish/lodgeit-main
:Bugs:
* https://storyboard.openstack.org/#!/project/748
@ -33,16 +31,5 @@ based on one with bugfixes maintained by `dcolish
<https://bitbucket.org/dcolish/lodgeit-main>`_ but adds back missing
anti-spam features required by OpenStack.
Puppet configures lodgeit to use MySQL as a database backend, apache
Ansible configures lodgeit to use mariadb database backend, apache
as a front-end proxy.
The lodgeit module will automatically create a git repository in
``/var/backups/lodgeit_db``. Inside this every site will have its own
SQL file, for example "openstack" will have a file called
``openstack.sql``. Every day a cron job will update the SQL file (one
job per file) and commit it to the git repository.
.. note::
Ideally the SQL files would have a row on every line to keep the
diffs stored in git small, but ``mysqldump`` does not yet support
this.

View File

@ -611,13 +611,6 @@ all:
region_name: DFW
public_v4: 104.130.159.12
public_v6: 2001:4800:7818:102:be76:4eff:fe04:673f
paste01.openstack.org:
ansible_host: 23.253.235.223
location:
cloud: openstackci-rax
region_name: DFW
public_v4: 23.253.235.223
public_v6: 2001:4800:7817:103:be76:4eff:fe05:176e
paste01.opendev.org:
ansible_host: 104.130.127.175
location:

View File

@ -131,9 +131,7 @@ groups:
- openstackid.org
- openstackid[0-9]*.openstack.org
paste:
- paste[0-9]*.openstack.org
paste_opendev:
- paste[0-1]*.opendev.org
- paste[0-9]*.opendev.org
puppet:
- cacti[0-9]*.open*.org
- elasticsearch[0-9]*.open*.org
@ -144,7 +142,6 @@ groups:
- openstackid-dev*.openstack.org
- openstackid.org
- openstackid[0-9]*.openstack.org
- paste[0-9]*.openstack.org
- status*.open*.org
- storyboard-dev[0-9]*.opendev.org
- storyboard[0-9]*.opendev.org
@ -162,7 +159,6 @@ groups:
- logstash[0-9]*.open*.org
- openstackid[0-9]*.openstack.org
- openstackid-dev[0-9]*.openstack.org
- paste[0-9]*.openstack.org
- status*.open*.org
- storyboard[0-9]*.opendev.org
- storyboard-dev[0-9]*.opendev.org
@ -210,7 +206,7 @@ groups:
- openstackid-dev*.openstack.org
- openstackid.org
- openstackid[0-9]*.openstack.org
- paste[0-9]*.open*.org
- paste[0-9]*.opendev.org
- refstack[0-9]*.openstack.org
- static[0-9]*.opendev.org
- status*.open*.org

View File

@ -17,18 +17,6 @@ node /^cacti\d+\.open.*\.org$/ {
}
}
# Node-OS: xenial
node /^paste\d*\.open.*\.org$/ {
$group = "paste"
class { 'openstack_project::server': }
class { 'openstack_project::paste':
db_password => hiera('paste_db_password'),
db_host => hiera('paste_db_host'),
vhost_name => 'paste.openstack.org',
}
}
# Node-OS: xenial
node /^ethercalc\d+\.open.*\.org$/ {
$group = "ethercalc"

View File

@ -1,19 +0,0 @@
# == Class: openstack_project::paste
#
class openstack_project::paste (
$db_password,
$db_host,
$vhost_name = $::fqdn,
) {
class { 'lodgeit':
lodgeit_version => 'ab592381b0cc983adf9b58456abcf836b31f7633',
}
lodgeit::site { 'openstack':
port => '5000',
db_password => $db_password,
db_host => $db_host,
db_user => 'openstack',
vhost_name => $vhost_name,
image => 'header-bg2.png',
}
}

View File

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

View File

@ -1,4 +1,4 @@
- hosts: "paste_opendev"
- hosts: "paste"
tasks:
- name: Run selenium container