Verified on cluster: neutron+vxlan, 3 controllers, 2 computes
Verification scenario
1. Create four networks and launch two instances per each network
2. Run the command against master node:
for i in $(fuel node | grep '[0-9]' | awk '{print$1}'); do ssh node-$i ' ovs-vsctl show > before '; done
3. Run the script against master node:
#!/bin/bash
# $1 - controller on what we should disable agents
#Disable/enable ovs-agents on controllers
ssh root@$1 '. openrc && pcs resource disable p_neutron-plugin-openvswitch-agent'
ssh root@$1 '. openrc && pcs resource enable p_neutron-plugin-openvswitch-agent'
#Restart ovs-agents on computes
for i in $(fuel node | grep compute | awk '{print$1}'); do ssh node-$i 'service neutron-plugin-openvswitch-agent restart'; done
# wait restart
sleep 30
4. Run the command against master node:
for i in $(fuel node | grep '[0-9]' | awk '{print$1}'); do ssh node-$i 'ovs-vsctl show > after'; done
5. Check that tags didn't change their values with the command against master node:
for i in $(fuel node | grep '[0-9]' | awk '{print$1}'); do ssh node-$i 'diff before after > diff.log'; done
VERSION: version: "2015.1.0-7.0" 29_17-24- 57" 888e351f535b03b dbc9d392406" fuelclient_ sha: "9643fa07f12900 71511066804f962 f62fe27b512" 99aa8fe862b6367 e82afec3263" nailgun- agent_sha: "d7027952870a35 db8dc52f185bb11 58cdd3d1ebd" ac776ce5a336024 0274c20738c" 0170fe0db71bffc baadbc39ae4" 324ceeaf04242e6 8d658cfb55d" bc122e5bbba9249 c729eeaf579"
feature_groups:
- mirantis
production: "docker"
release: "7.0"
openstack_
api: "1.0"
build_number: "252"
build_id: "2015-08-
nailgun_sha: "3189ccfb8c1dac
python-
fuel-agent_sha: "1e8f38bbb864ed
fuel-
astute_sha: "53c86cba593ddb
fuel-library_sha: "f05b958ef318f7
fuel-ostf_sha: "83048d68609854
fuelmain_sha: "0e54d68392b359
Verified on cluster: neutron+vxlan, 3 controllers, 2 computes
Verification scenario plugin- openvswitch- agent' plugin- openvswitch- agent' plugin- openvswitch- agent restart'; done
1. Create four networks and launch two instances per each network
2. Run the command against master node:
for i in $(fuel node | grep '[0-9]' | awk '{print$1}'); do ssh node-$i ' ovs-vsctl show > before '; done
3. Run the script against master node:
#!/bin/bash
# $1 - controller on what we should disable agents
#Disable/enable ovs-agents on controllers
ssh root@$1 '. openrc && pcs resource disable p_neutron-
ssh root@$1 '. openrc && pcs resource enable p_neutron-
#Restart ovs-agents on computes
for i in $(fuel node | grep compute | awk '{print$1}'); do ssh node-$i 'service neutron-
# wait restart
sleep 30
4. Run the command against master node:
for i in $(fuel node | grep '[0-9]' | awk '{print$1}'); do ssh node-$i 'ovs-vsctl show > after'; done
5. Check that tags didn't change their values with the command against master node:
for i in $(fuel node | grep '[0-9]' | awk '{print$1}'); do ssh node-$i 'diff before after > diff.log'; done