Summary
"decryption/encryption key is not available" when LTO media gets full
Question
Backup and Copy sessions using encryption fail everytime the media gets full.:
[Warning] From: BMA@XXXXX.XXXX.XXXXX.XXXX "ESL_G3_D4" Time: 3/16/2018 11:05:36 AM
[90:6119] Encryption on device is being managed by an external encryption controller : decryption/encryption key is not available.
ESKM Device which is managing the encryption keys is online and working properly.
Answer
Use omnirc variable set on the Media Agent host:
OB2EWEODWRITEMODE=1
Note: Make sure to upgrade to at least Data Protector 9.07 b110 as the omnirc varialbe was included there.