assertion in contrail-control when service chaining network with IPv6 subnet
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.0 |
Fix Released
|
High
|
Nischal Sheth | |||
R2.1 |
Fix Released
|
High
|
Nischal Sheth | |||
Trunk |
Fix Committed
|
High
|
Nischal Sheth | |||
OpenContrail |
Fix Released
|
High
|
Nischal Sheth |
Bug Description
Running contrail 2.0 on Ubuntu 14.04 (contrail-
Added a service in a policy that chains two virtual networks which happen to have an IPv6 subnet assigned in addition to IPv4 subnet.
While its understood that service chaining for IPv6 isn't supported in 2.0, it should simply ignore IPv6 or report an error instead of hitting an assert that stops contrail-control.
root@rs:~# gdb /usr/bin/
GNU gdb (Ubuntu 7.7.1-0ubuntu5~
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/
warning: core file may not match specified executable file.
[New LWP 14380]
[New LWP 14378]
[New LWP 14371]
[New LWP 14379]
[New LWP 14377]
[New LWP 14375]
[New LWP 14386]
[New LWP 14385]
[New LWP 14381]
[New LWP 14374]
[New LWP 14382]
[New LWP 14383]
[New LWP 14384]
[New LWP 14376]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
Core was generated by `/usr/bin/
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f976b1b7bb9 in __GI_raise (sig=sig@entry=6) at ../nptl/
56 ../nptl/
(gdb) where
#0 0x00007f976b1b7bb9 in __GI_raise (sig=sig@entry=6) at ../nptl/
#1 0x00007f976b1bafc8 in __GI_abort () at abort.c:89
#2 0x00007f976b1b0a76 in __assert_fail_base (fmt=0x7f976b3022b0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=
file=
function=
#3 0x00007f976b1b0b22 in __GI___assert_fail (assertion=0xa9a93e "ec == 0", file=0xa99828 "controller/
function=
at assert.c:101
#4 0x000000000079f62e in ?? ()
#5 0x000000000079f970 in ?? ()
#6 0x00000000007a0058 in ?? ()
#7 0x0000000000a25f5f in ?? ()
#8 0x0000000000a210d0 in ?? ()
#9 0x00007f976bf8fb3a in ?? () from /usr/lib/
#10 0x00007f976bf8b816 in ?? () from /usr/lib/
#11 0x00007f976bf8af4b in ?? () from /usr/lib/
#12 0x00007f976bf870ff in ?? () from /usr/lib/
#13 0x00007f976bf872f9 in ?? () from /usr/lib/
#14 0x00007f976c1ab182 in start_thread (arg=0x7f976362
#15 0x00007f976b27befd in clone () at ../sysdeps/
(gdb)
Changed in opencontrail: | |
importance: | Undecided → High |
Changed in juniperopenstack: | |
importance: | Undecided → High |
assignee: | nobody → Nischal Sheth (nsheth) |
Changed in opencontrail: | |
assignee: | nobody → Nischal Sheth (nsheth) |
Changed in opencontrail: | |
status: | Triaged → In Progress |
Changed in opencontrail: | |
status: | In Progress → Fix Committed |
Changed in opencontrail: | |
status: | Fix Committed → Fix Released |
The list of prefixes in the service chain config contains both v4 and
v6 subnets. The service chain code in the control node asserts when
it sees the v6 subnet.