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

Error occurred while setting Protocol config for user common #77

Open
carl-baillargeon opened this issue Sep 28, 2024 · 0 comments
Open

Comments

@carl-baillargeon
Copy link

Hello,

When running make all of the otg-examples/docker-compose-cpdp-frr example, I am getting the following error:

Create a symlink cpdp-frr_traffic_engine_2_1 in /var/run/netns/ pointing to /proc/8124/ns/net...[OK]

Getting PID of the running container cpdp-frr_frr_1: [OK] (8091)

Creating /var/run/netns/ directory...[OK]

Create a symlink cpdp-frr_frr_1 in /var/run/netns/ pointing to /proc/8091/ns/net...[OK]

Looking for existing device names as veth2 in container cpdp-frr_traffic_engine_2_1...[OK]
Looking for existing device names as veth3 in container cpdp-frr_frr_1...[OK]
Interface names...[OK]
Interface names are in a good shape! None of them exists!!


Create veth pair veth2 -- veth3...[OK]

Bringing up veth2...
[OK]

Bringing up veth3...
[OK]

Add veth2 to container cpdp-frr_traffic_engine_2_1...[OK]

Bring up manually the interface in the container as well...[OK]

Add veth3 to container cpdp-frr_frr_1...[OK]

Bring up manually the interface in the container as well...[OK]

############################################
# Apply OTG configuration

sleep 5 # pause for keng-controller to detect newly created interfaces
curl -sk "https://localhost:8443/config" \
        -H "Content-Type: application/json" \
        -d @otg.json | tee curl.out
{
  "code":  500,
  "kind":  "internal",
  "errors":  [
    "Error occurred while setting Protocol config for user common:Error setting protocol on port \"p1\":could not fetch remote version: {\n  \"code\":  14,\n  \"errors\":  [\n    \"connection error: desc = \\\"transport: authentication handshake failed: read tcp 127.0.0.1:55456->127.0.0.1:50071: read: connection reset by peer\\\"\"\n  ]\n}"
  ]
}
cat curl.out | jq -e "if (.errors | length) > 0 then false else true end"
false
make: *** [Makefile:93: otg-set-config] Error 1

I can also reproduce this error using clab with the all-in-one ghcr.io/open-traffic-generator/ixia-c-one:1.13.0-1 image.

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