skupperproject / skupper-router

An application-layer router for Skupper networks
https://skupper.io
Apache License 2.0
14 stars 18 forks source link

[VanFlow] Router-emitted SITE record ID mismatch with ROUTER record parent #1597

Open c-kruse opened 1 month ago

c-kruse commented 1 month ago

The SITE record emitted from the router has an ID that does not match that referenced by the ROUTER record as a parent.

example (from console api)

$ curl -s http://localhost:8081/api/v1alpha1/sites/?source=fc4dw:0 | jq
 {
  "count": 1,
  "status": "",
  "timeRangeCount": 1,
  "results": [
    {
      "endTime": 0,
      "identity": "fc4dw:2",
      "parent": "",
      "source": "fc4dw:0",
      "startTime": 1723569790747202,
      "location": "",
      "name": "podman-ck1",
      "nameSpace": "ck1",
      "platform": "podman",
      "policy": "",
      "provider": "",
      "siteVersion": ""
    }
  ]
}
$ curl -s http://localhost:8081/api/v1alpha1/routers/fc4dw:0/ | jq
{
  "count": 1,
  "status": "",
  "results": {
    "endTime": 0,
    "identity": "fc4dw:0",
    "parent": "rh-christian-1723562240",
    "source": "fc4dw:0",
    "startTime": 1723569790725733,
    "buildVersion": "0.0.0+febbe3a23caeffd407a6ef50f6163f165b8a4b1b-main",
    "hostName": "",
    "imageName": "skupper-router",
    "imageVersion": "latest",
    "mode": "interior",
    "name": "0/ck1-rh-christian-1723562240"
  }
}
c-kruse commented 1 month ago

@ted-ross fyi.