Skip to content

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

@eshikafe

Description

@eshikafe

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions