I think it is good time to make node states (in deployments widget and node statistics widget) more associated with reality
Issue reported during work on (discussion about the issue started there in comments).
After discussion with one guy () who worked in Cloudify backend I have checked lifecycle of node instances in source code (link) and found that node instance can be in the following states:
During install workflow:
During uninstall workflow:
We have currently 4 groups:
Started (started state)
In progress (uninitialized, created states)
Warning (no states associated)
Error (stopped, deleted states)
IMO at least In progress shall be extended with: creating, configuring, configured, starting, stopping, stopped, deleting.
It is weird when you install/uninstall deployment and node statistics widget when node instances are in the one of the not handled states shows that there are 0 nodes.
Do we need Warning and Error? What kind of states shall be associated with that groups?