We're updating the issue view to help you get more done. 

Node instance states update

Description

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:

  1. During install workflow:

    • initializing

    • creating

    • created

    • configuring

    • configured

    • starting

    • started

  2. During uninstall workflow:

    • stopping

    • stopped

    • deleting

    • deleted

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?

Status

Assignee

Jakub Niezgoda

Reporter

Jakub Niezgoda

Labels

Target Version

4.5.5

QA Owner

Ido Berkovitch

Premium Only

no

Documentation Required

Yes

Why Blocked?

None

Release Notes

yes

Priority

None

Sprint

None

Priority

Unprioritized