From 0076bcc83f3d7b9ec5c32d9d4d2dc81dd828dab2 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 21 Jan 2020 21:51:02 -0500 Subject: [PATCH] Add provision to VM list state --- client-common/vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-common/vm.py b/client-common/vm.py index 15d1ccc5..286ef7b8 100644 --- a/client-common/vm.py +++ b/client-common/vm.py @@ -633,7 +633,7 @@ def get_list(zk_conn, node, state, limit, is_fuzzy=True): return False, 'Specified node "{}" is invalid.'.format(node) if state: - valid_states = [ 'start', 'restart', 'shutdown', 'stop', 'disable', 'fail', 'migrate', 'unmigrate' ] + valid_states = [ 'start', 'restart', 'shutdown', 'stop', 'disable', 'fail', 'migrate', 'unmigrate', 'provision' ] if not state in valid_states: return False, 'VM state "{}" is not valid.'.format(state)