Don't mess with upstream at all during bootstrap

This caused some major breakage and is not required.
This commit is contained in:
Joshua Boniface 2020-01-13 15:12:54 -05:00
parent 129219faff
commit 94f2cd5c86
1 changed files with 0 additions and 8 deletions

View File

@ -4,7 +4,6 @@
with_items: with_items:
- "{{ pvc_cluster_device }}" - "{{ pvc_cluster_device }}"
- "{{ pvc_storage_device }}" - "{{ pvc_storage_device }}"
- "{{ pvc_upstream_device }}"
- name: create bridge interfacec - name: create bridge interfacec
command: brctl addbr {{ item }} command: brctl addbr {{ item }}
@ -12,7 +11,6 @@
with_items: with_items:
- "brcluster" - "brcluster"
- "brstorage" - "brstorage"
- "brupstream"
- name: add underlying interfaces to bridges - name: add underlying interfaces to bridges
command: brctl addif {{ item.bridge }} {{ item.device }} command: brctl addif {{ item.bridge }} {{ item.device }}
@ -20,7 +18,6 @@
with_items: with_items:
- { "bridge": "brcluster", "device": "{{ pvc_cluster_device }}" } - { "bridge": "brcluster", "device": "{{ pvc_cluster_device }}" }
- { "bridge": "brstorage", "device": "{{ pvc_storage_device }}" } - { "bridge": "brstorage", "device": "{{ pvc_storage_device }}" }
- { "bridge": "brupstream", "device": "{{ pvc_upstream_device }}" }
- name: set bridge interfaces up - name: set bridge interfaces up
command: ip link set {{ item }} up command: ip link set {{ item }} up
@ -28,11 +25,6 @@
with_items: with_items:
- "brcluster" - "brcluster"
- "brstorage" - "brstorage"
- "brupstream"
- name: add IP addresses to upstream bridge
command: ip address add {% for node in pvc_nodes if node.hostname == ansible_hostname %}{{ node.upstream_ip }}/{{ pvc_upstream_netmask }}{% endfor %} dev brupstream
ignore_errors: yes
- name: add IP addresses to cluster bridge - name: add IP addresses to cluster bridge
command: ip address add {% for node in pvc_nodes if node.hostname == ansible_hostname %}{{ node.cluster_ip }}/{{ pvc_cluster_netmask }}{% endfor %} dev brcluster command: ip address add {% for node in pvc_nodes if node.hostname == ansible_hostname %}{{ node.cluster_ip }}/{{ pvc_cluster_netmask }}{% endfor %} dev brcluster