Skip to content

Commit

Permalink
Merge pull request #182 from dceara/fix-multi-node-bringup
Browse files Browse the repository at this point in the history
bringup-cluster: Compute central facts for all types of nodes.
  • Loading branch information
dceara authored Oct 19, 2023
2 parents c43ef3d + 806857f commit 5055c84
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ovn-fake-multinode-utils/playbooks/bringup-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
chdir: "{{ ovn_fake_multinode_target_path }}/ovn-fake-multinode"


- name: Bring up central nodes
hosts: central_hosts
- name: Compute central facts
hosts: central_hosts, worker_hosts
tasks:
- name: Compute central facts (standalone)
when: clustered_db == "no"
Expand All @@ -30,6 +30,10 @@
ansible.builtin.set_fact:
n_ips: '{{ n_relays|int + 3 }}'


- name: Bring up central nodes
hosts: central_hosts
tasks:
- name: Start central containers
environment:
CENTRAL_COUNT: '{{ n_az }}'
Expand Down

0 comments on commit 5055c84

Please sign in to comment.