Run zuul-web on zuul01 and add to load balancer

Change-Id: Ia8b10338fa3a1876993404276e0759f4b10d6b54
This commit is contained in:
James E. Blair 2022-03-04 12:31:47 -08:00
parent bd70f7b9d5
commit 3f8acefbe1
4 changed files with 15 additions and 3 deletions

View File

@ -3,18 +3,24 @@ zuul_lb_listeners:
bind:
- ':::80'
servers:
- name: 'zuul01.opendev.org'
address: '104.130.246.57:80'
- name: 'zuul02.opendev.org'
address: '104.130.246.31:80'
- name: balance_zuul_https
bind:
- ':::443'
servers:
- name: 'zuul01.opendev.org'
address: '104.130.246.57:443'
- name: 'zuul02.opendev.org'
address: '104.130.246.31:443'
- name: balance_zuul_finger
bind:
- ':::79'
servers:
- name: 'zuul01.opendev.org'
address: '104.130.246.57:79'
- name: 'zuul02.opendev.org'
address: '104.130.246.31:79'
iptables_extra_public_tcp_ports:

View File

@ -1,10 +1,13 @@
# Run this with "-f 20"
- hosts: 'zuul02.opendev.org:!disabled'
- hosts: 'zuul-scheduler:!disabled'
tasks:
- include_role:
name: zuul-scheduler
tasks_from: start
- hosts: 'zuul-web:!disabled'
tasks:
- include_role:
name: zuul-web
tasks_from: start

View File

@ -1,11 +1,14 @@
# Run this with "-f 20"
- hosts: 'zuul02.opendev.org:!disabled'
- hosts: 'zuul-scheduler:!disabled'
any_errors_fatal: true
tasks:
- include_role:
name: zuul-scheduler
tasks_from: stop
- hosts: 'zuul-web:!disabled'
tasks:
- include_role:
name: zuul-web
tasks_from: stop

View File

@ -379,7 +379,7 @@
- inventory/service/group_vars/zuul
- inventory/service/group_vars/zookeeper.yaml
- inventory/service/host_vars/zk\d+
- inventory/service/host_vars/zuul02.opendev.org
- inventory/service/host_vars/zuul\d+.opendev.org
- playbooks/roles/install-docker/
- playbooks/roles/iptables/
- playbooks/roles/zookeeper/