VMmanager Knowledge Base
en En
es Es
We want your feedback!
Take our survey and help us improve
the ISPsystem ecosystem as our lead advisor
Take the survey

How to change timeout for operations with VMs?

A timeout is set for operations with virtual machines (VMs) in the platform. After this time, VMmanager stops the task. Default timeout values:

  • for operations of creating, reinstalling and restoring VMs from a backup — 3600 sec (1 hour);
  • to execute a script on a VM or cluster node — 10800 sec (3 hours).

How to check the current timeout

To check the current timeout:

  1. Get an authorization token:
    curl -k -X POST -H "accept: application/json" -H "Content-Type: application/json" 'https://domain.com/auth/v4/public/token' -d '{"email": "admin_email", "password": "admin_pass"}'
    Comments to the command

    In response, you will get the message in the form:

    Example of response in JSON
    {
      "confirmed": true,
      "expires_at": null,
      "id": "6",
      "token": "4-e9726dd9-61d9-2940-add3-914851d2cb8a"
    }

    Save the received token value.

  2. Execute the request:
    curl -k -X GET -H "X-XSRF-Token: <token>" "https://example.com/vm/v3/settings/task/<task_name>/timeout"
    Comments to commands

How to edit the timeout value

To edit the timeout value:

  1. Get an authorization token:
    curl -k -X POST -H "accept: application/json" -H "Content-Type: application/json" 'https://domain.com/auth/v4/public/token' -d '{"email": "admin_email", "password": "admin_pass"}'
    Comments to the command

    In response, you will get the message in the form:

    Example of response in JSON
    {
      "confirmed": true,
      "expires_at": null,
      "id": "6",
      "token": "4-e9726dd9-61d9-2940-add3-914851d2cb8a"
    }

    Save the received token value.

  2. Execute the request:
    curl -H "x-xsrf-token: <token>" "https://example.com/vm/v3/settings/task/<task_name>/timeout" -d '{"timeout_seconds": <seconds>}'
    Comments to commands
    Sample command to increase the migration timeout to 24 hours (86,400 seconds):
    curl -H "x-xsrf-token: <token>" "https://example.com/vm/v3/settings/task/host_migrate/timeout" -d '{"timeout_seconds": 86400}'
    Comments to commands


The article was last updated on 03.25.2025. The article was prepared by technical writers of ISPsystem