Skip to content

Exposing the Information on the User of a Mover also through the REST-API #8181

Description

@christianvoss

Hi,

we've been using the SSH interface to extract mover information on the user owning the mover using mover ls -u. Unfortunately it's inconvenient to parse in addition to having access to the SSH admin interface. Is it possible to add the information on

  • Client IP
  • UID
  • DN if applicable
  • GIDs (as a list)

to the /api/v1/pools/<pool_name>/movers interface, probable as optional flags. Currently it looks like this:

  {
    "pnfsId": "<PNFSID>",
    "queue": "nfs-q",
    "mode": "[READ]",
    "door": "<CELL>@<Domain>",
    "storageClass": "sClass",
    "state": "RUNNING",
    "bytes": 802816,
    "timeInMilliseconds": 492942,
    "startTime": 1786098152773,
    "submitTime": 1786098152773,
    "lastModified": 1786098172806,
    "moverId": 67125598
  }

and e.g. expanded to

  {
    "pnfsId": "<PNFSID>",
    "clientIP" : "<IP>",
    "queue": "nfs-q",
    "mode": "[READ]",
    "door": "<CELL>@<Domain>",
    "storageClass": "sClass",
    "state": "RUNNING",
    "bytes": 802816,
    "timeInMilliseconds": 492942,
    "startTime": 1786098152773,
    "submitTime": 1786098152773,
    "lastModified": 1786098172806,
    "moverId": 67125598,
    "userinfo" : 
       {
          "uid" : <uid>,
          "dn" : "<DN>",
          "gids" : [<gid1>, <gid2>]
       } 
 }

Thanks a lot,
Christian

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions