[system-tests] Compute node can't reach internet hosts: IP for vrouter VIP is allocated for libvirt network (1st net address)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Critical
|
Artem Panchenko |
Bug Description
Fuel version info (7.0 build #196): http://
Network verification fails after environment deployment during system tests, because slave nodes without public network can't reach internet hosts:
2015-08-19 20:46:54,152 - ERROR fuel_web_
root@node-5:~# ip r g 1
1.0.0.0 via 10.109.12.1 dev br-mgmt src 10.109.12.4
cache
root@node-5:~# ping -c 1 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.109.12.1 icmp_seq=1 Destination Port Unreachable
--- 8.8.8.8 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
root@node-5:~# arping -I br-mgmt 10.109.12.1
ARPING 10.109.12.1 from 10.109.12.6 br-mgmt
Unicast reply from 10.109.12.1 [52:54:00:6B:16:E4] 0.824ms
Unicast reply from 10.109.12.1 [8A:8B:C4:B3:05:D7] 0.846ms
...
root@node-1:~# hiera vrouter
{"network_
"ipaddr"
"node_roles"
"namespace"
As you can see the first IP address from management network "10.109.12.1" was allocated for vrouter VIP, but that address is assigned to virtual network on bare metal host where tests were running. It caused addresses conflict and ARP didn't work properly.
Here is the change which caused tests failure:
https:/
In system tests we set gateway for each environment network (first ip address), but use 'cidr' notation and 'use_gateway': False for all networks except 'public' and 'fuelweb_admin'. The mentioned above code change introduced new logic: if 'cidr' notation is used for network and 'use_gateway' is not True, then all network addresses (including the first ip) are used for deployment, whether the 'gateway' for network is set or not.
So the tests should be modified to set 'ip_ranges' notation instead of 'cidr' in order to avoid usage of reserved IP addresses for deployments.
tags: | added: non-release |
summary: |
- [system_tests] Compute node can't reach internet hosts: IP for vrouter + [system-tests] Compute node can't reach internet hosts: IP for vrouter VIP is allocated for libvirt network (1st net address) |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
tags: |
added: area-qa removed: non-release |
Fix proposed to branch: master /review. openstack. org/214824
Review: https:/