[SOLVED] Cannot migrate VM to Proxmox Server 9.0: API error on Target Network

pizza

Renowned Member
Nov 7, 2015
101
9
83
PDM 0.9.2 gives an error on migrating a VM from a 8.4 to 9.0 server (from 8.4 to another 8.4 works).

On field Target Network:
Error: api error (status = 400: api returned unexpected data - failed to parse api response)

Scherm­afbeelding 2025-11-06 om 14.54.49.png
 
hi,

how does your network setup/config on the pve side look like?
 
Nothing special. It seems PDM cannot fetch the Target Network field from PVE 9.

All the same like, all nodes are standalone (not in cluster). The api user for PDM is auto-generated.

auto vmbr0
iface vmbr0 inet static
address 192.168.1.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
 
Last edited:
do you have any sdn configured?

can you post the output of

Code:
pvesh get /nodes/<nodename>/network --type any_bridge --output-format json-pretty
of the affected pve remote ? (replace <nodename> with the actual one please ;) )
 
There is no SDN configured.

Code:
[
   {
      "active" : 1,
      "address" : "192.168.124.1",
      "address6" : "2a01:xx",
      "autostart" : 1,
      "bridge_fd" : "0",
      "bridge_ports" : "",
      "bridge_stp" : "off",
      "cidr" : "192.168.124.1/24",
      "cidr6" : "2a01:xx::1/64",
      "families" : [
         "inet",
         "inet6"
      ],
      "iface" : "vmbr0",
      "method" : "static",
      "method6" : "staticc",
      "netmask" : "24",
      "netmask6" : "64",
      "options" : [
         "up iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1",
         "up iptables -t nat -A POSTROUTING -s '192.168.124.0/24' -o eno1 -j MASQUERADE",
         "down iptables -t nat -D POSTROUTING -s '192.168.124.0/24' -o eno1 -j MASQUERADE",
         "up iptables -t nat -A PREROUTING -i eno1 -p tcp --dport 8007 -j DNAT --to 192.168.124.101:8007",
         "down iptables -t nat -D PREROUTING -i eno1 -p tcp --dport 8007 -j DNAT --to 192.168.124.101:8007"
      ],
      "priority" : 5,
      "type" : "bridge"
   }
]
 
My fault, typo error in /etc/network/interfaces (staticc):P
 
Last edited: