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