dcache icon indicating copy to clipboard operation
dcache copied to clipboard

API: /cell does not seem to report cells in Dead state

Open cfgamboa opened this issue 10 months ago • 0 comments
trafficstars

Dear all,

As agreed in the Tier 1 dCache devs meeting I am reporting here. It was noticed that /cell endpoint does not seem to provide persistency for the state of the cell.

Normally in operation:

curl -X GET "https://dcint-frontend.sdcc.bnl.gov:3880/api/v1/cells/WebDAV-dcqosdoor01-externalipv6%40webdav-dcqosdoor01_httpsDomain" -H  "accept: application/json"
{
  "label": "Cell Info",
  "cellName": "WebDAV-dcqosdoor01-externalipv6",
  "cellType": "Generic",
  "cellClass": "WebDAVDoor",
  "domainName": "webdav-dcqosdoor01_httpsDomain",
  "creationTime": 1736189162415,
  "state": 1,
  "eventQueueSize": 0,
  "threadCount": 28,
  "expectedQueueTime": 0,
  "version": "9.2.20(9.2.20)",
  "release": "9.2.20",
  "revision": "9.2.20",
  "roundTripTime": 3
}

If the cell is stopped it is not longer listed in the /cell ENDPOINT

If using the following the endpoint [/cells/{address}] to query the cell is listed with state 4.

curl -X GET "https://dcint-frontend.sdcc.bnl.gov:3880/api/v1/cells/WebDAV-dcqosdoor01-externalipv6%40webdav-dcqosdoor01_httpsDomain" -H  "accept: application/json"

{ "cellName": "WebDAV-dcqosdoor01-externalipv6", "domainName": "webdav-dcqosdoor01_httpsDomain", "state": 4, "roundTripTime": 0 }

Could you please advise?

All the best, Carlos

cfgamboa avatar Jan 15 '25 22:01 cfgamboa