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:

  1. Connect to the server with VMmanager via SSH.
  2. Go to vm_box docker container:

    docker exec -it vm_box bash
    CODE
  3. Identify the process ids for each node in the cluster where the problem is found:

    ps aux | grep IP_node
    CODE

    IP_node — IP address of the cluster node, where the VMs are located.

  4. Stop the identified processes:

    kill PID
    CODE

    PID — process id

  5. Restart vm_writer service:

    supervisorctl restart vm_writer
    CODE
  6. Restart vmwatch service:

    curl localhost:1501/status
    CODE