Kolla-ansible external VIP not setting and working

asked 2019-11-12 23:38:30 -0600

Moon-Kee Bahk gravatar image

updated 2019-11-13 15:35:53 -0600

I have the following servers. 1 deploy: roles of deploy and NAT Router, 3 controllers, 4 compute node with several disks for Ceph OSD.

Each server has three NICs each. External: 172.31.0.0/16 no ip setting, VIP: 172.31.255.254 API (Management, Internal): 10.255.255.0/24 VIP: 10.255.255.254 Storage Cluster: 192.168.255.0/24

[Symptom] After successfully completing "kolla-ansible -i multinode deploy", I can access the horizon dashboard as an Internal VIP. Naturally I can ping Internal VIP: 10.255.255.254. Also, if I create a VM and automatically assign FloatingIP to the 172.31.0.0/16 subnet, I can ssh to this VM from outside. The VM can also be pinged to the Internet. However, trying to access this VM's spice console will not work. Ping fails when I ping External VIP: 172.31.255.254 on deploy server with 172.31.0.1/16 IP.

[multinode setting with VIP]

[control] controller201 network_interface=eno2 neutron_external_interface=eno1 api_interface=eno2 storage_interface=eno2 tunnel_interface=eno$ controller202 network_interface=eno2 neutron_external_interface=eno1 api_interface=eno2 storage_interface=eno2 tunnel_interface=eno$ controller203 network_interface=enp61s0f3 neutron_external_interface=enp61s0f2 api_interface=enp61s0f3 storage_interface=enp61s0f3 $

[network] controller201 network_interface=eno2 neutron_external_interface=eno1 api_interface=eno2 storage_interface=eno2 tunnel_interface=eno$ controller202 network_interface=eno2 neutron_external_interface=eno1 api_interface=eno2 storage_interface=eno2 tunnel_interface=eno$ controller203 network_interface=enp61s0f3 neutron_external_interface=enp61s0f2 api_interface=enp61s0f3 storage_interface=enp61s0f3 $

[compute] compute204 network_interface=eno2 neutron_external_interface=eno1 api_interface=eno2 storage_interface=eno2 tunnel_interface=eno2 c$ compute205 network_interface=eno2 neutron_external_interface=eno1 api_interface=eno2 storage_interface=eno2 tunnel_interface=eno2 c$ compute206 network_interface=eno2 neutron_external_interface=eno1 api_interface=eno2 storage_interface=eno2 tunnel_interface=eno2 c$ compute207 network_interface=eno2 neutron_external_interface=eno1 api_interface=eno2 storage_interface=eno2 tunnel_interface=eno2 c$

[monitoring:children] control

[storage] compute204 network_interface=eno2 neutron_external_interface=eno1 api_interface=eno2 storage_interface=eno2 tunnel_interface=eno2 c$ compute205 network_interface=eno2 neutron_external_interface=eno1 api_interface=eno2 storage_interface=eno2 tunnel_interface=eno2 c$ compute206 network_interface=eno2 neutron_external_interface=eno1 api_interface=eno2 storage_interface=eno2 tunnel_interface=eno2 c$ compute207 network_interface=eno2 neutron_external_interface=eno1 api_interface=eno2 storage_interface=eno2 tunnel_interface=eno2 c$

[deployment] localhost ansible_connection=local

[globals.yml]

kolla_internal_fqdn: "{{ kolla_internal_vip_address }}" kolla_external_vip_address: "172.31.255.254"

kolla_external_fqdn: "{{ kolla_external_vip_address }}"

[The IP settings of the servers are as follows.]

root@controller201:~# cat /etc/netplan/50-cloud-init.yaml network: ethernets: eno1: addresses: [0.0.0.0/8] eno2: addresses: [10.255.255.201/24] gateway4: 10.255.255.1 nameservers: addresses: [8.8.8.8, 8.8.4.4] enp2s0: addresses: [192.168.255.201/24] version: 2

root@controller201:~#

root@controller203:~# cat /etc/network/interfaces source /etc/network/interfaces.d/* auto lo iface lo inet loopback

auto enp61s0f2 iface enp61s0f2 inet manual up ip link set dev enp61s0f2 up down ip link set dev enp61s0f2 down

auto enp61s0f3 iface enp61s0f3 inet static address 10.255.255.203 netmask 255.255.255.0 gateway 10.255.255.1 nameservers 8.8.8.8 8.8.4.4

auto enp216s0 iface enp216s0 inet static address 192.168.255.203 netmask 255.255.255.0 root@controller203:~#

[ip addr of controller201]

root@controller201:~# ip a 1: lo: <loopback,up,lower_up ... (more)

edit retag flag offensive close merge delete