Skip to content

cta-admin command not able to handle non-UUID disk file IDs

Problem

At the moment, when running cta-admin tf commands, the disk file ID field accepts either integers or UUID strings.

However, this is not enough, as some other sites (using dCache) can use arbitrary strings for the disk file ID.

As an example cta-admin tf ls --dfid 00002A7EDF79493D48A086A2AE7D27F12E2B -i cms_prd returns the error 00002A7EDF79493D48A086A2AE7D27F12E2B is not a valid decimal or UUID file ID value.

Solution

In order to support these sites, we should remove any restrictions on the format of the Disk File ID string.

Edited by Joao Afonso