Remove paste01.openstack.org

This has been replaced by paste01.opendev.org and Ansible deployment.

Change-Id: I0f8f5374a3f5d269b317bde4ae2b37435e0871d5
changes/79/800879/3
Ian Wienand 1 year ago
parent 61b1759f0e
commit 5e52befdfa
  1. 21
      doc/source/paste.rst
  2. 7
      inventory/base/hosts.yaml
  3. 8
      inventory/service/groups.yaml
  4. 12
      manifests/site.pp
  5. 19
      modules/openstack_project/manifests/paste.pp
  6. 2
      playbooks/service-paste.yaml
  7. 2
      playbooks/test-paste.yaml

@ -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.

@ -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:

@ -130,9 +130,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
@ -143,7 +141,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
@ -161,7 +158,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
@ -209,7 +205,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

@ -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"

@ -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',
}
}

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

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

Loading…
Cancel
Save