We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36ccd60 commit 1bc0a94Copy full SHA for 1bc0a94
1 file changed
cr_module/storage.py
@@ -596,6 +596,12 @@ def get_drive(drive_link):
596
# get status data
597
status_data = get_status_data(drive_response.get("Status"))
598
599
+ # ignore "Absent" drives on Cisco servers
600
+ if (plugin_object.rf.vendor == "Cisco" and
601
+ status_data.get("Health") == "OK" and
602
+ status_data.get("State") == "Absent"):
603
+ return
604
+
605
# get disk size
606
disk_size = None
607
if drive_response.get("CapacityLogicalBlocks") is not None and \
0 commit comments