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

VRF: CreateVrf gives an error "File Exists" #379

Open
vikumarks opened this issue Mar 26, 2024 · 0 comments
Open

VRF: CreateVrf gives an error "File Exists" #379

vikumarks opened this issue Mar 26, 2024 · 0 comments

Comments

@vikumarks
Copy link

If docker container is not crashing as mentioned in the #378
CreateVrf gives an error saying File exists, but it does create below vrf and br10.

32: tgreen: <NOARP,MASTER,UP,LOWER_UP> mtu 65575 qdisc noqueue state UP group default
    link/ether 46:76:71:82:7d:ab brd ff:ff:ff:ff:ff:ff
    inet 2.2.2.2/32 scope global tgreen
       valid_lft forever preferred_lft forever
33: br10: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master tgreen state DOWN group default
    link/ether a6:71:6f:33:8a:f3 brd ff:ff:ff:ff:ff:ff

Request Payload:
{ "vrfId": "tgreen", "vrf": { "spec": { "vni": 10, "loopbackIpPrefix": { "addr": { "af": "IP_AF_INET", "v4Addr": 33686018 }, "len": 32 } }, "name": "green" } }

Response Data

Unknown (2)
file exists

GRPC Server LOG

2024/03/26 18:54:21 HTTP Server listening at 8082
2024/03/26 18:54:21 TLS files are not specified. Use insecure connection.
2024/03/26 18:54:21 gRPC server listening at [::]:50151
2024/03/26 18:54:36 [msg INFO :started call protocol grpc grpc.component server grpc.service opi_api.network.evpn_gw.v1alpha1.VrfService grpc.method CreateVrf grpc.method_type unary peer.address 10.72.45.6:54255 grpc.start_time 2024-03-26T18:54:36Z grpc.time_ms 0.023]
2024/03/26 18:54:36 [msg INFO :request received protocol grpc grpc.component server grpc.service opi_api.network.evpn_gw.v1alpha1.VrfService grpc.method CreateVrf grpc.method_type unary peer.address 10.72.45.6:54255 grpc.start_time 2024-03-26T18:54:36Z grpc.recv.duration 23.284µs grpc.request.content vrf_id:"tgreen" vrf:{name:"green" spec:{vni:10 loopback_ip_prefix:{addr:{af:IP_AF_INET v4_addr:33686018} len:32}}}]
2024/03/26 18:54:36 client provided the ID of a resource tgreen, ignoring the name field green
2024/03/26 18:54:36 Creating VRF &{{0 0 0 tgreen  0 0 0 0 <nil>  <nil> 0 0 0 <nil>  <nil> unknown 0 0 0 0 0 0 [] 0 <nil>} 1001}
Failed to create VRF link: file exists2024/03/26 18:54:36 [msg ERROR :finished call protocol grpc grpc.component server grpc.service opi_api.network.evpn_gw.v1alpha1.VrfService grpc.method CreateVrf grpc.method_type unary peer.address 10.72.45.6:54255 grpc.start_time 2024-03-26T18:54:36Z grpc.code Unknown grpc.error file exists grpc.time_ms 4.391]
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

1 participant