Consistency issue in volume names format
In cta the tools happily register lower case volume names:
[root@ctacli /]# cta-admin tape ls --vid V2pu98
vid media type vendor library tapepool vo encryption key name capacity occupancy last fseq full from castor state state reason label drive label time last w drive last w time w mounts last r drive last r time r mounts c.user c.host c.time m.user m.host m.time comment
V2pu98 T10K500G vendor VDSTK02 ctasystest vo - 500.0G 0 0 false false ACTIVE - - - - - 0 - - 0 ctaadmin1 ctafrontend 2022-10-10 11:10 ctaadmin1 ctafrontend 2022-10-10 11:10 ctasystest
But on the otherhand some tools are only looking for strictly upper case tape volume names:
[root@tpsrv01 /]# cta-tape-label --vid V2pu98
Aborting: Cannot label tape V2PU98 because it does not exist
First: we clearly have a consistency issue.
But cta-tape-label
changing user input just to label a tape is clearly not acceptable: we have 2 tapes registered one lower one upper, you want to label the lower and label the other tape (potentially an imported tape that contains some user data).
This problem should have been reported when registering the tape in CTA if we decide not to support lower cases: we should never change the user string.