Comments (8)
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.
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.
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.
Thanks for opening this issue @stadju, I'll try to replicate this today.
from ipdk.
@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.
@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.
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.
I didn't use vagrant. Closing this issue.
from ipdk.
Related Issues (20)
- fq_codel and/or cake? Shaping?
- ipdk connect not working HOT 3
- build/storage/tests/it/run.sh fail with unknown service "build_base" HOT 2
- Spelling error HOT 1
- None of the documentation indicates where the environment configuration file is HOT 1
- Build of Ubuntu 20.04 container fails HOT 5
- Build of Ubuntu 18.04 container fails HOT 3
- Inconsistency in documentation
- Weird output for make help in ebpf_networking recipe
- networking_ebpf build: ./ipdk: line 208: docker: command not found HOT 4
- networking_ebpf build: Numerous build errors HOT 3
- Issue running ipdk demo HOT 1
- Error: P4Runtime RPC error (INTERNAL): 'bf_pal_device_add(dev_id, &device_profile)' HOT 2
- README_NATIVE.md instructions for networking build fail very quickly HOT 1
- Improvements to make in build/networking/README_CONTAINER.md file
- does ipdk stratum support direct meter? HOT 1
- Error running rundemo.sh & rundemo_TAP_IO.sh for IPDK_Native
- Error: P4Runtime RPC error (INTERNAL): 'bf_pal_device_add(dev_id, &device_profile)' failed with error message: Internal error. HOT 13
- Error: Error(s) during Write: * At index 0: INTERNAL, Error adding table entry with table_name HOT 5
- Ubuntu 22.04 Docker image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipdk.