Giter VIP home page Giter VIP logo

Comments (8)

stolsma avatar stolsma commented on August 20, 2024

Do you have some more system information? Running in Fedora Docker container, within a Vagrant VM or on a bare metal Fedora system?

It looks like p4ovs isn't started? Can you check that with ovs-vsctl show

from ipdk.

stadju avatar stadju commented on August 20, 2024

A server running Fedora 33 and tried to follow https://github.com/ipdk-io/ipdk/blob/main/build/README_DOCKER.md. Section 1 completed and tried the command "ipdk demo" in Section 2. It worked on Ubuntu.

from ipdk.

stolsma avatar stolsma commented on August 20, 2024

Can you do ipdk status long and then ipdk connect and then ps -ef | grep ovs and then exit + copy all the output of the previous commands here?

from ipdk.

mestery avatar mestery commented on August 20, 2024

Thanks for opening this issue @stadju, I'll try to replicate this today.

from ipdk.

mestery avatar mestery commented on August 20, 2024

@stadju I don't see this exact error. From your earlier point, it seems that both programming the ports using OpenConfig and building the P4 pipeline are failing. This all works just fine for me both running ipdk demo and by hand:

[root@fe6875653295 scripts]# gnmi-cli set "device:virtual-device,name:net_vhost0,host:host1,\
>     device-type:VIRTIO_NET,queues:1,socket-path:/tmp/vhost-user-0,\
>     port-type:LINK"
Set request, successful...!!!
[root@fe6875653295 scripts]# gnmi-cli set "device:virtual-device,name:net_vhost1,host:host2,\
>     device-type:VIRTIO_NET,queues:1,socket-path:/tmp/vhost-user-1,\
>     port-type:LINK"
Set request, successful...!!!
[root@fe6875653295 scripts]#
[root@fe6875653295 simple_l3]# ovs_pipeline_builder --p4c_conf_file=simple_l3.conf \
>     --bf_pipeline_config_binary_file=simple_l3.pb.bin
I20220208 21:22:46.396765   101 bf_pipeline_builder.cc:113] Found P4 program: simple_l3
I20220208 21:22:46.396925   101 bf_pipeline_builder.cc:120] 	Found pipeline: pipe
[root@fe6875653295 simple_l3]#

I'm running the fedora:33 container inside of a Virtualbox VM. Are you running this natively on a host?

I am seeing some other errors where qemu-kvm crashes on fedora, but that is different than the error you are seeing.

from ipdk.

stadju avatar stadju commented on August 20, 2024

@mestery I ran natively on a host. Tried 2 different servers. Same error. I could run the commands inside the container successfully but not from host.

from ipdk.

iyupeng avatar iyupeng commented on August 20, 2024

Hi @stadju, I had the same gRPC problem failed to connect to all addresses when running ipdk demo. And all errors are gone after I add 127.0.0.1 to the env variable no_proxy:

[root@833c02b6a347 scripts]# echo $no_proxy
no_proxy=noproxy.com,.10.0.0.0/8,192.168.0.0/16,localhost,.local,127.0.0.0/8,127.0.0.1

Before that, ipdk container's no_proxy is the value defined in Vagrantfile:

[root@833c02b6a347 scripts]# echo $no_proxy
no_proxy=noproxy.com,.10.0.0.0/8,192.168.0.0/16,localhost,.local,127.0.0.0/8

from ipdk.

stadju avatar stadju commented on August 20, 2024

I didn't use vagrant. Closing this issue.

from ipdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.