Update to working Neutron config
This commit is contained in:
@@ -4,11 +4,11 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Add RDO Antelope repo to dnf
|
# - name: Add RDO Antelope repo to dnf
|
||||||
ansible.builtin.dnf:
|
# ansible.builtin.dnf:
|
||||||
name: 'https://www.rdoproject.org/repos/rdo-release.el9.rpm'
|
# name: 'https://www.rdoproject.org/repos/rdo-release.el9.rpm'
|
||||||
state: present
|
# state: present
|
||||||
disable_gpg_check: true
|
# disable_gpg_check: true
|
||||||
|
|
||||||
- name: Update all packages
|
- name: Update all packages
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
@@ -46,11 +46,11 @@
|
|||||||
user: stack
|
user: stack
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: OpenVSwitch Service enabled and started
|
# - name: OpenVSwitch Service enabled and started
|
||||||
ansible.builtin.service:
|
# ansible.builtin.service:
|
||||||
name: openvswitch
|
# name: openvswitch
|
||||||
state: started
|
# state: started
|
||||||
enabled: true
|
# enabled: true
|
||||||
|
|
||||||
- name: Bootstrap Network configuration
|
- name: Bootstrap Network configuration
|
||||||
hosts: all
|
hosts: all
|
||||||
@@ -103,6 +103,14 @@
|
|||||||
# group: root
|
# group: root
|
||||||
# mode: '0600'
|
# mode: '0600'
|
||||||
|
|
||||||
|
- name: Add /usr/local/bin to bashrc PATH
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
path: /etc/bashrc
|
||||||
|
line: PATH="${PATH}:/usr/local/sbin:/usr/local/bin"
|
||||||
|
state: present
|
||||||
|
insertafter: EOF
|
||||||
|
create: true
|
||||||
|
|
||||||
- name: Clone openstack-ansible repo into /opt/openstack-ansible
|
- name: Clone openstack-ansible repo into /opt/openstack-ansible
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
repo: https://opendev.org/openstack/openstack-ansible
|
repo: https://opendev.org/openstack/openstack-ansible
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ global_overrides:
|
|||||||
internal_lb_vip_address: 172.29.236.11
|
internal_lb_vip_address: 172.29.236.11
|
||||||
external_lb_vip_address: 172.29.236.10
|
external_lb_vip_address: 172.29.236.10
|
||||||
management_bridge: "br-mgmt"
|
management_bridge: "br-mgmt"
|
||||||
tunnel_bridge: "br-vxlan"
|
tunnel_bridge: "br-tunnel"
|
||||||
neutron_provider_networks:
|
neutron_provider_networks:
|
||||||
network_types: "geneve"
|
network_types: "geneve"
|
||||||
network_geneve_ranges: "1:1000"
|
network_geneve_ranges: "1:1000"
|
||||||
@@ -81,8 +81,8 @@ global_overrides:
|
|||||||
- network_hosts
|
- network_hosts
|
||||||
|
|
||||||
# Workaround for https://github.com/eventlet/eventlet/issues/781
|
# Workaround for https://github.com/eventlet/eventlet/issues/781
|
||||||
venv_default_pip_packages:
|
# venv_default_pip_packages:
|
||||||
- eventlet==0.33.3
|
# - eventlet==0.33.3
|
||||||
|
|
||||||
neutron_plugin_type: ml2.ovn
|
neutron_plugin_type: ml2.ovn
|
||||||
|
|
||||||
@@ -160,11 +160,15 @@ network_hosts:
|
|||||||
infra1:
|
infra1:
|
||||||
ip: 172.29.236.11
|
ip: 172.29.236.11
|
||||||
|
|
||||||
|
network-northd_hosts:
|
||||||
|
infra1:
|
||||||
|
ip: 172.29.236.11
|
||||||
|
|
||||||
neutron_ovn_northd:
|
neutron_ovn_northd:
|
||||||
infra1:
|
infra1:
|
||||||
ip: 172.29.236.11
|
ip: 172.29.236.11
|
||||||
|
|
||||||
network_gateway_hosts:
|
network-gateway_hosts:
|
||||||
infra1:
|
infra1:
|
||||||
ip: 172.29.236.11
|
ip: 172.29.236.11
|
||||||
|
|
||||||
|
|||||||
@@ -4,9 +4,8 @@ all:
|
|||||||
ansible_user: ptoal
|
ansible_user: ptoal
|
||||||
control:
|
control:
|
||||||
hosts:
|
hosts:
|
||||||
ospc.lab.toal.ca:
|
infra1.osp.toal.ca:
|
||||||
ansible_host: 172.29.236.11
|
|
||||||
|
|
||||||
compute:
|
compute:
|
||||||
hosts:
|
hosts:
|
||||||
compute1.lab.toal.ca:
|
compute1.osp.toal.ca:
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ network_state:
|
|||||||
state: up
|
state: up
|
||||||
mtu: 9000
|
mtu: 9000
|
||||||
ipv4:
|
ipv4:
|
||||||
enabled: true
|
enabled: false
|
||||||
dhcp: true
|
dhcp: false
|
||||||
- name: ens2f1
|
- name: ens2f1
|
||||||
type: ethernet
|
type: ethernet
|
||||||
state: up
|
state: up
|
||||||
Reference in New Issue
Block a user