Network problem on one of my hosts

DamienH

New Member
May 3, 2022
11
2
3
Hello
I have network problem on one of my hosts in hetzner network.
Only one of them has this problem . i try to reinstall this host but this problem doesnt seems to fixed .
When i send command :
ifreload --all
warning: netlink: vmbr0: cannot delete address 94.X.Y.Z/32 dev vmbr0: operation failed with 'Cannot assign requested address' (99)

what is that error and how i should solve it ?

Thanks
 
Last edited by a moderator:
Hi,

Can you please provide us with the network configuration from the mentioned node in order to take a look at the network configuration? (you can masking/distorting the real IPs from the configuration). Another question is you using ifupdown2?
 
Last edited:
  • Like
Reactions: DamienH
Hello
Thanks for your replay .
Here is the network config .
------------------------------------------
# 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!

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

iface lo inet6 loopback

iface enp41s0 inet manual

auto vmbr0
iface vmbr0 inet static
address 94.X.Y.A/26
gateway 94.X.Y.Z
bridge-ports enp41s0
bridge-stp off
bridge-fd 1
bridge-vlan-aware yes
bridge-vids 2-4094
hwaddress a8:a1:59:c1:45:e2
pointopoint 94.X.Y.Z
up sysctl -p

iface vmbr0 inet6 static
address 2a01:4f8:13b:2d9a::2/64
gateway fe80::1

auto vmbr1
iface vmbr1 inet static
address 178.63.216.145/28
bridge-ports none
bridge-stp off
bridge-fd 0

iface vmbr1 inet6 static
address 2a01:badd:cafe:a5a5:1::1/80

-------------------------------------------------------------------------------
I use latest version of proxmox i think its orginally comes with ifupdown2
-----------
# pveversion
pve-manager/7.3-6/723bb6ec (running kernel: 5.15.85-1-pve)
-----------
I didnt install anything else on the server just above configuration with ip froward config on the server .

Thanks
 
Last edited by a moderator:
Thank you for the output!

Have you tried to get rid of the `pointopoint 94.X.Y.Z` since you already have a gateway to the same endpoint `gateway 94.X.Y.Z`?
 
Last edited by a moderator:
  • Like
Reactions: DamienH
Thank you for the output!

Have you tried to get rid of the `pointopoint 94.X.Y.Z` since you already have a gateway to the same endpoint `gateway 94.X.Y.Z`?
Thanks for your replay
I delete the line point to point and it doesnt change the problem .
Still :
# ifreload --all
warning: netlink: vmbr0: cannot delete address 94.X.Y.Z/32 dev vmbr0: operation failed with 'Cannot assign requested address' (99)
 
Last edited by a moderator:
May you please post the output of pveversion -v?
Can you also check if there is any interesting things on the output of ifreload -a -d command (-d for debug verbose)
 
  • Like
Reactions: DamienH
May you please post the output of pveversion -v?
Can you also check if there is any interesting things on the output of ifreload -a -d command (-d for debug verbose)
Hello
---------------------
root@ps04-r9 ~ # pveversion -v
proxmox-ve: 7.3-1 (running kernel: 5.15.85-1-pve)
pve-manager: 7.3-6 (running version: 7.3-6/723bb6ec)
pve-kernel-helper: 7.3-4
pve-kernel-5.15: 7.3-2
pve-kernel-5.15.85-1-pve: 5.15.85-1
ceph-fuse: 14.2.21-1
corosync: 3.1.7-pve1
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown: residual config
ifupdown2: 3.1.0-1+pmx3
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve2
libproxmox-acme-perl: 1.4.3
libproxmox-backup-qemu0: 1.3.1-1
libpve-access-control: 7.3-1
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.3-2
libpve-guest-common-perl: 4.2-3
libpve-http-server-perl: 4.1-5
libpve-storage-perl: 7.3-2
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.2-1
lxcfs: 5.0.3-pve1
novnc-pve: 1.3.0-3
proxmox-backup-client: 2.3.3-1
proxmox-backup-file-restore: 2.3.3-1
proxmox-mail-forward: 0.1.1-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.5.5
pve-cluster: 7.3-2
pve-container: 4.4-2
pve-docs: 7.3-1
pve-edk2-firmware: 3.20220526-1
pve-firewall: 4.2-7
pve-firmware: 3.6-3
pve-ha-manager: 3.5.1
pve-i18n: 2.8-2
pve-qemu-kvm: 7.2.0-5
pve-xtermjs: 4.16.0-1
qemu-server: 7.3-3
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.8.0~bpo11+2
vncterm: 1.7-1

-------------------------------------
No updates available for this host right now .
-------------------------------------
# ifreload -a -d
debug: args = Namespace(all=True, currentlyup=False, CLASS=None, iflist=[], noact=False, verbose=False, debug=True, withdepends=False, perfmode=False, nocache=False, excludepats=None, usecurrentconfig=False, syslog=False, force=False, syntaxcheck=False, version=None, nldebug=False)
debug: creating ifupdown object ..
info: requesting link dump
info: requesting address dump
info: requesting netconf dump
debug: nlcache: reset errorq
debug: {'use_daemon': 'no', 'template_enable': '1', 'template_engine': 'mako', 'template_lookuppath': '/etc/network/ifupdown2/templates', 'default_interfaces_configfile': '/etc/network/interfaces', 'disable_cli_interfacesfile': '0', 'addon_syntax_check': '0', 'addon_scripts_support': '1', 'addon_python_modules_support': '1', 'multiple_vlan_aware_bridge_support': '1', 'ifquery_check_success_str': 'pass', 'ifquery_check_error_str': 'fail', 'ifquery_check_unknown_str': '', 'ifquery_ifacename_expand_range': '0', 'link_master_slave': '1', 'delay_admin_state_change': '0', 'ifreload_down_changed': '0', 'addr_config_squash': '0', 'ifaceobj_squash': '0', 'adjust_logical_dev_mtu': '1', 'state_dir': '/run/network/'}
info: loading builtin modules from ['/usr/share/ifupdown2/addons']
info: module openvswitch not loaded (module init failed: no /usr/bin/ovs-vsctl found)
info: module openvswitch_port not loaded (module init failed: no /usr/bin/ovs-vsctl found)
info: module ppp not loaded (module init failed: no /usr/bin/pon found)
info: module batman_adv not loaded (module init failed: no /usr/sbin/batctl found)
debug: bridge: using reserved vlan range (0, 0)
debug: bridge: init: warn_on_untagged_bridge_absence=False
debug: bridge: init: vxlan_bridge_default_igmp_snooping=None
debug: bridge: init: arp_nd_suppress_only_on_vxlan=False
debug: bridge: init: bridge_always_up_dummy_brport=None
info: executing /sbin/sysctl net.bridge.bridge-allow-multiple-vlans
debug: bridge: init: multiple vlans allowed True
info: module mstpctl not loaded (module init failed: no /sbin/mstpctl found)
info: executing /bin/ip rule show
info: executing /bin/ip -6 rule show
info: address: using default mtu 1500
info: address: max_mtu undefined
info: executing /usr/sbin/ip vrf id
info: mgmt vrf_context = False
info: dhclient: dhclient_retry_on_failure set to 0
info: executing /bin/ip addr help
info: address metric support: OK
info: module ppp not loaded (module init failed: no /usr/bin/pon found)
info: module mstpctl not loaded (module init failed: no /sbin/mstpctl found)
info: module batman_adv not loaded (module init failed: no /usr/sbin/batctl found)
info: module openvswitch_port not loaded (module init failed: no /usr/bin/ovs-vsctl found)
info: module openvswitch not loaded (module init failed: no /usr/bin/ovs-vsctl found)
info: looking for user scripts under /etc/network
info: loading scripts under /etc/network/if-pre-up.d ...
info: loading scripts under /etc/network/if-up.d ...
info: loading scripts under /etc/network/if-post-up.d ...
info: loading scripts under /etc/network/if-pre-down.d ...
info: loading scripts under /etc/network/if-down.d ...
info: loading scripts under /etc/network/if-post-down.d ...
info: 'link_master_slave' is set. slave admin state changes will be delayed till the masters admin state change.
info: using mgmt iface default prefix eth
debug: reloading interface config ..
info: processing interfaces file /etc/network/interfaces
debug: processing sourced line ..'source /etc/network/interfaces.d/*'
debug: vmbr0: evaluating port expr '['enp41s0']'
debug: vmbr0: evaluating port expr '['enp41s0']'
info: no interfaces to down ..
info: reload: scheduling up on interfaces: ['lo', 'vmbr0', 'vmbr1']
debug: scheduling '['pre-up', 'up', 'post-up']' for ['lo', 'vmbr0', 'vmbr1']
debug: dependency graph {
lo : []
enp41s0 : []
vmbr0 : ['enp41s0']
vmbr1 : []
}
debug: graph roots (interfaces that dont have dependents): ['lo', 'vmbr0', 'vmbr1']
info: lo: running ops ...
debug: lo: pre-up : running module xfrm
debug: lo: pre-up : running module link
debug: lo: pre-up : running module bond
debug: lo: pre-up : running module vlan
debug: lo: pre-up : running module vxlan
debug: lo: pre-up : running module usercmds
debug: lo: pre-up : running module bridge
debug: lo: pre-up : running module bridgevlan
debug: lo: pre-up : running module tunnel
debug: lo: pre-up : running module vrf
debug: lo: pre-up : running module ethtool
debug: lo: pre-up : running module address
info: executing /sbin/sysctl net.mpls.conf.lo.input=0
debug: lo: up : running module dhcp
debug: lo: up : running module address
debug: lo: up : running module addressvirtual
debug: lo: up : running module usercmds
debug: lo: up : running script /etc/network/if-up.d/postfix
info: executing /etc/network/if-up.d/postfix
debug: lo: post-up : running module usercmds
debug: lo: statemanager sync state pre-up
debug: vmbr0: found dependents ['enp41s0']
info: enp41s0: running ops ...
debug: enp41s0: pre-up : running module xfrm
debug: enp41s0: pre-up : running module link
debug: enp41s0: pre-up : running module bond
debug: enp41s0: pre-up : running module vlan
debug: enp41s0: pre-up : running module vxlan
debug: enp41s0: pre-up : running module usercmds
debug: enp41s0: pre-up : running module bridge
info: vmbr0: applying bridge port configuration: ['enp41s0']
debug: enp41s0: pre-up : running module bridgevlan
debug: enp41s0: pre-up : running module tunnel
debug: enp41s0: pre-up : running module vrf
info: vrf: syncing table map to /etc/iproute2/rt_tables.d/ifupdown2_vrf_map.conf
info: vrf: dumping iproute2_vrf_map
info: {}
debug: enp41s0: pre-up : running module ethtool
debug: enp41s0: pre-up : running module address
info: executing /sbin/sysctl net.mpls.conf.enp41s0.input=0
debug: enp41s0: up : running module dhcp
debug: enp41s0: up : running module address
debug: enp41s0: up : running module addressvirtual
debug: enp41s0: up : running module usercmds
debug: enp41s0: up : running script /etc/network/if-up.d/postfix
info: executing /etc/network/if-up.d/postfix
.debug: enp41s0: post-up : running module usercmds
debug: enp41s0: statemanager sync state pre-up
info: vmbr0: running ops ...
debug: vmbr0: pre-up : running module xfrm
debug: vmbr0: pre-up : running module link
debug: vmbr0: pre-up : running module bond
debug: vmbr0: pre-up : running module vlan
debug: vmbr0: pre-up : running module vxlan
debug: vmbr0: pre-up : running module usercmds
debug: vmbr0: pre-up : running module bridge
info: vmbr0: bridge already exists
info: vmbr0: applying bridge settings
info: vmbr0: reset bridge-hashel to default: 4
info: reading '/sys/class/net/vmbr0/bridge/stp_state'
info: vmbr0: netlink: ip link set dev vmbr0 type bridge (with attributes)
debug: attributes: {26: 4}
info: vmbr0: port fwpr144p0 will stay enslaved as it matches with bridge-ports-condone-regex
debug: vmbr0: evaluating port expr '['enp41s0']'
info: vmbr0: port enp41s0: already processed
info: vmbr0: applying bridge configuration specific to ports
info: vmbr0: processing bridge config for port enp41s0
debug: vmbr0: pre-up : running module bridgevlan
debug: vmbr0: pre-up : running module tunnel
debug: vmbr0: pre-up : running module vrf
debug: vmbr0: pre-up : running module ethtool
debug: vmbr0: pre-up : running module address
info: executing /sbin/sysctl net.mpls.conf.vmbr0.input=0
info: vmbr0: primary ip changed (from 94.X.Y.Z/26 to 94.X.Y.Z/32) we need to purge all ip addresses and re-add them
info: vmbr0: netlink: ip addr del 94.X.Y.Z/32 dev vmbr0
File "/usr/sbin/ifreload", line 131, in <module>
sys.exit(main())
File "/usr/sbin/ifreload", line 119, in main
return stand_alone()
File "/usr/sbin/ifreload", line 103, in stand_alone
status = ifupdown2.main()
File "/usr/share/ifupdown2/ifupdown/main.py", line 77, in main
self.handlers.get(self.op)(self.args)
File "/usr/share/ifupdown2/ifupdown/main.py", line 284, in run_reload
ifupdown_handle.reload(['pre-up', 'up', 'post-up'],
File "/usr/share/ifupdown2/ifupdown/ifupdownmain.py", line 2437, in reload
self._reload_default(*args, **kargs)
File "/usr/share/ifupdown2/ifupdown/ifupdownmain.py", line 2415, in _reload_default
ret = self._sched_ifaces(new_filtered_ifacenames, upops,
File "/usr/share/ifupdown2/ifupdown/ifupdownmain.py", line 1558, in _sched_ifaces
ifaceScheduler.sched_ifaces(self, ifacenames, ops,
File "/usr/share/ifupdown2/ifupdown/scheduler.py", line 588, in sched_ifaces
cls.run_iface_list(ifupdownobj, run_queue, ops,
File "/usr/share/ifupdown2/ifupdown/scheduler.py", line 318, in run_iface_list
cls.run_iface_graph(ifupdownobj, ifacename, ops, parent,
File "/usr/share/ifupdown2/ifupdown/scheduler.py", line 308, in run_iface_graph
cls.run_iface_list_ops(ifupdownobj, ifaceobjs, ops)
File "/usr/share/ifupdown2/ifupdown/scheduler.py", line 181, in run_iface_list_ops
cls.run_iface_op(ifupdownobj, ifaceobj, op,
File "/usr/share/ifupdown2/ifupdown/scheduler.py", line 102, in run_iface_op
m.run(ifaceobj, op,
File "/usr/share/ifupdown2/addons/address.py", line 1401, in run
op_handler(self, ifaceobj,
File "/usr/share/ifupdown2/addons/address.py", line 1036, in _pre_up
self.process_addresses(ifaceobj, ifaceobj_getfunc, force_reapply)
File "/usr/share/ifupdown2/addons/address.py", line 605, in process_addresses
self.log_warn(str(e))
File "/usr/share/ifupdown2/ifupdownaddons/modulebase.py", line 97, in log_warn
traceback.print_stack()
Traceback (most recent call last):
File "/usr/share/ifupdown2/lib/nlcache.py", line 3214, in addr_del
result = self.tx_nlpacket_get_response_with_error(packet)
File "/usr/share/ifupdown2/lib/nlcache.py", line 2277, in tx_nlpacket_get_response_with_error
raise Exception(error_str)
Exception: operation failed with 'Cannot assign requested address' (99)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/share/ifupdown2/addons/address.py", line 603, in process_addresses
self.netlink.addr_del(ifname, addr)
File "/usr/share/ifupdown2/lib/nlcache.py", line 3222, in addr_del
raise NetlinkError(e, "cannot delete address %s dev %s" % (addr, ifname), ifname=ifname)
lib.nlcache.NetlinkError: netlink: vmbr0: cannot delete address 94.X.Y.Z/32 dev vmbr0: operation failed with 'Cannot assign requested address' (99)
warning: netlink: vmbr0: cannot delete address 94.X.Y.Z/32 dev vmbr0: operation failed with 'Cannot assign requested address' (99)
info: reading '/proc/sys/net/ipv6/conf/vmbr0/disable_ipv6'
debug: vmbr0: up : running module dhcp
debug: vmbr0: up : running module address
info: executing /bin/ip route add default via 94.X.Y.Z proto kernel dev vmbr0 onlink
info: executing /bin/ip route add default via fe80::1 proto kernel dev vmbr0 onlink
debug: vmbr0: up : running module addressvirtual
debug: vmbr0: up : running module usercmds
info: executing sysctl -p
debug: vmbr0: up : running script /etc/network/if-up.d/postfix
info: executing /etc/network/if-up.d/postfix
debug: vmbr0: post-up : running module usercmds
debug: vmbr0: statemanager sync state pre-up
info: vmbr1: running ops ...
debug: vmbr1: pre-up : running module xfrm
debug: vmbr1: pre-up : running module link
debug: vmbr1: pre-up : running module bond
debug: vmbr1: pre-up : running module vlan
debug: vmbr1: pre-up : running module vxlan
debug: vmbr1: pre-up : running module usercmds
debug: vmbr1: pre-up : running module bridge
info: vmbr1: bridge already exists
info: vmbr1: applying bridge settings
info: vmbr1: reset bridge-hashel to default: 4
info: reading '/sys/class/net/vmbr1/bridge/stp_state'
info: vmbr1: netlink: ip link set dev vmbr1 type bridge (with attributes)
debug: attributes: {26: 4}
debug: vmbr1: pre-up : running module bridgevlan
debug: vmbr1: pre-up : running module tunnel
debug: vmbr1: pre-up : running module vrf
debug: vmbr1: pre-up : running module ethtool
debug: vmbr1: pre-up : running module address
info: executing /sbin/sysctl net.mpls.conf.vmbr1.input=0
info: writing '0' to file /proc/sys/net/ipv4/conf/vmbr1/arp_accept
debug: vmbr1: up : running module dhcp
debug: vmbr1: up : running module address
debug: vmbr1: up : running module addressvirtual
debug: vmbr1: up : running module usercmds
debug: vmbr1: up : running script /etc/network/if-up.d/postfix
info: executing /etc/network/if-up.d/postfix
debug: vmbr1: post-up : running module usercmds
debug: vmbr1: statemanager sync state pre-up
debug: saving state ..
info: exit status 0




-------------------------------------
Lots of information i didnt find anything can help me there .
 
Last edited by a moderator:
Hello all
Any ideas on how i must fix this problem ?
I cannot use my subnet on this host too
 
Hello
The problem is solved .
Seems like hetzner network need some time to fully configure and needs your attention and contact network support to fix it .
There is no problem on my configs .

Thanks for your help
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!