Add missing VM states from snapshots

This commit is contained in:
Joshua Boniface 2024-08-20 11:51:57 -04:00
parent 8937ddf331
commit 3fb52a13c2
2 changed files with 4 additions and 0 deletions

View File

@ -1051,6 +1051,8 @@ def get_resource_metrics(zkhandler):
"restart": 6, "restart": 6,
"stop": 7, "stop": 7,
"fail": 8, "fail": 8,
"import": 9,
"restore": 10,
} }
state = vm["state"] state = vm["state"]
output_lines.append( output_lines.append(

View File

@ -82,6 +82,8 @@ vm_state_combinations = [
"migrate", "migrate",
"unmigrate", "unmigrate",
"provision", "provision",
"import",
"restore",
] ]
ceph_osd_state_combinations = [ ceph_osd_state_combinations = [
"up,in", "up,in",