How to Fix a Nutanix CVM being Stuck in Maintenance Mode
1. ssh into the Nutanix cluster VM
2. cluster status
3. ncli host list (This will give you the host ID)
2. cluster status
3. ncli host list (This will give you the host ID)
################
Id : 9911991c-1111-093y-11yb-blahblah88::61810
Uuid : 5blahblabla99-5227-43d9-ae05-24
Name : NTNX-SERIAL-X
IPMI Address : 10.10.3.3
Controller VM Address : 10.10.2.2
Hypervisor Address : 10.10.1.1
Host Status : NORMAL
Oplog Disk Size : 428.02 GiB (459,587,190,986 bytes) (0.7%)
Under Maintenance Mode : false (Hypervisor upgrade)
Metadata store status : Metadata store enabled on the node
Node Position : Node physical position can't be displayed for this model. Please refer to Prism UI for this information.
Node Serial (UUID) : VENDORSERIAL
Block Serial (Model) : VENDORSERIAL (NODE MODEL)###############
4. ncli host edit id=9911991c-1111-093y-11yb-blahblah88::61810::61810 enable-maintenance-mode="false"
5. cluster status
Id : 9911991c-1111-093y-11yb-blahblah88::61810
Uuid : 5blahblabla99-5227-43d9-ae05-24
Name : NTNX-SERIAL-X
IPMI Address : 10.10.3.3
Controller VM Address : 10.10.2.2
Hypervisor Address : 10.10.1.1
Host Status : NORMAL
Oplog Disk Size : 428.02 GiB (459,587,190,986 bytes) (0.7%)
Under Maintenance Mode : false (Hypervisor upgrade)
Metadata store status : Metadata store enabled on the node
Node Position : Node physical position can't be displayed for this model. Please refer to Prism UI for this information.
Node Serial (UUID) : VENDORSERIAL
Block Serial (Model) : VENDORSERIAL (NODE MODEL)###############
4. ncli host edit id=9911991c-1111-093y-11yb-blahblah88::61810::61810 enable-maintenance-mode="false"
5. cluster status