Tapes get stuck PENDING states if there is no queue in the object store
Ops issue https://gitlab.cern.ch/cta/operations/-/issues/960 shows a tape stuck in REPACKING_PENDING
.
As explained in https://gitlab.cern.ch/cta/operations/-/issues/960#note_6310774, this happened because the queue was deleted (probably by taped
) before the queue cleanup runner had the opportunity to check the queue and finally move it to state REPACKING
.
Since the queue flag doCleanup
had been deleted (as part of the queue object), no other cleanup runners picked this queue again. This resulted in it being permanently stuck in REPACKING_PENDING
.