Problem: Cannot migrate a vm instance to another node on Proxmox 9.1.7
Expected outcome: I expect to be able to migrate a vm from one node to another using Foreman.
Foreman and Proxy versions: 3.17.0
Foreman and Proxy plugin versions: foreman_fog_proxmox 0.21.0
Distribution and version:
Other relevant data:
Hello,
Trying to use Foreman to trigger an online migration with Proxmox fails.
The VM is hosted on Ceph storage in a hyper-converged Proxmox cluster 9.1.7.
Live migrations work fine using the Proxmox UI.
From Foreman I receive the following error:
Failed to update a compute redactedproxmoxhost (Proxmox) instance redacted.host.name: Expected([200]) <=> Actual(500 InternalServerError) excon.error.response :body => "{\"data\":null,\"message\":\"can't migrate running VM without --online\\n\"}" :cookies => [ ] :headers => { "Cache-Control" => "max-age=0" "Connection" => "close" "Content-Length" => "69" "Content-Type" => "application/json;charset=UTF-8" "Date" => "Mon, 13 Apr 2026 21:48:09 GMT" "Expires" => "Mon, 13 Apr 2026 21:48:09 GMT" "Pragma" => "no-cache" "Server" => "pve-api-daemon/3.0" } :host => "redacted.proxmox.host" :local_address => "REDACTED.IP" :local_port => 54420 :method => "POST" :omit_default_port => true :path => "/api2/json/nodes/redactedproxmoxhost/qemu/114/migrate" :port => 8006 :query => nil :reason_phrase => "can't migrate running VM without --online" :remote_ip => "REDACTED.IP" :scheme => "https" :status => 500 :status_line => "HTTP/1.1 500 can't migrate running VM without --online\r\n"
(Migrating while the VM is off works).
Thank you