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

Some questions about P4-OVS #9

Open
chenhy97 opened this issue May 3, 2021 · 1 comment
Open

Some questions about P4-OVS #9

chenhy97 opened this issue May 3, 2021 · 1 comment

Comments

@chenhy97
Copy link

chenhy97 commented May 3, 2021

  • Each time I add a new bridge and a new port through ovs-vsctl, the command acts like waiting for something and it never stop. However, the bridge(port) is added seemingly. This question is similar to Originally posted by @fatihusta in Error when compiling #4 (comment)
root@P4-OVS-1 ~/P/demo# ovs-vsctl add-port br0 ovsp4-p1 -- set Interface ovsp4-p0 ofport_request=1

Ctrl C

2021-05-03T08:44:54Z|00002|fatal_signal|WARN|terminating with signal 2 (Interrupt)
root@P4-OVS-1 ~/P/demo# ovs-vsctl show
7aaba263-85b9-4ee8-add8-1c788b9935fb
    Manager "ptcp:5000"
    Bridge br0
        p4: true
        datapath_type: ubpf
        Port br0
            Interface br0
                type: internal
        Port ovsp4-p0
            Interface ovsp4-p0
        Port ovsp4-p1
            Interface ovsp4-p1

  • After Compiling with P4-OVS with all the dependencies, I have started to run the demos provided by this repo. However, I met the error shown below. Did I miss some steps before running the demos?
root@P4-OVS-1 ~/P/demo# ../../p4runtime-shell/p4runtime-sh-docker  --grpc-addr 172.17.0.1:50051 --device-id 0 --config demo.p4info.txt,demo.o
CRITICAL:root:StreamChannel error, closing stream
CRITICAL:root:P4Runtime RPC error (UNAVAILABLE): failed to connect to all addresses
CRITICAL:root:Failed to establish session with server
  • When I use ovs-p4ctl, I met the error shown below.
root@P4-OVS-1 ~/P/demo# ovs-p4ctl show
Traceback (most recent call last):
  File "/usr/local/bin/ovs-p4ctl", line 37, in <module>
    from google.rpc import status_pb2, code_pb2
ModuleNotFoundError: No module named 'google.rpc'
@Benature
Copy link

Benature commented May 6, 2021

same issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants