Skip to content

Improve `cta-admin sq` command with information about repack and verify requests

Problem

At the moment, when we use the cta-admin sq commands, we don't get any information if a retrieve queue contains repack sub-requests neither verify requests. To get any of this information, we need to look directly into the individual requests inside of it, or infer indirectly by other commands.

Proposal

Add new fields to a retrieve queue, giving insight about the type of requests inside of it.

Idea:

  • Add two fields to cta-admin --json sq:
    • includesRepackRequests: true/false
      • Information can be obtained from:
        • Tape state
        • VO
    • includesVerifyRequests: true/false
      • Information can be obtained from:
        • If the "verify mount policy" is part of the mount policies listed by the queue object.