when i shut down a vm related to a node in a cluster ,i found that the status of the node became error,the status of the cluster became warning. I wanted to recover the cluster ,but i failed by senlin-dashboard.
And i found that below:
in this file:.../senlin-dashboard/blob/master/senlin_dashboard/cluster/clusters/tables.py
line 91: return datum.status == "ERROR" in func allowed(self, request, datum).
and i changed it : return datum.status == "ERROR" or datum.status == "WARNING"
and i recovered the cluster ,the vm which i shut down was active ,running again.
when i shut down a vm related to a node in a cluster ,i found that the status of the node became error,the status of the cluster became warning. I wanted to recover the cluster ,but i failed by senlin-dashboard.
And i found that below: ./senlin- dashboard/ blob/master/ senlin_ dashboard/ cluster/ clusters/ tables. py
in this file:..
line 91: return datum.status == "ERROR" in func allowed(self, request, datum).
and i changed it : return datum.status == "ERROR" or datum.status == "WARNING"
and i recovered the cluster ,the vm which i shut down was active ,running again.