Merge "refstack: cleanup old puppet"

This commit is contained in:
Zuul 2021-03-16 22:21:03 +00:00 committed by Gerrit Code Review
commit b133afedfd
8 changed files with 15 additions and 45 deletions

View File

@ -14,9 +14,10 @@ At a Glance
===========
:Hosts:
* http://refstack.openstack.org/
:Puppet:
* https://opendev.org/opendev/puppet-refstack/
* refstack01.openstack.org
:Ansible:
* :git_file:`playbooks/service-refstack.yaml`
* :git_file:`docker/refstack/Dockerfile`
:Projects:
* https://opendev.org/osf/refstack/
:Bugs:
@ -27,6 +28,12 @@ Overview
There are three major components in the Refstack server:
* Refstack-UI
* Refstack-API
* Database
These run as two containers (UI/API and mariadb) on the host.
Refstack-UI
-----------
@ -41,8 +48,8 @@ interoperability test results. It also provides APIs to facilitate the
uploading/retrieval of test data. Users can use the refstack-client tool
to anonymously upload their data to the refstack.openstack.org site.
MySQL database
--------------
Mariadb database
----------------
This is the database to host the user uploaded test results data.

View File

@ -292,6 +292,7 @@ cacti_hosts:
- mirror.us-east.openedge.opendev.org
- mirror-update.opendev.org
- mirror-update.openstack.org
- refstack01.openstack.org
- review-dev01.opendev.org
- review.openstack.org
- static01.opendev.org

View File

@ -641,13 +641,6 @@ all:
region_name: ca-ymq-1
public_v4: 199.204.45.22
public_v6: 2604:e100:1:0:f816:3eff:fe05:7ce0
refstack.openstack.org:
ansible_host: 23.253.230.186
location:
cloud: openstackci-rax
region_name: DFW
public_v4: 23.253.230.186
public_v6: 2001:4800:7817:103:be76:4eff:fe05:5870
refstack01.openstack.org:
ansible_host: 104.239.144.250
location:

View File

@ -142,7 +142,6 @@ groups:
- paste[0-9]*.open*.org
- pbx[0-9]*.opendev.org
- planet[0-9]*.open*.org
- refstack.openstack.org
- status*.open*.org
- storyboard-dev[0-9]*.opendev.org
- storyboard[0-9]*.opendev.org
@ -173,7 +172,6 @@ groups:
- paste[0-9]*.open*.org
- pbx[0-9]*.opendev.org
- planet[0-9]*.open*.org
- refstack.openstack.org
- status*.open*.org
- storyboard[0-9]*.opendev.org
- storyboard-dev[0-9]*.opendev.org
@ -185,8 +183,6 @@ groups:
- wiki-dev[0-9]*.openstack.org
refstack:
- refstack[0-9]*.openstack.org
refstack-docker:
- refstack[0-9]*.openstack.org
registry:
- insecure-ci-registry[0-9]*.opendev.org
review-dev:
@ -227,7 +223,7 @@ groups:
- openstackid[0-9]*.openstack.org
- paste[0-9]*.open*.org
- planet[0-9]*.open*.org
- refstack*.openstack.org
- refstack[0-9]*.openstack.org
- static[0-9]*.opendev.org
- status*.open*.org
- storyboard-dev[0-9]*.opendev.org

View File

@ -1 +0,0 @@
ansible_python_interpreter: python

View File

@ -199,31 +199,6 @@ node /^firehose\d+\.open.*\.org$/ {
}
}
# Node-OS: trusty
# Node-OS: xenial
node /^refstack\d*\.open.*\.org$/ {
class { 'openstack_project::server': }
class { 'refstack':
mysql_host => hiera('refstack_mysql_host', 'localhost'),
mysql_database => hiera('refstack_mysql_db_name', 'refstack'),
mysql_user => hiera('refstack_mysql_user', 'refstack'),
mysql_user_password => hiera('refstack_mysql_password'),
ssl_cert_content => hiera('refstack_ssl_cert_file_contents'),
ssl_cert => '/etc/ssl/certs/refstack.pem',
ssl_key_content => hiera('refstack_ssl_key_file_contents'),
ssl_key => '/etc/ssl/private/refstack.key',
ssl_ca_content => hiera('refstack_ssl_chain_file_contents'),
ssl_ca => '/etc/ssl/certs/refstack.ca.pem',
protocol => 'https',
}
mysql_backup::backup_remote { 'refstack':
database_host => hiera('refstack_mysql_host', 'localhost'),
database_user => hiera('refstack_mysql_user', 'refstack'),
database_password => hiera('refstack_mysql_password'),
require => Class['::refstack'],
}
}
# A machine to run Storyboard
# Node-OS: xenial
node /^storyboard\d+\.opendev\.org$/ {

View File

@ -6,7 +6,6 @@ letsencrypt_certcheck_additional_domains:
- git.openstack.org 443
- openstackid-dev.openstack.org 443
- openstackid.org 443
- refstack.openstack.org 443
- review.openstack.org 443
- storyboard.openstack.org 443
- survey.openstack.org 443

View File

@ -1,4 +1,4 @@
- hosts: "refstack-docker:!disabled"
- hosts: "refstack:!disabled"
name: "Configure refstack service in docker"
roles:
- install-docker