Hi
Setup details :-
Two dockers created using following commands
*vpp docker *

*creation :-*
docker run --privileged -it -d -v /var/run:/var/run -v /dev:/dev -v
/dev/shm:/dev/shm --cap-add=CAP_SYS_ADMIN --cap-add=CAP_NET_ADMIN --name
vpp-run-c1 vpp-run:1.0 /usr/sbin/init

*VPP Libraries installed*
[root@aa7c1125718d vpp-rpm]# rpm -qa | grep vpp
vpp-lib-21.06-rc0~27_g7b0fa55.x86_64
vpp-plugins-21.06-rc0~27_g7b0fa55.x86_64
vpp-api-python3-21.06-rc0~27_g7b0fa55.x86_64
vpp-debuginfo-21.06-rc0~27_g7b0fa55.x86_64
vpp-selinux-policy-21.06-rc0~27_g7b0fa55.x86_64
vpp-21.06-rc0~27_g7b0fa55.x86_64
vpp-api-lua-21.06-rc0~27_g7b0fa55.x86_64
vpp-devel-21.06-rc0~27_g7b0fa55.x86_64
[root@aa7c1125718d vpp-rpm]#

*startup.conf*

unix {
  nodaemon
  interactive
  log /var/log/vpp/vpp.log
  full-coredump
  cli-listen localhost:5002
}
dpdk {
   dev 0000:00:08.0
   uio-driver igb_uio
}
logging {
  default-syslog-log-level info
  default-log-level info
}
session {
  enable
}
api-trace {
  on
}

vcl.conf

vcl {
  max-workers 1
  use-app-socket-api
}


*vcl-server docker*
*Creation*
docker run -it -d -v /var/run:/var/run -v /dev/shm:/dev/shm --name
vcl-server-1 stackpod-img:1.0

*VPP Libraries installed*
  [root@8a41dfa6780e vcl-server]# rpm -qa | grep vpp
vpp-lib-21.06-rc0~27_g7b0fa55.x86_64
vpp-selinux-policy-21.06-rc0~27_g7b0fa55.x86_64
[root@8a41dfa6780e vcl-server]#

vcl.conf is present but empty. It is present in /etc/vpp/vcl.conf

We are getting following error when starting the vcl_test_server // please
we are trying to bringup the basic
[root@8a41dfa6780e vcl-server]# ./vcl_test_server -p tcp 1234
vcl_bapi_init:604: vcl<682:0>: ERROR couldn't connect to VPP!
ERROR when calling vppcom_app_create(): Invalid argument

ERROR: vppcom_app_create() failed (errno = 22)!
Segmentation fault (core dumped)
[root@8a41dfa6780e vcl-server]#


It would nice, if somebody told us what might be missing or what is the
additional information required.

Thanks,
Regards,
Venu
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18422): https://lists.fd.io/g/vpp-dev/message/18422
Mute This Topic: https://lists.fd.io/mt/79200852/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to