Key-manager restore operation returns incorrect output when there are no keys to restore
Applies to
- ONTAP 9.3
Issue
While performing a restore operation when no keys need to be restored, incorrect output is displayed:
fas2520-2n-rtp-2
::*> key-manager query
(security key-manager query)
Node: fas2520-rtp-2a
Key Manager: 10.216.33.200
Server Status: Available
Key Tag Key Type Restored
------------------------------------ -------- --------
NSE-AK yes
Key ID: 00000000000000000200000000000100983cd5df1ff4663fa85d3bfb9ecbc6990000000000000000
fas2520-rtp-2a NSE-AK yes
Key ID: 00000000000000000200000000000100ca6d2fea44c952726e602e17416257700000000000000000
fas2520-rtp-2a NSE-AK yes
Key ID: 00000000000000000200000000000100d7b8fef5668a7e7383876f323eab6bf00000000000000000
Node: fas2520-rtp-2b
Key Manager: 10.216.33.200
Server Status: Available
Key Tag Key Type Restored
------------------------------------ -------- --------
fas2520-rtp-2a NSE-AK yes
Key ID: 00000000000000000200000000000100983cd5df1ff4663fa85d3bfb9ecbc6990000000000000000
fas2520-rtp-2a NSE-AK yes
Key ID: 00000000000000000200000000000100ca6d2fea44c952726e602e17416257700000000000000000
fas2520-rtp-2a NSE-AK yes
Key ID: 00000000000000000200000000000100d7b8fef5668a7e7383876f323eab6bf00000000000000000
6 entries were displayed.
fas2520-2n-rtp-2::*> key-manager restore
(security key-manager restore)
Node: fas2520-rtp-2a
Key Manager: 10.216.33.200
Server Status: Available
Count: 3
Key IDs
-------------------------------------------------------
-
Node: fas2520-rtp-2b
Key Manager: 10.216.33.200
Server Status: Available
Count: 3
Key IDs
-------------------------------------------------------
-
2 entries were displayed.