unstack couldn't unload openvswitch module

Bug #1582122 reported by Shlomo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DragonFlow
New
Medium
Unassigned

Bug Description

The openvswitch couldn't unloaded while running ./unstack.
The error I got: modprobe: FATAL: Module openvswitch is in use.

The proposed solution is to unload the vport_vxlan or geneve before trying to unload openvswitch (e.g. sudo rmmod vport_vxlan):
/opt/stack/dragonflow/devstack/ovs_setup.sh:_neutron_ovs_install_ovs:108

Log:

2016-05-16 08:20:14.828 | ++/opt/stack/dragonflow/devstack/ovs_setup.sh:_neutron_ovs_install_ovs:107 test -n 'openvswitch 233472 1 vport_vxlan
2016-05-16 08:20:14.828 | nf_defrag_ipv6 36864 1 openvswitch
2016-05-16 08:20:14.828 | gre 16384 1 openvswitch
2016-05-16 08:20:14.828 | libcrc32c 16384 2 xfs,openvswitch
2016-05-16 08:20:14.829 | nf_defrag_ipv4 16384 2 openvswitch,nf_conntrack_ipv4
2016-05-16 08:20:14.829 | nf_conntrack 106496 7 openvswitch,nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_netlink,nf_conntrack_ipv4'
2016-05-16 08:20:14.835 | ++/opt/stack/dragonflow/devstack/ovs_setup.sh:_neutron_ovs_install_ovs:108 sudo modprobe -r openvswitch
2016-05-16 08:20:14.842 | modprobe: FATAL: Module openvswitch is in use.
2016-05-16 08:20:14.850 | +/opt/stack/dragonflow/devstack/ovs_setup.sh:_neutron_ovs_install_ovs:1 exit_trap
2016-05-16 08:20:14.856 | +./stack.sh:exit_trap:473 local r=1
2016-05-16 08:20:14.863 | ++./stack.sh:exit_trap:474 jobs -p
2016-05-16 08:20:14.870 | +./stack.sh:exit_trap:474 jobs=
2016-05-16 08:20:14.876 | +./stack.sh:exit_trap:477 [[ -n '' ]]
2016-05-16 08:20:14.883 | +./stack.sh:exit_trap:483 kill_spinner
2016-05-16 08:20:14.890 | +./stack.sh:kill_spinner:369 '[' '!' -z '' ']'
2016-05-16 08:20:14.896 | +./stack.sh:exit_trap:485 [[ 1 -ne 0 ]]
2016-05-16 08:20:14.903 | +./stack.sh:exit_trap:486 echo 'Error on exit'
2016-05-16 08:20:14.903 | Error on exit
2016-05-16 08:20:14.910 | +./stack.sh:exit_trap:487 generate-subunit 1463386642 172 fail
2016-05-16 08:20:15.114 | +./stack.sh:exit_trap:488 [[ -z /opt/stack/logs ]]
2016-05-16 08:20:15.121 | +./stack.sh:exit_trap:491 /home/stack/devstack/tools/worlddump.py -d /opt/stack/logs
2016-05-16 08:20:15.460 | +./stack.sh:exit_trap:497 exit 1

lei zhang (zhang-lei)
Changed in dragonflow:
assignee: nobody → lei zhang (zhang-lei)
Yuli (stremovsky)
Changed in dragonflow:
importance: Undecided → Medium
Revision history for this message
Li Ma (nick-ma-z) wrote :

zhang lei: are you working on it? I'd like to fix it asap, because my devstack failed every time.

Revision history for this message
Hong Hui Xiao (xiaohhui) wrote :

This is actually a duplicated bug of bug 1555001.

Changed in dragonflow:
assignee: lei zhang (zhang-lei) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.