From cec6918c1a947fd797d62974c0f35ae8b0dfebd9 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 23 Oct 2019 17:02:37 -0400 Subject: [PATCH] Support unsupported bad disks --- confluent_server/confluent/messages.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/confluent_server/confluent/messages.py b/confluent_server/confluent/messages.py index 00f13016..7ec95606 100644 --- a/confluent_server/confluent/messages.py +++ b/confluent_server/confluent/messages.py @@ -1489,12 +1489,14 @@ class Volume(ConfluentMessage): class Disk(ConfluentMessage): valid_states = set([ + 'fault', 'jbod', 'unconfigured', 'hotspare', 'online', ]) state_aliases = { + 'unconfigured bad': 'fault', 'unconfigured good': 'unconfigured', 'global hot spare': 'hotspare', 'dedicated hot spare': 'hotspare',