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

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

Open
cfgamboa opened this issue Jan 15, 2025 · 0 comments
Open

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

cfgamboa opened this issue Jan 15, 2025 · 0 comments
Labels
enhancement A request that enhances existing behaviour

Comments

@cfgamboa
Copy link

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

@kofemann kofemann added the enhancement A request that enhances existing behaviour label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A request that enhances existing behaviour
Projects
None yet
Development

No branches or pull requests

2 participants