Commit Graph

156 Commits

Author SHA1 Message Date
Alexandre Derumier
ceca2b819f patch: fix 3.1 pointopoint regression
user have reported a bug with pointopoint in 3.1

https://forum.proxmox.com/threads/hetzner-pve-7-0-problems-after-reboot-maybe-ifupdown2.92935/

it's coming from a change in
ba5437b9ec

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2021-07-26 12:28:05 +02:00
Thomas Lamprecht
825a87a5f3 bump version to 3.1.0-1+pmx2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-16 15:18:16 +02:00
Thomas Lamprecht
1b11ea3f7e do not trigger ifreload in installer
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-15 10:35:00 +02:00
Thomas Lamprecht
8163f4f7bb buildsys: change upload dist to bullseye and add pmg and pbs
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-14 17:01:04 +02:00
Thomas Lamprecht
14a5b60edd bump version to 3.1.0-1+pmx1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-14 16:59:00 +02:00
Thomas Lamprecht
f689f12580 ship policy for setting the bridge MAC from its first port
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-14 16:58:55 +02:00
Thomas Lamprecht
7b2fe41c86 update submodule to what will be 3.1.0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-14 16:21:44 +02:00
Alexandre Derumier
0e6fe6dec4 update patches for 3.1.0
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2021-07-14 16:21:16 +02:00
Thomas Lamprecht
5323721c43 bump version to 3.0.0-1+pve6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-06 14:00:20 +02:00
Dominik Csapak
86335f3f89 add patch to reload after first install
when installing for the first time we want to reload the network config,
since sometimes the network will not be configured, e.g. when
coming from ifupdown. this would break installing ifupdown2 over
the network (e.g. ssh)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-07-06 13:54:18 +02:00
Thomas Lamprecht
f4a6c643b8 bump version to 3.0.0-1+pve5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-25 10:36:44 +02:00
Thomas Lamprecht
7f8eaeb0b3 d/rules: add dh_installsystemd override for compat >= 12
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-25 10:36:07 +02:00
Thomas Lamprecht
df14fd6762 bump version to 3.0.0-1+pve4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-24 12:39:32 +02:00
Thomas Lamprecht
12b2e28543 debian: update comapt level to 12 and drop dh-systemd B-D
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-24 12:37:38 +02:00
Thomas Lamprecht
e53b466eb8 bump version to 3.0.0-1+pve3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-09-25 09:22:45 +02:00
Thomas Lamprecht
d1390770a8 update ifupdown2 submodule
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-09-25 09:22:16 +02:00
Alexandre Derumier
8d5303c350 update patch10: only rewrite config on first ifupdown2
we don't want to update config at each upgrade.

postinst can't detect upgrade vs install, it need to be done in preinst.

so I create a tmp file in preinst for first install, and detect this file
in postinst.
(as we need to have ifupdown2 installed first, to have the config rewrite working)

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-09-25 09:16:01 +02:00
Alexandre Derumier
c5cf5bb912 patch: allow vlan tag inside vxlan tunnel
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-09-25 09:16:01 +02:00
Alexandre Derumier
8ed59fd74a remove patch 0009-address-don-t-process_mtu-if-ovs-mtu-is-defined.patch
upstream : 8994bdd39a (diff-1481ea1b5d4c5d73242f448fc8412b21)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-09-25 09:16:01 +02:00
Alexandre Derumier
6b1d95157e add patch 0009-address-don-t-process_mtu-if-ovs-mtu-is-defined.patch
https://github.com/CumulusNetworks/ifupdown2/pull/166

Openvswitch already manage mtu if ovs-mtu is defined.
(Ovs manage mtu in userland, and sync mtu for some interfaces in kernel).

If mtu is changed by address module, before the ovs userland mtu,
this give packets drop.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-05 08:34:14 +02:00
Thomas Lamprecht
b3ed618389 bump version to 3.0.0-1+pve1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-03 09:38:23 +02:00
Thomas Lamprecht
67c61e6cbf update to master to avoid extra patches
All upstreamed by Alexandre and the master at time of writing is
besides one patch just that, so use it directly.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-03 09:38:23 +02:00
Alexandre Derumier
ead75230c4 add patch 0008-openvswitch-ovs-ports-condone-regex-exclude-tap-veth.patch
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-06-03 09:25:27 +02:00
Alexandre Derumier
c3a3fd9a65 control: update python3
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-06-03 09:25:27 +02:00
Alexandre Derumier
80a2c57d58 add extra patch: 0004-fix-start-networking-permission.patch
5cbe13d17a
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-06-03 09:25:27 +02:00
Alexandre Derumier
6bf2953c9e add extra patch: 0003-ovs-multiple-ovsport.patch
https://github.com/CumulusNetworks/ifupdown2/pull/164
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-06-03 09:25:27 +02:00
Alexandre Derumier
fe52edf9f2 add extra patch: 0002-nllistener-increase-buffer.patch
523b347ad4
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-06-03 09:25:27 +02:00
Alexandre Derumier
06ca811b72 remove 0008-add-openvswitch-addon.patch
openvswitch is now upstream

add extra-patch for ovs-ports-condone-regex
https://github.com/CumulusNetworks/ifupdown2/pull/157

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-06-03 09:25:27 +02:00
Alexandre Derumier
606a00b69b rebase 0007-networking.service-fix-dependencies-and-ordering.patch
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-06-03 09:25:27 +02:00
Alexandre Derumier
fe94b8bc6c rebase 0001-don-t-remove-tap-veth-fwpr-interfaces-from-bridge-on.patch
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-06-03 09:25:27 +02:00
Alexandre Derumier
dc48d9f63e remove extra patches
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-06-03 09:25:27 +02:00
Thomas Lamprecht
77e8c36972 update submodule for 3.0.0 tag
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-03 09:25:27 +02:00
Thomas Lamprecht
5797b341ef bump version to 2.0.1-1+pve10
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-19 22:11:56 +02:00
Thomas Lamprecht
d32cfc028a postinst/postrm: only update network config on pve-common using systems
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-19 22:10:53 +02:00
Thomas Lamprecht
da9e12a729 bump version to 2.0.1-1+pve9
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-19 08:26:16 +02:00
Alexandre Derumier
1aa30813a8 openvswitch: don't remove tap|veth interfaces when adding an internal ovs port
Currently, tap|veth interfaces are removed if user add a new ovs internal port and reload.

add ovs-ports-condone-regex option, like for bridge (to have the patch upstream).
default options to "tap|veth|fwpr"

to avoid to remove theses interfaces

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-05-19 08:23:48 +02:00
Thomas Lamprecht
aa0f0a38bf bump version to 2.0.1-1+pve8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-16 06:33:50 +01:00
Thomas Lamprecht
5c65e240b3 drop now outdated allow=ovs service ExecStart/Stop
we now have a real OVS plugin which can handle this.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-15 17:08:36 +01:00
Thomas Lamprecht
778051707d bump version to 2.0.1-1+pve7
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-10 08:10:04 +01:00
Thomas Lamprecht
7298bb3fe7 post* compat rewrite: do not print changes to stdout
It can contain unicode stuff which gets us warnings and could also be
quite long, so avoid printing that out for now but add some newlines
to make the message stand out more.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-10 08:07:56 +01:00
Thomas Lamprecht
1711aaa66b netowrking-pre: fix udevadm path for non usr-merged systems
udevadm ships actually a full executable copy in /bin and /sbin, so
go for the path systemd-udev-settle.service is using too - but it
shouldn't matter

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-10 07:59:52 +01:00
Thomas Lamprecht
114785c0b9 bump version to 2.0.1-1+pve6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-09 13:26:01 +01:00
Thomas Lamprecht
a6d7481552 drop breaks on ovs
it seems the OVS plugin can handle older versions still fine

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-09 13:25:12 +01:00
Thomas Lamprecht
f0288a4036 bump version to 2.0.1-1+pve5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-07 17:59:14 +01:00
Thomas Lamprecht
4e10bcbcab d/control: record break for pve-common and ovs
while we not actively break that we really want to ensure that those
or newer versions are used

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-07 17:59:14 +01:00
Thomas Lamprecht
4bb44e061e install/purge compat change, graceful exit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-07 16:42:05 +01:00
Alexandre Derumier
849ae55de6 patch : postinst/postrm : convert network config for compatibility 2020-03-07 15:53:25 +01:00
Alexandre Derumier
bf9a532c42 add openvswitch addon
This reimplement the ifupdown1 script with same options,

with reloading included !
2020-03-07 15:52:02 +01:00
Alexandre Derumier
3635c3c34f remove patch 0008-execute-addons-scripts-before-modules.patch
This was a workaround for openvswitch

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-03-07 15:51:39 +01:00
Alexandre Derumier
1aeb7eb223 add patch to ifup/ifdown allow=ovs on start/stop
This is fixing possible race condition with ovs 2.12

ans also cleanly remove ovs interfaces on networking service stop

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-03-07 15:27:01 +01:00