Description of problem: When the node initialization is started but never finishes the node has status OK, but it should be in initialization state. Version-Release number of selected component (if applicable): rhscon-ui-0.0.4-0.2.alpha1.el7.noarch rhscon-core-0.0.6-0.1.alpha1.el7.x86_64 rhscon-ceph-0.0.4-0.1.alpha1.el7.x86_64 How reproducible: 80% Steps to Reproduce: 1. Accept some node 2. Wait till the initialization tasks is started and stop the task (e.g. restart skyringd) Actual results: Node has OK state Expected results: Node should have initialization state until the node initialization is finished, or fail state as the initialization was interrupted. Additional info:
Can you let me know the the values for status and state in the database? Valid combinations are as follows: state status active ok/error/warn unaccepted/ initializing/ unknown unmanaged/ Failed Can you please let me know these values when you encounter the issue?
(In reply to Nishanth Thomas from comment #2) > Can you let me know the the values for status and state in the database? > Valid combinations are as follows: > > state status > > active ok/error/warn > > unaccepted/ > initializing/ unknown > unmanaged/ > Failed > > Can you please let me know these values when you encounter the issue? > db.tasks.find({"name" : "Initialize Node: <hostname>"}) { ... "completed" : false, ... , "status" : 0 } > db.storage_nodes.find({"hostname": "<hostname>"}) { ... "status" : 0, "state" : 2, "almstatus" : 0, "almcount" : 0, ... }
All the changes which is discussed in this bug are fixed successfully. https://review.gerrithub.io/#/c/266229/
Tested on: rhscon-core-0.0.39-1.el7scon.x86_64 rhscon-core-selinux-0.0.39-1.el7scon.noarch rhscon-ceph-0.0.39-1.el7scon.x86_64 rhscon-ui-0.0.51-1.el7scon.noarch