The fix is verified on:
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "5.1.1"
api: "1.0"
build_number: "27"
build_id: "2014-10-13_00-01-06"
astute_sha: "f5fbd89d1e0e1f22ef9ab2af26da5ffbfbf24b13"
fuellib_sha: "46ad455514614ec2600314ac80191e0539ddfc04"
ostf_sha: "64cb59c681658a7a55cc2c09d079072a41beb346"
nailgun_sha: "88a94a11426d356540722593af1603e5089d442c"
fuelmain_sha: "431350ba204146f815f0e51dd47bf44569ae1f6d"
Scenario:
1. Create Router
2. Set gateway to external network
3. Create network with subnets 11.0.0.0/24 and 111.0.0.0/24
4. Create another network with subnet 12.0.0.0/24
5. Plug networks into the router
6. Start VM on any of the networks, check that VM acquired IP and ping to 8.8.8.8 works
7. Check where L3 agent is running by command 'neutron agent-list'
8. Verify network configuration: (L3 agent is running on node-1)
(.venv)developer@fuel:stack$ ssh node-1 ip netns
Warning: Permanently added 'node-1' (RSA) to the list of known hosts.
qrouter-8a74bfea-0d27-4b29-92a4-942ab6a552dd
haproxy
qrouter-af4f6833-d01c-4e1c-b9b2-29e5c3f2b6e0
(.venv)developer@fuel:stack$ ssh node-1 ip netns exec qrouter-8a74bfea-0d27-4b29-92a4-942ab6a552dd ip ro
Warning: Permanently added 'node-1' (RSA) to the list of known hosts.
172.18.161.0/24 dev qg-aed693c2-b9 proto kernel scope link src 172.18.161.205
11.0.0.0/24 dev qr-7af18f99-f1 proto kernel scope link src 11.0.0.1
12.0.0.0/24 dev qr-f3512f79-90 proto kernel scope link src 12.0.0.1
111.0.0.0/24 dev qr-1e578c6b-6d proto kernel scope link src 111.0.0.1
default via 172.18.161.1 dev qg-aed693c2-b9
9. Ask pacemaker to disable-enable L3 agent:
pcs resource disable p_neutron-l3-agent
wait until it is stopped and then:
pcs resource enable p_neutron-l3-agent
10. L3-agent is moved to other controller (say to node-2)
11. Verify network configuration:
(.venv)developer@fuel:stack$ ssh node-2 ip netns
Warning: Permanently added 'node-2' (RSA) to the list of known hosts.
qrouter-8a74bfea-0d27-4b29-92a4-942ab6a552dd
qrouter-af4f6833-d01c-4e1c-b9b2-29e5c3f2b6e0
haproxy
(.venv)developer@fuel:stack$ ssh node-2 ip netns exec qrouter-8a74bfea-0d27-4b29-92a4-942ab6a552dd ip ro
Warning: Permanently added 'node-2' (RSA) to the list of known hosts.
172.18.161.0/24 dev qg-aed693c2-b9 proto kernel scope link src 172.18.161.205
11.0.0.0/24 dev qr-7af18f99-f1 proto kernel scope link src 11.0.0.1
12.0.0.0/24 dev qr-f3512f79-90 proto kernel scope link src 12.0.0.1
111.0.0.0/24 dev qr-1e578c6b-6d proto kernel scope link src 111.0.0.1
default via 172.18.161.1 dev qg-aed693c2-b9
12. Verify that ping from VM still works
The fix is verified on: 13_00-01- 06" 22ef9ab2af26da5 ffbfbf24b13" c2600314ac80191 e0539ddfc04" 7a55cc2c09d0790 72a41beb346" 6540722593af160 3e5089d442c" f815f0e51dd47bf 44569ae1f6d"
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "5.1.1"
api: "1.0"
build_number: "27"
build_id: "2014-10-
astute_sha: "f5fbd89d1e0e1f
fuellib_sha: "46ad455514614e
ostf_sha: "64cb59c681658a
nailgun_sha: "88a94a11426d35
fuelmain_sha: "431350ba204146
Scenario:
1. Create Router
2. Set gateway to external network
3. Create network with subnets 11.0.0.0/24 and 111.0.0.0/24
4. Create another network with subnet 12.0.0.0/24
5. Plug networks into the router
6. Start VM on any of the networks, check that VM acquired IP and ping to 8.8.8.8 works
7. Check where L3 agent is running by command 'neutron agent-list'
8. Verify network configuration: (L3 agent is running on node-1)
(.venv) developer@ fuel:stack$ ssh node-1 ip netns 8a74bfea- 0d27-4b29- 92a4-942ab6a552 dd af4f6833- d01c-4e1c- b9b2-29e5c3f2b6 e0
Warning: Permanently added 'node-1' (RSA) to the list of known hosts.
qrouter-
haproxy
qrouter-
(.venv) developer@ fuel:stack$ ssh node-1 ip netns exec qrouter- 8a74bfea- 0d27-4b29- 92a4-942ab6a552 dd ip ro
Warning: Permanently added 'node-1' (RSA) to the list of known hosts.
172.18.161.0/24 dev qg-aed693c2-b9 proto kernel scope link src 172.18.161.205
11.0.0.0/24 dev qr-7af18f99-f1 proto kernel scope link src 11.0.0.1
12.0.0.0/24 dev qr-f3512f79-90 proto kernel scope link src 12.0.0.1
111.0.0.0/24 dev qr-1e578c6b-6d proto kernel scope link src 111.0.0.1
default via 172.18.161.1 dev qg-aed693c2-b9
9. Ask pacemaker to disable-enable L3 agent:
pcs resource disable p_neutron-l3-agent
wait until it is stopped and then:
pcs resource enable p_neutron-l3-agent
10. L3-agent is moved to other controller (say to node-2)
11. Verify network configuration:
(.venv) developer@ fuel:stack$ ssh node-2 ip netns 8a74bfea- 0d27-4b29- 92a4-942ab6a552 dd af4f6833- d01c-4e1c- b9b2-29e5c3f2b6 e0
Warning: Permanently added 'node-2' (RSA) to the list of known hosts.
qrouter-
qrouter-
haproxy
(.venv) developer@ fuel:stack$ ssh node-2 ip netns exec qrouter- 8a74bfea- 0d27-4b29- 92a4-942ab6a552 dd ip ro
Warning: Permanently added 'node-2' (RSA) to the list of known hosts.
172.18.161.0/24 dev qg-aed693c2-b9 proto kernel scope link src 172.18.161.205
11.0.0.0/24 dev qr-7af18f99-f1 proto kernel scope link src 11.0.0.1
12.0.0.0/24 dev qr-f3512f79-90 proto kernel scope link src 12.0.0.1
111.0.0.0/24 dev qr-1e578c6b-6d proto kernel scope link src 111.0.0.1
default via 172.18.161.1 dev qg-aed693c2-b9
12. Verify that ping from VM still works