Add missing VM states from snapshots
This commit is contained in:
parent
8937ddf331
commit
3fb52a13c2
|
@ -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(
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue