Skip to main content

Good day.

I transferred the node to maintenance mode via the prism element console, but during the migration of virtual machines an error occurred and the transfer to maintenance mode stopped.
At the same time, in the prism element, the host remained in maintenance mode.
When checking via the CLI on the central computer, the host is not in maintenance mode, it is also transferred to maintenance mode without errors by the command: acli host.enter_maintenance_mode and is displayed by the command acli host.exit _maintenance_mode.
In Prizm Central, the host is also visible normally without maintenance mode.
Please tell me, maybe someone has encountered such a problem, it looks very similar to a bug in prism element itself.
The command ncli host edit id=7 enable-maintenance-mode=false did not help to solve the problem.
When trying to take the host out of maintenance mode in the Prizm Element web console, an error appears that the host was transferred to maintenance mode via the CLI.

If you enter maintenance mode via gui then always exit maintenance mode via gui. Same for cli ;) 

What you can do is run the best script aos has 😉 lcm_node_recovery. I know you didnt run lcm but this checks a lot of things and will make sure the node is up and running again: 

 

Run lcm_node_recovery.py script against the CVM IP of the node which is not working correctly from any other CVM.

LCM >= 3.0: 
nutanix@CVM:~$ /home/nutanix/cluster/bin/lcm/lcm_node_recovery <CVM_IP>

LCM < 3.0:
nutanix@CVM:~$ python /home/nutanix/cluster/bin/lcm/lcm_node_recovery.py <CVM_IP>

Thank you very much.
Please tell me, will this procedure not affect the other nodes of the cluster?


No it will not. But of you feel not comfortable then involve support. 


Reply