I have tried in another environment, using LIO as storage server, and Focal (because I only had Focal available) and I was able to release all keys from the shared disk:
(k)rafaeldtinoco@clufocal01:~$ sudo sg_persist -v --out --release --param-rk=0xbf090000 --prout-type=5 /dev/sda inquiry cdb: 12 00 00 00 24 00 LIO-ORG cluster.focal.t 4.0 Peripheral device type: disk Persistent reservation out cdb: 5f 02 05 00 00 00 00 00 18 00 PR out: command (Release) successful
(k)rafaeldtinoco@clufocal01:~$ sudo sg_persist -v --out --release --param-rk=0xbf090001 --prout-type=5 /dev/sda inquiry cdb: 12 00 00 00 24 00 LIO-ORG cluster.focal.t 4.0 Peripheral device type: disk Persistent reservation out cdb: 5f 02 05 00 00 00 00 00 18 00 PR out: command (Release) successful
(k)rafaeldtinoco@clufocal01:~$ sudo sg_persist -v --out --release --param-rk=0xbf090002 --prout-type=5 /dev/sda inquiry cdb: 12 00 00 00 24 00 LIO-ORG cluster.focal.t 4.0 Peripheral device type: disk Persistent reservation out cdb: 5f 02 05 00 00 00 00 00 18 00 PR out: command (Release) successful
Note that the SCSI CMD is pretty much the same to the faulty one in Azure environment.
I have tried in another environment, using LIO as storage server, and Focal (because I only had Focal available) and I was able to release all keys from the shared disk:
(k)rafaeldtinoc o@clufocal01: ~$ sudo sg_persist -v --out --release --param- rk=0xbf090000 --prout-type=5 /dev/sda
inquiry cdb: 12 00 00 00 24 00
LIO-ORG cluster.focal.t 4.0
Peripheral device type: disk
Persistent reservation out cdb: 5f 02 05 00 00 00 00 00 18 00
PR out: command (Release) successful
(k)rafaeldtinoc o@clufocal01: ~$ sudo sg_persist -v --out --release --param- rk=0xbf090001 --prout-type=5 /dev/sda
inquiry cdb: 12 00 00 00 24 00
LIO-ORG cluster.focal.t 4.0
Peripheral device type: disk
Persistent reservation out cdb: 5f 02 05 00 00 00 00 00 18 00
PR out: command (Release) successful
(k)rafaeldtinoc o@clufocal01: ~$ sudo sg_persist -v --out --release --param- rk=0xbf090002 --prout-type=5 /dev/sda
inquiry cdb: 12 00 00 00 24 00
LIO-ORG cluster.focal.t 4.0
Peripheral device type: disk
Persistent reservation out cdb: 5f 02 05 00 00 00 00 00 18 00
PR out: command (Release) successful
Note that the SCSI CMD is pretty much the same to the faulty one in Azure environment.