[SOLVED] pve8to9 yields "any valid prefix is expected rather than ..."

philipp.ludwig

New Member
Sep 17, 2025
5
2
3
So I am trying to run the pve8to9 script, but I get this error:

Code:
INFO: Checking if resolved IP is configured on local node..
Error: any valid prefix is expected rather than "fe80::f603:43ff:fe43:2fe0%vmbr0/32".
command '/sbin/ip address show to fe80::f603:43ff:fe43:2fe0%vmbr0/32 up' failed: exit code 1

Not sure what is going on, because I don't really use IPv6.

However, this started to happen after I changed the hostname of the system (I followed the instructions in the wiki). Not sure if this is related though.

At the moment, the node is empty (I moved all VMs to a different machine).
 
After looking into the source, I believe that this happens because the PVE code mistakenly takes the IPv6 address as an IPv4 one, and therefore calls /sbin/ip with invalid arguments.
I decided to circumvent the problem by temporarily disabling IPv6 via:

Code:
sysctl -w net.ipv6.conf.vmbr0.disable_ipv6=1

The upgrade went fine after that.
 
  • Like
Reactions: fiona
Hi,
could you share the output of cat /etc/network/interfaces and (while having IPv6 enabled) ip a?
 
Here you go:

Code:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

auto eno4
iface eno4 inet manual

auto eno1
iface eno1 inet manual

auto eno2
iface eno2 inet manual

auto eno3
iface eno3 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.15.244/24
        gateway 192.168.15.1
        bridge-ports eno1 eno4
        bridge-stp off
        bridge-fd 0

Code:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP group default qlen 1000
    link/ether f4:03:43:43:2f:e0 brd ff:ff:ff:ff:ff:ff
    altname enp2s0f0
    altname enxf40343432fe0
3: eno2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether f4:03:43:43:2f:e1 brd ff:ff:ff:ff:ff:ff
    altname enp2s0f1
    altname enxf40343432fe1
4: eno3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether f4:03:43:43:2f:e2 brd ff:ff:ff:ff:ff:ff
    altname enp2s0f2
    altname enxf40343432fe2
5: eno4: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master vmbr0 state DOWN group default qlen 1000
    link/ether f4:03:43:43:2f:e3 brd ff:ff:ff:ff:ff:ff
    altname enp2s0f3
    altname enxf40343432fe3
6: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether f4:03:43:43:2f:e0 brd ff:ff:ff:ff:ff:ff
    inet 192.168.15.244/24 scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::f603:43ff:fe43:2fe0/64 scope link proto kernel_ll
       valid_lft forever preferred_lft forever
7: tap100i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc fq_codel master fwbr100i0 state UNKNOWN group default qlen 1000
    link/ether fa:f8:87:2f:fd:bf brd ff:ff:ff:ff:ff:ff
8: fwbr100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether aa:35:8b:37:d1:8e brd ff:ff:ff:ff:ff:ff
9: fwpr100p0@fwln100i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
    link/ether be:a8:82:bb:ef:d8 brd ff:ff:ff:ff:ff:ff
10: fwln100i0@fwpr100p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr100i0 state UP group default qlen 1000
    link/ether aa:35:8b:37:d1:8e brd ff:ff:ff:ff:ff:ff
11: tap101i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc fq_codel master fwbr101i0 state UNKNOWN group default qlen 1000
    link/ether 3a:82:78:b7:42:87 brd ff:ff:ff:ff:ff:ff
12: fwbr101i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 2e:9f:08:ab:5c:83 brd ff:ff:ff:ff:ff:ff
13: fwpr101p0@fwln101i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
    link/ether 6e:ef:69:a3:1c:64 brd ff:ff:ff:ff:ff:ff
14: fwln101i0@fwpr101p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr101i0 state UP group default qlen 1000
    link/ether 2e:9f:08:ab:5c:83 brd ff:ff:ff:ff:ff:ff
15: tap102i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc fq_codel master fwbr102i0 state UNKNOWN group default qlen 1000
    link/ether 72:05:a8:4c:79:7a brd ff:ff:ff:ff:ff:ff
16: fwbr102i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 1a:ad:b9:51:88:d0 brd ff:ff:ff:ff:ff:ff
17: fwpr102p0@fwln102i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
    link/ether ca:4f:01:6f:7b:d1 brd ff:ff:ff:ff:ff:ff
18: fwln102i0@fwpr102p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr102i0 state UP group default qlen 1000
    link/ether 1a:ad:b9:51:88:d0 brd ff:ff:ff:ff:ff:ff
19: tap103i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc fq_codel master fwbr103i0 state UNKNOWN group default qlen 1000
    link/ether 56:b8:4e:14:70:32 brd ff:ff:ff:ff:ff:ff
20: fwbr103i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 42:10:20:06:3b:c8 brd ff:ff:ff:ff:ff:ff
21: fwpr103p0@fwln103i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
    link/ether 6e:24:33:68:72:89 brd ff:ff:ff:ff:ff:ff
22: fwln103i0@fwpr103p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr103i0 state UP group default qlen 1000
    link/ether 42:10:20:06:3b:c8 brd ff:ff:ff:ff:ff:ff
23: tap104i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc fq_codel master fwbr104i0 state UNKNOWN group default qlen 1000
    link/ether be:b3:2f:95:bd:a5 brd ff:ff:ff:ff:ff:ff
24: fwbr104i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether ce:77:e8:57:a1:b4 brd ff:ff:ff:ff:ff:ff
25: fwpr104p0@fwln104i0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr0 state UP group default qlen 1000
    link/ether da:ae:b0:5f:30:27 brd ff:ff:ff:ff:ff:ff
26: fwln104i0@fwpr104p0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master fwbr104i0 state UP group default qlen 1000
    link/ether ce:77:e8:57:a1:b4 brd ff:ff:ff:ff:ff:ff
 
Code:
6: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether f4:03:43:43:2f:e0 brd ff:ff:ff:ff:ff:ff
    inet 192.168.15.244/24 scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::f603:43ff:fe43:2fe0/64 scope link proto kernel_ll
       valid_lft forever preferred_lft forever
Hmm, there is no %vmbr0 scope ID now and it's a /64 rather than a /32 subnet.
 
Yes, that was the case before. The error persists though:

Code:
Error: any valid prefix is expected rather than "fe80::f603:43ff:fe43:2fe0%vmbr0/32".
command '/sbin/ip address show to fe80::f603:43ff:fe43:2fe0%vmbr0/32 up' failed: exit code 1
 
What do cat /etc/hosts and cat /etc/gai.conf say?
 
  • Like
Reactions: philipp.ludwig
/etc/gai.conf contained only comments. But inspecting /etc/hosts, it turned out that the hostname was missing. I was absolutely sure that I had checked that before. Well, the script now runs without an error. Thank you very much for the support!
 
Last edited:
  • Like
Reactions: fiona