Hmm, the cause which becomes an AssertionError by dpset.py is not known. If the value of MAX_SUSPENDPACKETS is made low, what will happen? https://github.com/osrg/ryu/blob/master/ryu/app/rest_router.py#L113
MAX_SUSPENDPACKETS controls the number of ARP transmission. thanks. On Thu, 07 Nov 2013 18:53:12 +0900 wataru yamamoto <[email protected]> wrote: > I am using the newest rest_router.py. Usually, it has started correctly. > > However, if communication which raised bandwidh using the iperf command etc, > rest_router.py may be downed as follows. > > At this time, I think that the ARP packet has overflowed in the network > by the side of OpenFlowSwitch node. > > How should it be coped with? > > ---------------------------------------------------------------- > ~$ ryu-manager --version > ryu-manager 3.3 > ~$ ryu-manager ryu/ryu/app/rest_router.py > loading app ryu/ryu/app/rest_router.py > loading app ryu.controller.ofp_handler > creating context dpset > creating context wsgi > instantiating app ryu/ryu/app/rest_router.py > instantiating app ryu.controller.ofp_handler > (2606) wsgi starting up on http://0.0.0.0:8080/ > [RT][INFO] switch_id=0123456789abcd03: Set SW config for TTL error packet in. > ... > [RT][INFO] switch_id=0123456789abcd02: Send ARP request (flood) > [RT][INFO] switch_id=0123456789abcd02: Receive IP packet from [192.168.200.2] > to an internal host > [192.168.204.2]. > [RT][INFO] switch_id=0123456789abcd02: Send ARP request (flood) > [RT][INFO] switch_id=0123456789abcd02: Receive IP packet from [192.168.200.2] > to an internal host > [192.168.204.2]. > [RT][INFO] switch_id=0123456789abcd02: Send ARP request (flood) > [RT][INFO] switch_id=0123456789abcd02: Receive IP packet from [192.168.200.2] > to an internal host > [192.168.204.2]. > [RT][INFO] switch_id=0123456789abcd02: Send ARP request (flood) > [RT][INFO] switch_id=0123456789abcd02: Receive IP packet from [192.168.200.2] > to an internal host > [192.168.204.2]. > [RT][INFO] switch_id=0123456789abcd02: Send ARP request (flood) > ... > [RT][INFO] switch_id=0123456789abcd02: Packet is dropped, MAX_SUSPENDPACKETS > exceeded. > [RT][INFO] switch_id=0123456789abcd02: Packet is dropped, MAX_SUSPENDPACKETS > exceeded. > [RT][INFO] switch_id=0123456789abcd02: Packet is dropped, MAX_SUSPENDPACKETS > exceeded. > [RT][INFO] switch_id=0123456789abcd02: Packet is dropped, MAX_SUSPENDPACKETS > exceeded. > [RT][INFO] switch_id=0123456789abcd02: Packet is dropped, MAX_SUSPENDPACKETS > exceeded. > ... > [RT][INFO] switch_id=0123456789abcd02: Packet is dropped, MAX_SUSPENDPACKETS > exceeded. > [RT][INFO] switch_id=0123456789abcd02: Packet is dropped, MAX_SUSPENDPACKETS > exceeded. > [RT][INFO] switch_id=0123456789abcd02: Set implicit routing flow [cookie=0x3] > [RT][INFO] switch_id=0123456789abcd02: Receive ARP reply from [192.168.204.2] > to router port > [192.168.204.1]. > [RT][INFO] switch_id=0123456789abcd02: Send suspend packet to [192.168.204.2]. > [RT][INFO] switch_id=0123456789abcd02: Send suspend packet to [192.168.204.2]. > [RT][INFO] switch_id=0123456789abcd02: Send suspend packet to [192.168.204.2]. > ... > [RT][INFO] switch_id=0123456789abcd02: Send suspend packet to [192.168.204.2]. > [RT][INFO] switch_id=0123456789abcd02: Send suspend packet to [192.168.204.2]. > [RT][INFO] switch_id=0123456789abcd02: Set implicit routing flow [cookie=0x3] > [RT][INFO] switch_id=0123456789abcd02: Receive ARP reply from [192.168.204.2] > to router port > [192.168.204.1]. > [RT][INFO] switch_id=0123456789abcd02: Set implicit routing flow [cookie=0x3] > ... > [RT][INFO] switch_id=0123456789abcd02: Receive ARP reply from [192.168.204.2] > to router port > [192.168.204.1]. > [RT][INFO] switch_id=0123456789abcd02: Receive IP packet from [192.168.200.2] > to an internal host > [192.168.204.2]. > [RT][INFO] switch_id=0123456789abcd02: Send ARP request (flood) > [RT][INFO] switch_id=0123456789abcd02: Receive IP packet from [192.168.200.2] > to an internal host > [192.168.204.2]. > [RT][INFO] switch_id=0123456789abcd02: Send ARP request (flood) > [RT][INFO] switch_id=0123456789abcd02: Receive IP packet from [192.168.200.2] > to an internal host > [192.168.204.2]. > [RT][INFO] switch_id=0123456789abcd02: Send ARP request (flood) > ... > [RT][INFO] switch_id=0123456789abcd02: Send ARP request (flood) > [RT][INFO] switch_id=0123456789abcd02: Set implicit routing flow [cookie=0x3] > [RT][INFO] switch_id=0123456789abcd02: Receive ARP reply from [192.168.204.2] > to router port > [192.168.204.1]. > [RT][INFO] switch_id=0123456789abcd02: ARP reply wait timer was timed out. > [RT][INFO] switch_id=0123456789abcd02: ARP reply wait timer was timed out. > [RT][INFO] switch_id=0123456789abcd02: ARP reply wait timer was timed out. > [RT][INFO] switch_id=0123456789abcd02: ARP reply wait timer was timed out. > [RT][INFO] switch_id=0123456789abcd02: ARP reply wait timer was timed out. > [RT][INFO] switch_id=0123456789abcd02: ARP reply wait timer was timed out. > ... > [RT][INFO] switch_id=0123456789abcd02: ARP reply wait timer was timed out. > [RT][INFO] switch_id=0123456789abcd02: ARP reply wait timer was timed out. > hub: uncaught exception: Traceback (most recent call last): > File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 48, in > _launch > func(*args, **kwargs) > File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py", > line 110, in _event_loop > handler(ev) > File "/usr/local/lib/python2.7/dist-packages/ryu/controller/dpset.py", > line 157, in dispacher_change > self.register(datapath) > File "/usr/local/lib/python2.7/dist-packages/ryu/controller/dpset.py", > line 100, in register > assert dp.id not in self.dps > AssertionError > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Ryu-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
