Hi All,

I have set up Contrail 3.0 DPDK environment in Centos 7.1 with kernel version 
3.10.0-229.el7.x86_64.  Now I want to verify the simple gateway function.
I found that one issue that it failed to create vgw interface with return-code 
is 0.  Please my logs:


/var/log/contrail.log


Thu Jun 16 18:52:05 HKT 2016: Value 192.168.10.0/27
Thu Jun 16 18:52:05 HKT 2016: Creating VGW Intreface as VGW Subnet is present
++ date
+ echo 'Thu Jun 16 18:52:05 HKT 2016: Adding intrefacevgw for virtual gateway'
Thu Jun 16 18:52:05 HKT 2016: Adding intrefacevgw for virtual gateway
+ echo 1
+ vgw_array=(${vgw_subnet_ip//,/ })
+ vgw_intf_array=(${vgw_intf//,/ })
+ i=0
+ (( i=0 ))
+ (( i<1 ))
+ vif --create vgw --mac 00:00:5e:00:01:00
+ '[' 0 '!=' 0 ']'
+ ifconfigvgw up
vgw: ERROR while getting interface flags: No such device
+ vgw_subnet=192.168.10.0/27
+ echo 192.168.10.0/27
192.168.10.0/27
++ echo 192.168.10.0/27
++ tr ';' '\n'
+ vgw_subnet_array=192.168.10.0/27
+ for element in '$vgw_subnet_array'
++ date
+ echo 'Thu Jun 16 18:52:10 HKT 2016: Adding route for 192.168.10.0/27 with 
interface vgw'
Thu Jun 16 18:52:10 HKT 2016: Adding route for 192.168.10.0/27 with interface 
vgw
+ route add -net 192.168.10.0/27 dev vgw
SIOCADDRT: No such device


/var/log/message


un 16 18:52:05 computer1 supervisor-vrouter: ++ date
Jun 16 18:52:05 computer1 supervisor-vrouter: + echo 'Thu Jun 16 18:52:05 HKT 
2016: Value 192.168.10.0/27'
Jun 16 18:52:05 computer1 supervisor-vrouter: + '[' 192.168.10.0/27 '!=' 
__VGW_SUBNET_IP__ ']'
Jun 16 18:52:05 computer1 supervisor-vrouter: ++ date
Jun 16 18:52:05 computer1 supervisor-vrouter: + echo 'Thu Jun 16 18:52:05 HKT 
2016: Creating VGW Intreface as VGW Subnet is present'
Jun 16 18:52:05 computer1 supervisor-vrouter: + create_virtual_gateway
Jun 16 18:52:05 computer1 kernel: contrail-vroute[24368]: segfault at 0 ip 
00002b04e3a77ada sp 00002b04e490e4b8 error 4 in 
libc-2.17.so[2b04e3945000+1b7000]
Jun 16 18:52:08 computer1 journal: EVENT_POLL_DISPATCH_TIMEOUT: timer=17


I though it was one bug, I pulled the R 3.0 branch from GitHub in about May 20.
Did someone else meet this issue ? Any suggestion   is welcome.


Thanks


Andy Wang



_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to