Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-20 Thread Sastry Sista
[Edited Message Follows] Hi Florin, I found the root cause of that crash. Its due to session token. If I have session{  xxx...}, VPP crashes as we are always expecting a space session token and "{ " . May be this problem is common for all tokens. Regarding my TCP session, I have session is up

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-20 Thread Sastry Sista
Hi Florin, I found the root cause of that crash. Its due to session token. If I have session{  xxx...}, I crash as we are always expecting a space session token and "{ " . May be this problem is common for all tokens. Regarding my TCP session, I have session is up and could send data over it. I

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-06 Thread Florin Coras
Hi Sastry, That is pretty weird. Re-check your extended config to make sure it doesn’t have any errors in it. VCL is part of our CI so most probably the issue is some misconfiguration. For older releases you do need to explicitly ask that the event queues be allocated in a memfd segment,

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-06 Thread Sastry Sista
Hi Florin, Once I have session info as below, I am not seeing vpp crash. session { evt_qs_memfd_seg } I am good now and not seeing unsupported application config message also. If I have any other param or empty params, vpp crashes. I think, we need to address this in later vpp versions. COuld

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Sastry Sista
Hi Florin, Both of these are not hit. So, is it config object crash? With Regards Sastry -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19348): https://lists.fd.io/g/vpp-dev/message/19348 Mute This Topic: https://lists.fd.io/mt/82575076/21656

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Florin Coras
[vpp-dev moved to bcc because this is becoming quite noisy for the list.] session_main_init and session_manager_main_enable. Regards, Florin > On May 5, 2021, at 8:49 AM, Sastry Sista wrote: > > Hi Florin, > I am running in gdb only. > > last few lines in gdb: > >

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Sastry Sista
Hi Florin, I am running in gdb only. last few lines in gdb: fdio/src/fdio.2005/build-root/ install-vpp_debug-native/vpp/ bin/vpp[2240]: dpdk: EAL init args: -c 6 -n 4 --in-memory --file-prefix vpp -w :00:06.0 -w :00:09.0 --master-lcore 1 [New Thread 0x7ffbf21ff700 (LWP 2244)] [New

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Florin Coras
Try running vpp from gdb or, as previously recommended, try upgrading to latest version. Regards, Florin > On May 5, 2021, at 8:41 AM, Sastry Sista wrote: > > Hi Florin, > I am not seeing even backtrace. bt is just empty now. > Also I have just added session { } with

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Sastry Sista
Hi Florin, I am not seeing even backtrace. bt is just empty now. Also I have just added session { } with empty params and seeing same exit. No clues at vpp. is there any params that I need to add along with session so that it does not exit? With Regards Sastry -=-=-=-=-=-=-=-=-=-=-=- Links:

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Florin Coras
Hi Sastry, Can’t do much without a backtrace. Also, not entirely sure how vcl got a reply if vpp crashed. Session layer is the main component of the host stack that keeps track of external apps and facilitates the exchange of data and notifications between apps (like vcl) and transports. So

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Sastry Sista
Hi Florin, I tried to add session layer at vpp as below: session { session-baseva 0x20 evt_qs_memfd_seg event-queue-length 10 } vpp is still crashing and not able to run vpp. Also, is session layer important for VCL application to run? I am still seeing

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Florin Coras
Hi Sastry, As a first step, since you’ve just started development, I’d switch to vpp latest to get recent features and fixes. Regarding the issue you’re hitting, in older releases you had to explicitly request memfd type of segment for the event queues (evt_qs_memfd_seg). Recently that has

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-05 Thread Sastry Sista
Hi Florin, Thank you for the reply. I am trying to develop similar kind of envoy app using VCL. So, I need both socket option for binary API and shared client for rx/tx for TCP data. So, I need use-mq-eventfd at vcl.conf right?. ANyway I tried removing it but still same

Re: [vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-04 Thread Florin Coras
Hi, Is there anything configured on vpp side for session layer? Is this vpp 21.06rc0 or something older? The error number seems to suggest an older release. One option would be to just comment out use-mq-eventfd and see if that fixes the issue. Message queue eventfds should work with the

[vpp-dev] vcl_test_client is failing with Unsupported application config (-108) #vppcom

2021-05-04 Thread sastry . sista
Hi, I am trying to use vcl_test_client and using below vcl config: While trying to run seeing the below error: vppcom_connect_to_vpp:502: vcl<1876:0>: app (vcl_test_client) is connected to VPP! vppcom_app_create:1203: vcl<1876:0>: sending session enable vppcom_app_create:1211: vcl<1876:0>: