In some cases, if the vmwatch service received an error, the status of "Unavailable” will be displayed for virtual machines (VMs). To fix this, restart the service processes:
- Connect to the server with VMmanager via SSH.
-
Go to vm_box docker container:
docker exec -it vm_box bash
-
Identify the process ids for each node in the cluster where the problem is found:
ps aux | grep IP_node
Comments to the command -
Stop the identified processes:
kill PID
Comments to the command -
Restart vm_writer service:
supervisorctl restart vm_writer
-
Restart vmwatch service:
curl localhost:1501/status