Re: [vpp-dev] mpls tunnel in l2 mode del error

2017-12-13 Thread 薛欣颖
Hi Neale,

After remove the tunnel from the bridge domain, the problem solved. 

Thanks,
Xyxue
From: Neale Ranns (nranns)
Date: 2017-12-13 17:33
To: 薛欣颖; vpp-dev
Subject: Re: [vpp-dev] mpls tunnel in l2 mode del error
Hi Xyxue,
 
Did you remove the tunnel from the bridge before it was deleted?
 
/neale
 
From: <vpp-dev-boun...@lists.fd.io> on behalf of 薛欣颖 <xy...@fiberhome.com>
Date: Wednesday, 13 December 2017 at 04:14
To: vpp-dev <vpp-dev@lists.fd.io>
Subject: [vpp-dev] mpls tunnel in l2 mode del error
 
 
Hi guys,

I'm testing L2VPN. After I del the mpls tunnel ,there is a 'signal SIGABRT'. My 
configuration and more info is shown below:

configuration:
create host-interface name eth2 mac 00:0c:29:0f:e2:a8 
create host-interface name eth5 mac 00:0c:29:0f:e2:c6 
set interface state host-eth2 up 
set interface state host-eth5 up 
mpls table add 0 
set interface mpls host-eth2 enable 
set interface ip address host-eth2 14.1.1.2/24 
mpls local-label add non-eos 33 mpls-lookup-in-table 0 
create bridge-domain 1 
set interface l2 bridge host-eth5 1 
create mpls tunnel out-label 1023 out-label 1053 via 14.1.1.1 host-eth2 l2-only 
set interface l2 bridge mpls-tunnel0 1 
mpls local-label add eos 53 l2-input-on mpls-tunnel0 
set interface state mpls-tunnel0 up


Program received signal SIGABRT, Aborted. 
0x2b871bf02c37 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56 
56 ../nptl/sysdeps/unix/sysv/linux/raise.c:  
(gdb) bt 
#0 0x2b871bf02c37 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56 
#1 0x2b871bf06028 in __GI_abort () at abort.c:89 
#2 0x00406e8b in os_panic () at 
/home/VPP/build-data/../src/vpp/vnet/main.c:294 
#3 0x2b871b820b88 in debugger () at 
/home/VPP/build-data/../src/vppinfra/error.c:84 
#4 0x2b871b820f8f in _clib_error (how_to_die=2, function_name=0x0, 
line_number=0, fmt=0x2b871b462138 "%s:%d (%s) assertion `%s' fails") 
at /home/VPP/build-data/../src/vppinfra/error.c:143 
#5 0x2b871b14c2b0 in mpls_tunnel_tx (vm=0x2b871adab7e0 , 
node=0x2b871d024200, frame=0x2b871d8a7240) 
at /home/VPP/build-data/../src/vnet/mpls/mpls_tunnel.c:490 
#6 0x2b871ab2d178 in dispatch_node (vm=0x2b871adab7e0 , 
node=0x2b871d024200, type=VLIB_NODE_TYPE_INTERNAL, 
dispatch_state=VLIB_NODE_STATE_POLLING, 
frame=0x2b871d8a7240, last_time_stamp=60292005734565) at 
/home/VPP/build-data/../src/vlib/main.c:1010 
#7 0x2b871ab2d75b in dispatch_pending_node (vm=0x2b871adab7e0 
, pending_frame_index=6, last_time_stamp=60292005734565) 
at /home/VPP/build-data/../src/vlib/main.c:1160 
#8 0x2b871ab2f90b in vlib_main_or_worker_loop (vm=0x2b871adab7e0 
, is_main=1) at /home/VPP/build-data/../src/vlib/main.c:1629 
#9 0x2b871ab2f9ba in vlib_main_loop (vm=0x2b871adab7e0 ) 
at /home/VPP/build-data/../src/vlib/main.c:1648 
#10 0x2b871ab30103 in vlib_main (vm=0x2b871adab7e0 , 
input=0x2b871ce96fb0) at /home/VPP/build-data/../src/vlib/main.c:1806 
#11 0x2b871ab72680 in thread0 (arg=47859271120864) at 
/home/VPP/build-data/../src/vlib/unix/main.c:617 
#12 0x2b871b835560 in clib_calljmp () at 
/home/VPP/build-data/../src/vppinfra/longjmp.S:128 
#13 0x7fffe00f3af0 in ?? () 
#14 0x2b871ab72b2a in vlib_unix_main (argc=4, argv=0x7fffe00f4d88) at 
/home/VPP/build-data/../src/vlib/unix/main.c:681 
#15 0x00406b67 in main (argc=4, argv=0x7fffe00f4d88) at 
/home/VPP/build-data/../src/vpp/vnet/main.c:233 
(gdb) 

Thanks,
Xyxue


___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] mpls tunnel in l2 mode del error

2017-12-13 Thread Neale Ranns (nranns)
Hi Xyxue,

Did you remove the tunnel from the bridge before it was deleted?

/neale

From: <vpp-dev-boun...@lists.fd.io> on behalf of 薛欣颖 <xy...@fiberhome.com>
Date: Wednesday, 13 December 2017 at 04:14
To: vpp-dev <vpp-dev@lists.fd.io>
Subject: [vpp-dev] mpls tunnel in l2 mode del error


Hi guys,

I'm testing L2VPN. After I del the mpls tunnel ,there is a 'signal SIGABRT'. My 
configuration and more info is shown below:

configuration:
create host-interface name eth2 mac 00:0c:29:0f:e2:a8
create host-interface name eth5 mac 00:0c:29:0f:e2:c6
set interface state host-eth2 up
set interface state host-eth5 up
mpls table add 0
set interface mpls host-eth2 enable
set interface ip address host-eth2 14.1.1.2/24
mpls local-label add non-eos 33 mpls-lookup-in-table 0
create bridge-domain 1
set interface l2 bridge host-eth5 1
create mpls tunnel out-label 1023 out-label 1053 via 14.1.1.1 host-eth2 l2-only
set interface l2 bridge mpls-tunnel0 1
mpls local-label add eos 53 l2-input-on mpls-tunnel0
set interface state mpls-tunnel0 up


Program received signal SIGABRT, Aborted.
0x2b871bf02c37 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c:
(gdb) bt
#0 0x2b871bf02c37 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x2b871bf06028 in __GI_abort () at abort.c:89
#2 0x00406e8b in os_panic () at 
/home/VPP/build-data/../src/vpp/vnet/main.c:294
#3 0x2b871b820b88 in debugger () at 
/home/VPP/build-data/../src/vppinfra/error.c:84
#4 0x2b871b820f8f in _clib_error (how_to_die=2, function_name=0x0, 
line_number=0, fmt=0x2b871b462138 "%s:%d (%s) assertion `%s' fails")
at /home/VPP/build-data/../src/vppinfra/error.c:143
#5 0x2b871b14c2b0 in mpls_tunnel_tx (vm=0x2b871adab7e0 , 
node=0x2b871d024200, frame=0x2b871d8a7240)
at /home/VPP/build-data/../src/vnet/mpls/mpls_tunnel.c:490
#6 0x2b871ab2d178 in dispatch_node (vm=0x2b871adab7e0 , 
node=0x2b871d024200, type=VLIB_NODE_TYPE_INTERNAL, 
dispatch_state=VLIB_NODE_STATE_POLLING,
frame=0x2b871d8a7240, last_time_stamp=60292005734565) at 
/home/VPP/build-data/../src/vlib/main.c:1010
#7 0x2b871ab2d75b in dispatch_pending_node (vm=0x2b871adab7e0 
, pending_frame_index=6, last_time_stamp=60292005734565)
at /home/VPP/build-data/../src/vlib/main.c:1160
#8 0x2b871ab2f90b in vlib_main_or_worker_loop (vm=0x2b871adab7e0 
, is_main=1) at /home/VPP/build-data/../src/vlib/main.c:1629
#9 0x2b871ab2f9ba in vlib_main_loop (vm=0x2b871adab7e0 ) 
at /home/VPP/build-data/../src/vlib/main.c:1648
#10 0x2b871ab30103 in vlib_main (vm=0x2b871adab7e0 , 
input=0x2b871ce96fb0) at /home/VPP/build-data/../src/vlib/main.c:1806
#11 0x2b871ab72680 in thread0 (arg=47859271120864) at 
/home/VPP/build-data/../src/vlib/unix/main.c:617
#12 0x2b871b835560 in clib_calljmp () at 
/home/VPP/build-data/../src/vppinfra/longjmp.S:128
#13 0x7fffe00f3af0 in ?? ()
#14 0x2b871ab72b2a in vlib_unix_main (argc=4, argv=0x7fffe00f4d88) at 
/home/VPP/build-data/../src/vlib/unix/main.c:681
#15 0x00406b67 in main (argc=4, argv=0x7fffe00f4d88) at 
/home/VPP/build-data/../src/vpp/vnet/main.c:233
(gdb)

Thanks,
Xyxue

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] mpls tunnel in l2 mode del error

2017-12-12 Thread 薛欣颖

Hi guys,

I'm testing L2VPN. After I del the mpls tunnel ,there is a 'signal SIGABRT'. My 
configuration and more info is shown below:

configuration:
create host-interface name eth2 mac 00:0c:29:0f:e2:a8 
create host-interface name eth5 mac 00:0c:29:0f:e2:c6 
set interface state host-eth2 up 
set interface state host-eth5 up 
mpls table add 0 
set interface mpls host-eth2 enable 
set interface ip address host-eth2 14.1.1.2/24 
mpls local-label add non-eos 33 mpls-lookup-in-table 0 
create bridge-domain 1 
set interface l2 bridge host-eth5 1 
create mpls tunnel out-label 1023 out-label 1053 via 14.1.1.1 host-eth2 l2-only 
set interface l2 bridge mpls-tunnel0 1 
mpls local-label add eos 53 l2-input-on mpls-tunnel0 
set interface state mpls-tunnel0 up


Program received signal SIGABRT, Aborted. 
0x2b871bf02c37 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56 
56 ../nptl/sysdeps/unix/sysv/linux/raise.c:  
(gdb) bt 
#0 0x2b871bf02c37 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56 
#1 0x2b871bf06028 in __GI_abort () at abort.c:89 
#2 0x00406e8b in os_panic () at 
/home/VPP/build-data/../src/vpp/vnet/main.c:294 
#3 0x2b871b820b88 in debugger () at 
/home/VPP/build-data/../src/vppinfra/error.c:84 
#4 0x2b871b820f8f in _clib_error (how_to_die=2, function_name=0x0, 
line_number=0, fmt=0x2b871b462138 "%s:%d (%s) assertion `%s' fails") 
at /home/VPP/build-data/../src/vppinfra/error.c:143 
#5 0x2b871b14c2b0 in mpls_tunnel_tx (vm=0x2b871adab7e0 , 
node=0x2b871d024200, frame=0x2b871d8a7240) 
at /home/VPP/build-data/../src/vnet/mpls/mpls_tunnel.c:490 
#6 0x2b871ab2d178 in dispatch_node (vm=0x2b871adab7e0 , 
node=0x2b871d024200, type=VLIB_NODE_TYPE_INTERNAL, 
dispatch_state=VLIB_NODE_STATE_POLLING, 
frame=0x2b871d8a7240, last_time_stamp=60292005734565) at 
/home/VPP/build-data/../src/vlib/main.c:1010 
#7 0x2b871ab2d75b in dispatch_pending_node (vm=0x2b871adab7e0 
, pending_frame_index=6, last_time_stamp=60292005734565) 
at /home/VPP/build-data/../src/vlib/main.c:1160 
#8 0x2b871ab2f90b in vlib_main_or_worker_loop (vm=0x2b871adab7e0 
, is_main=1) at /home/VPP/build-data/../src/vlib/main.c:1629 
#9 0x2b871ab2f9ba in vlib_main_loop (vm=0x2b871adab7e0 ) 
at /home/VPP/build-data/../src/vlib/main.c:1648 
#10 0x2b871ab30103 in vlib_main (vm=0x2b871adab7e0 , 
input=0x2b871ce96fb0) at /home/VPP/build-data/../src/vlib/main.c:1806 
#11 0x2b871ab72680 in thread0 (arg=47859271120864) at 
/home/VPP/build-data/../src/vlib/unix/main.c:617 
#12 0x2b871b835560 in clib_calljmp () at 
/home/VPP/build-data/../src/vppinfra/longjmp.S:128 
#13 0x7fffe00f3af0 in ?? () 
#14 0x2b871ab72b2a in vlib_unix_main (argc=4, argv=0x7fffe00f4d88) at 
/home/VPP/build-data/../src/vlib/unix/main.c:681 
#15 0x00406b67 in main (argc=4, argv=0x7fffe00f4d88) at 
/home/VPP/build-data/../src/vpp/vnet/main.c:233 
(gdb) 

Thanks,
Xyxue


___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev