all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Gabriel Goller <g.goller@proxmox.com>
To: Christoph Heiss <c.heiss@proxmox.com>
Cc: pve-devel@lists.proxmox.com
Subject: Re: [pve-devel] [PATCH ifupdown2] d/patches: add patch for adding IPv6 vxlan-local-tunnelip
Date: Tue, 14 Oct 2025 16:14:20 +0200	[thread overview]
Message-ID: <55nwdgalbdkqk4jvuvocpyphz3anva3f2z2ncxj2lia3ij4lxb@zdj63ifjp7sh> (raw)
In-Reply-To: <20251014130148.1073922-1-c.heiss@proxmox.com>

Just to keep the mailing list in the loop:

* when installing the packet the following error is visible: 

     find: ‘/var/lib/dhcp/’: No such file or directory

     but I didn't notice anything off, so probably a debian packaging
     thingy.

* when using a vxlan interface with a ipv6 tunnelip the reload fails:
     config:

     auto vrfvx_zone
     iface vrfvx_zone
             vxlan-id 101
             vxlan-local-tunnelip fc00:10::2
             bridge-learning off
             bridge-arp-nd-suppress on
             mtu 1450

     error:

     info: vrfvx_zone: netlink: ip link add dev vrfvx_zone type vxlan id 101 (with attributes)
     debug: attributes: {1: 101, 7: True, 15: 4789, 5: 0, 4: fc00:10::2}
     debug:   File "/usr/sbin/ifreload", line 139, in <module>
         sys.exit(main())
        File "/usr/sbin/ifreload", line 127, in main
         return stand_alone()
        File "/usr/sbin/ifreload", line 106, in stand_alone
         status = ifupdown2.main()
        File "/usr/share/ifupdown2/ifupdown/main.py", line 76, in main
         self.handlers.get(self.op)(self.args)
        File "/usr/share/ifupdown2/ifupdown/main.py", line 283, in run_reload
         ifupdown_handle.reload(['pre-up', 'up', 'post-up'],
        File "/usr/share/ifupdown2/ifupdown/ifupdownmain.py", line 2460, in reload
         self._reload_default(*args, **kargs)
        File "/usr/share/ifupdown2/ifupdown/ifupdownmain.py", line 2438, in _reload_default
         ret = self._sched_ifaces(new_filtered_ifacenames, upops,
        File "/usr/share/ifupdown2/ifupdown/ifupdownmain.py", line 1576, in _sched_ifaces
         ifaceScheduler.sched_ifaces(self, ifacenames, ops,
        File "/usr/share/ifupdown2/ifupdown/scheduler.py", line 595, in sched_ifaces
         cls.run_iface_list(ifupdownobj, run_queue, ops,
        File "/usr/share/ifupdown2/ifupdown/scheduler.py", line 325, in run_iface_list
         cls.run_iface_graph(ifupdownobj, ifacename, ops, parent,
        File "/usr/share/ifupdown2/ifupdown/scheduler.py", line 302, in run_iface_graph
         cls.run_iface_list(ifupdownobj, dlist, ops,
        File "/usr/share/ifupdown2/ifupdown/scheduler.py", line 325, in run_iface_list
         cls.run_iface_graph(ifupdownobj, ifacename, ops, parent,
        File "/usr/share/ifupdown2/ifupdown/scheduler.py", line 302, in run_iface_graph
         cls.run_iface_list(ifupdownobj, dlist, ops,
        File "/usr/share/ifupdown2/ifupdown/scheduler.py", line 325, in run_iface_list
         cls.run_iface_graph(ifupdownobj, ifacename, ops, parent,
        File "/usr/share/ifupdown2/ifupdown/scheduler.py", line 315, in run_iface_graph
         cls.run_iface_list_ops(ifupdownobj, ifaceobjs, ops)
        File "/usr/share/ifupdown2/ifupdown/scheduler.py", line 188, in run_iface_list_ops
         cls.run_iface_op(ifupdownobj, ifaceobj, op,
        File "/usr/share/ifupdown2/ifupdown/scheduler.py", line 106, in run_iface_op
         m.run(ifaceobj, op,
        File "/usr/share/ifupdown2/addons/vxlan.py", line 1761, in run
         op_handler(self, ifaceobj)
        File "/usr/share/ifupdown2/addons/vxlan.py", line 1204, in _up
         self.log_error("%s: vxlan creation failed: %s" % (ifname, str(e)), ifaceobj)
        File "/usr/share/ifupdown2/ifupdownaddons/modulebase.py", line 121, in log_error
         stack = traceback.format_stack()
     debug: Traceback (most recent call last):
       File "/usr/share/ifupdown2/addons/vxlan.py", line 1196, in _up
         self.netlink.link_add_vxlan_with_info_data(ifname, user_request_vxlan_info_data)
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       File "/usr/share/ifupdown2/lib/nlcache.py", line 3231, in link_add_vxlan_with_info_data
         link.build_message(next(self.sequence), self.pid)
         ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       File "/usr/share/ifupdown2/nlmanager/nlpacket.py", line 3908, in build_message
         attrs += attr.encode()
                  ~~~~~~~~~~~^^
       File "/usr/share/ifupdown2/nlmanager/nlpacket.py", line 3130, in encode
         raw = pack(pack_layout, *payload)
     struct.error: pack expected 25 items for packing (got 37)
     error: vrfvx_zone: vxlan creation failed: pack expected 25 items for packing (got 37)


Thanks for rebasing this!


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

      reply	other threads:[~2025-10-14 14:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-14 13:00 Christoph Heiss
2025-10-14 14:14 ` Gabriel Goller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55nwdgalbdkqk4jvuvocpyphz3anva3f2z2ncxj2lia3ij4lxb@zdj63ifjp7sh \
    --to=g.goller@proxmox.com \
    --cc=c.heiss@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal