Skip to content

Doesn't work with pure VPP docker container #11

Open
@fgschwan

Description

@fgschwan

How to repoduce:
docker run -d --name vpp -P --privileged ligato/vpp-base:20.09
vpp-probe --env docker -D discover

What was expected:
working UI showing info about VPP running in docker container

What i got:
Failure:

➜  ~ docker run -d --name vpp -P --privileged ligato/vpp-base:20.09
0e66ea6ddba7d7327983c28bcb6a4e02162ba6a305025276ab9d79bf80b0d57a
➜  ~ vpp-probe --env docker -D discover                            
DEBU[0000] resolved env: docker                         
DEBU[0000] adding 1 providers                           
DEBU[0000] docker provider unix:///var/run/docker.sock@dev-VirtualBox connected 
DEBU[0000] -> 0 queries to run                          
DEBU[0000] running query:                               
DEBU[0000] listing containers (options: {All:false Size:false Limit:0 Since: Before: Filters:map[] Context:<nil>}) 
DEBU[0000] 1 containers listed                          
DEBU[0000] found 1 containers                           
DEBU[0000] connecting to proxy 172.17.0.2:9191           container=/vpp
DEBU[0000] Binary API init error: connecting to proxy failed: connection error:dial tcp 172.17.0.2:9191: connect: connection refused 
DEBU[0000] connecting to proxy 172.17.0.2:9191           container=/vpp
DEBU[0000] Stats API init error: connecting to proxy failed: connection error:dial tcp 172.17.0.2:9191: connect: connection refused 
DEBU[0000] vpp agent not detected                       
DEBU[0000] discovered 1 vpp instances                   
DEBU[0000] agent not found for instance vpp::vpp-0e66ea6ddba7 

PS: i did used up to date vpp docker image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions