Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start the vpp-agent Docker container in WSL #1859

Open
eshikafe opened this issue Jul 16, 2022 · 0 comments
Open

Unable to start the vpp-agent Docker container in WSL #1859

eshikafe opened this issue Jul 16, 2022 · 0 comments

Comments

@eshikafe
Copy link

Hello,

I tried following the Ligato Quick Guide document to experiment with the vpp-agent. However, the vpp-agent container is unable to start. It throws the following errors:

austin:~$ sudo docker run -it --rm --name vpp-agent -p 5002:5002 -p 9191:9191 --privileged ligato/vpp-agent
INFO[0000] Starting agent version: v0.0.0-dev            BuildDate= CommitHash= logger=agent
INFO[0000] Agent started with 2 plugins (took 0s)        logger=agent
                                       __
  _  _____  ___ _______ ____ ____ ___ / /_
 | |/ / _ \/ _ /___/ _ '/ _ '/ -_/ _ / __/  vpp-agent v3.4.0-alpha-9-g9f3905d39
 |___/ .__/ .__/   \_'_/\_' /\__/_//_\__/   Fri Jul 15 07:39:23 UTC 2022 (1 days ago)
    /_/  /_/           /___/                root@buildkitsandbox (go1.17.6 linux/amd64)

time="2022-07-16 13:02:03.24092" level=info msg="Starting agent version: v3.4.0-alpha-9-g9f3905d39" BuildDate="Fri Jul 15 07:39:23 UTC 2022" CommitHash=9f3905d logger=agent
time="2022-07-16 13:02:03.24511" level=info msg="Connected to Etcd (took 1.0958ms)" endpoints="[172.17.0.1:2379]" logger=etcd
/usr/bin/vpp[16]: perfmon: skipping source 'intel-uncore' - intel_uncore_init: failed to discover numa topology
/usr/bin/vpp[16]: perfmon: skipping source 'intel-uncore' - intel_uncore_init: failed to discover numa topology
/usr/bin/vpp[16]: vat-plug/load: vat_plugin_register: oddbuf plugin not loaded...
/usr/bin/vpp[16]: vat-plug/load: vat_plugin_register: oddbuf plugin not loaded...
time="2022-07-16 13:02:18.24221" level=error msg="Agent failed to start before timeout (15s) last plugin: etcd" logger=agent
INFO[0017] Signal terminated received, stopping.         logger=agent
INFO[0017] Stopping agent                                logger=agent
INFO[0017] stopping programs                             logger=supervisor
/usr/bin/vpp[16]: received SIGTERM, exiting...
/usr/bin/vpp[16]: received SIGTERM, exiting...
/usr/bin/vpp[16]: unix_signal_handler:190: received signal SIGTERM, PC 0x7f7484a80240
/usr/bin/vpp[16]: unix_signal_handler:190: received signal SIGTERM, PC 0x7f7484a80240
INFO[0017] Agent stopped                                 logger=agent

My setup is WSL (Windows Subsystem for Linux(Ubuntu Focal) on Windows 10.

austin:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04 LTS
Release:        20.04
Codename:       focal
austin:~$

The etcd container is okay.

austin:~$ sudo docker exec -it etcd etcdctl version
[sudo] password for austin:
etcdctl version: 3.3.8
API version: 3.3
austin:~$ sudo docker exec -it etcd etcdctl endpoint health
127.0.0.1:2379 is healthy: successfully committed proposal: took = 533.7µs
austin:~$

Please what could be wrong? Thanks.

@eshikafe eshikafe changed the title Unable to start the vpp-agent Docker container on WSL Unable to start the vpp-agent Docker container in WSL Jul 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants