]>
git.proxmox.com Git - ifupdown2.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Alexandre Derumier [Sat, 16 May 2020 12:07:05 +0000 (14:07 +0200)]
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>
Thomas Lamprecht [Mon, 16 Mar 2020 05:33:50 +0000 (06:33 +0100)]
bump version to 2.0.1-1+pve8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sun, 15 Mar 2020 16:08:35 +0000 (17:08 +0100)]
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>
Thomas Lamprecht [Tue, 10 Mar 2020 07:10:04 +0000 (08:10 +0100)]
bump version to 2.0.1-1+pve7
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 10 Mar 2020 07:07:53 +0000 (08:07 +0100)]
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>
Thomas Lamprecht [Tue, 10 Mar 2020 06:58:25 +0000 (07:58 +0100)]
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>
Thomas Lamprecht [Mon, 9 Mar 2020 12:26:01 +0000 (13:26 +0100)]
bump version to 2.0.1-1+pve6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 9 Mar 2020 12:25:10 +0000 (13:25 +0100)]
drop breaks on ovs
it seems the OVS plugin can handle older versions still fine
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 7 Mar 2020 15:50:37 +0000 (16:50 +0100)]
bump version to 2.0.1-1+pve5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 7 Mar 2020 16:56:33 +0000 (17:56 +0100)]
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>
Thomas Lamprecht [Sat, 7 Mar 2020 15:42:05 +0000 (16:42 +0100)]
install/purge compat change, graceful exit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Fri, 21 Feb 2020 09:27:14 +0000 (10:27 +0100)]
patch : postinst/postrm : convert network config for compatibility
Alexandre Derumier [Fri, 21 Feb 2020 09:27:13 +0000 (10:27 +0100)]
add openvswitch addon
This reimplement the ifupdown1 script with same options,
with reloading included !
Alexandre Derumier [Fri, 21 Feb 2020 09:27:12 +0000 (10:27 +0100)]
remove patch 0008-execute-addons-scripts-before-modules.patch
This was a workaround for openvswitch
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 13 Feb 2020 06:30:31 +0000 (07:30 +0100)]
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>
Alexandre Derumier [Wed, 19 Feb 2020 11:47:11 +0000 (12:47 +0100)]
add ifupdown2-pre.service service
ifupdown1 have a service to launch "udevadm settle",
to be sure that networking devices are correctly setup
before networking service is started.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920623
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Mon, 24 Feb 2020 14:35:50 +0000 (15:35 +0100)]
patch: don't change interface forwarding value if not defined
Seem that my previous patch was forgot in the 2.0
https://github.com/CumulusNetworks/ifupdown2/pull/101
Without this, user with routed setup with sysctl fordwarding enable,
is removed when interface is up
User have reported the bug here:
https://forum.proxmox.com/threads/no-internet-on-all-vms-after-update.64404/#post-296540
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Wolfgang Bumiller [Mon, 3 Feb 2020 10:09:18 +0000 (11:09 +0100)]
bump version to 2.0.1-1+pve4
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Alexandre Derumier [Mon, 3 Feb 2020 05:30:29 +0000 (06:30 +0100)]
patch: config_tuning: state_dir=/run/network/
we don't want state_dir persistent across reboot.
I have add some ifreload hanging after a crash, with non existing old interfaces
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Alexandre Derumier [Mon, 3 Feb 2020 05:30:28 +0000 (06:30 +0100)]
patch: execute addons scripts before modules
ifupdown2.0 now setup address in pre-up, but ovs script also
create in pre-up, but after address module.
This patch execute addons scripts before ifupdown modules
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Thomas Lamprecht [Thu, 30 Jan 2020 12:45:47 +0000 (13:45 +0100)]
followup: restore service ordering state as previous
commit
214bc505acdeaa33c9b9b14b75e16f292f8d95f3 removed this by
mistake. While I fix it before detecting that (thank Wolfgang!) lets
restore it more like the state it was.
Add missing ordering:
After=network-pre.target
See systemd.special(7)'s description of this target
After=systemd-sysctl.service
ifupdown does the same - we want net.*.conf.default.*
sysctl keys to apply to newly created interfaces
After=systemd-modules-load.service
ifupdown does the same, though this should be mostly
optional as modules should be autoloaded anyway
Before=network.target
This is required to prevent services which require
network to be started too early and listen on wrong
addresses (iow. only on loopback or ipv4-only).
Before=network-online.target
See systemd.special(7)'s description. We are the
provider of this target.
Before=shutdown.target
ifupdown does it this way, it also makes more sense
given the Conflict entry, compared to the previous
WantedBy entry in [Install]
Changed install section:
WantedBy=multi-user.target
I wasn't sure about this. ifupdown does this.
basic.target didn't seem useful since we actually want:
WantedBy=network-online.target
We provide this, so we should be installed into it.
removed WantedBy=network.target
We strictly want to be ordered before this and instead
are required by multi-user.target already.
removed WantedBy=shutdown.target
I didn't see the point.
Originally-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 30 Jan 2020 11:51:48 +0000 (12:51 +0100)]
bump version to 2.0.1-1+pve3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 30 Jan 2020 11:50:53 +0000 (12:50 +0100)]
fix networking.service ordering
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 13 Jan 2020 08:14:30 +0000 (09:14 +0100)]
bump version to 2.0.1-1+pve2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 13 Jan 2020 08:13:34 +0000 (09:13 +0100)]
backport fix to avoid exception in ifreload
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Tue, 7 Jan 2020 01:41:08 +0000 (02:41 +0100)]
bump version to 2.0.1-1+pve1
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 9 Jan 2020 11:23:00 +0000 (12:23 +0100)]
update patches
remove add-uplink-id-option.patch (not needed),
remove arp-accept option patch (available upstream)
remove debian-fixup-networking.service.patch (new @ifup service upstream)
rebase others patches
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Thomas Lamprecht [Wed, 8 Jan 2020 10:13:02 +0000 (11:13 +0100)]
update submodule to 2.0.1-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 26 Nov 2019 13:31:45 +0000 (14:31 +0100)]
bump version to 1.2.8-1+pve4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Fri, 13 Sep 2019 14:53:20 +0000 (16:53 +0200)]
config: keep addon_syntax_check=0
It was wrong set to 1, and break openvswitch
Ifupdown2 was 1 by default last year,
and the first version ofpatch was setting to 0.
But ifupdown2 was reverted to 0 in 2019, and I wrongly change the patch to 1.
So now, it's default to 0 , no need to patch it.
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 3 Sep 2019 08:07:16 +0000 (10:07 +0200)]
add patch to add arp-accept option
needed for bgp-evpn
upstream pull request:
https://github.com/CumulusNetworks/ifupdown2/pull/121
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Thomas Lamprecht [Fri, 30 Aug 2019 04:59:22 +0000 (06:59 +0200)]
bump version to 1.2.8-1+pve3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 30 Aug 2019 04:53:13 +0000 (06:53 +0200)]
re-add config tuning patch lost during upgrade to 1.2.8
Reported-by: Mira Limbeck <m.limbeck@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 28 Aug 2019 15:00:02 +0000 (17:00 +0200)]
bump version to 1.2.8-1+pve2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 28 Aug 2019 14:59:45 +0000 (16:59 +0200)]
buildsys: add own buildir target
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 28 Aug 2019 14:47:17 +0000 (16:47 +0200)]
buildsys: use dpkg-dev makefile helpers for pkg info
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Wed, 28 Aug 2019 14:05:05 +0000 (16:05 +0200)]
fix bridge_port_condone_regex default value
Thomas Lamprecht [Wed, 28 Aug 2019 09:08:13 +0000 (11:08 +0200)]
bump version to 1.2.8-1+pve1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 28 Aug 2019 09:07:34 +0000 (11:07 +0200)]
update patches for 1.2.8-1 release
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 28 Aug 2019 09:08:04 +0000 (11:08 +0200)]
update submodule to 1.2.8-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 18 Jun 2019 08:24:28 +0000 (10:24 +0200)]
bump version to 1.2.5-2+pve1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Thu, 13 Jun 2019 12:48:55 +0000 (14:48 +0200)]
patch: add uplink-id option
only to avoid warning, not used by ifupdown2
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 13 Jun 2019 12:48:54 +0000 (14:48 +0200)]
patch: don't remove bridge if tap|veth|fw are connected
instead make a warning
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 13 Jun 2019 12:48:53 +0000 (14:48 +0200)]
patch: ifup/ifdown vxlan interface on reload
almost all vxlan options can't be changed online,
simply ifdown/up them in case of reload
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Thomas Lamprecht [Mon, 3 Jun 2019 09:17:25 +0000 (11:17 +0200)]
drop patches applied upstream
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 3 Jun 2019 09:17:44 +0000 (11:17 +0200)]
update to current upstream master
to save Alexandre some backport work
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Mon, 6 May 2019 04:24:59 +0000 (06:24 +0200)]
upstream fix for error: 'NoneType' object has no attribute '__getitem__'
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Tue, 16 Apr 2019 23:25:50 +0000 (01:25 +0200)]
ifupdown2 : bump to 1.2.5
Alexandre Derumier [Tue, 16 Apr 2019 23:25:53 +0000 (01:25 +0200)]
bridge up : skip tap|veth|fwpr
to avoid error like
info: vmbr5001: applying bridge port configuration: ['tap111i0']
info: vmbr5001: applying bridge configuration specific to ports
error: 'NoneType' object has no attribute '__getitem__'
Alexandre Derumier [Tue, 16 Apr 2019 23:25:52 +0000 (01:25 +0200)]
allow vlan subinterface in vlan aware bridge
(for qinq)
Alexandre Derumier [Tue, 16 Apr 2019 23:25:51 +0000 (01:25 +0200)]
config: keep ifreload_down_changed=0
bug introduce is commit
https://git.proxmox.com/?p=ifupdown2.git;a=commit;h=
b58be4449b3a009ba8324e3f414f2355fcf94c06
We don't stop/start interface on config change,
but only apply changes. (to avoid stop/start bridge as we don't track tap/veth)
Thomas Lamprecht [Wed, 17 Apr 2019 07:19:30 +0000 (07:19 +0000)]
update submodule to 1.2.5-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Mon, 31 Dec 2018 10:20:05 +0000 (11:20 +0100)]
bump version to 1.2.2-1+pvetest1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Alexandre Derumier [Mon, 31 Dec 2018 10:20:07 +0000 (11:20 +0100)]
update config tuning patch
Thomas Lamprecht [Tue, 8 Jan 2019 14:55:20 +0000 (15:55 +0100)]
update submodule to 1.2.2-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Thu, 9 Aug 2018 09:58:03 +0000 (11:58 +0200)]
Makefile: replace ARCH with all
This is an architecture independent package.
Wolfgang Bumiller [Tue, 3 Jul 2018 08:57:01 +0000 (10:57 +0200)]
bump version to 1.2.0-1+pvetest1
Note that ifupdown2 changed its versioning scheme: Instead
of 2.0 this release is 1.2.0.
This version has a release tag, so it _should_ stick now ;-)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 3 Jul 2018 08:59:39 +0000 (10:59 +0200)]
add patch to fix networking.service
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Tue, 3 Jul 2018 08:56:28 +0000 (10:56 +0200)]
update to current master-next and remove upstreamed patches
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 18 Jun 2018 08:05:16 +0000 (10:05 +0200)]
bump version to 2.0.0-1~pvetest3
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Alexandre Derumier [Sat, 16 Jun 2018 13:07:23 +0000 (15:07 +0200)]
allow address on vlan aware bridge
Wolfgang Bumiller [Mon, 18 Jun 2018 07:57:39 +0000 (09:57 +0200)]
bump version to 2.0.0-1~pvetest2
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Mon, 18 Jun 2018 07:56:16 +0000 (09:56 +0200)]
revert
113afc4da2 , the patch wasn't actually applied
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 15 Jun 2018 07:41:52 +0000 (09:41 +0200)]
cleanup patches
Generate them with --zero-commit passed to git format-patch.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 15 Jun 2018 07:24:58 +0000 (09:24 +0200)]
remove already-applied patch
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 15 Jun 2018 07:17:29 +0000 (09:17 +0200)]
change to pve packaging
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 15 Jun 2018 06:55:45 +0000 (08:55 +0200)]
switch to relative mirror
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 15 Jun 2018 06:54:56 +0000 (08:54 +0200)]
buildsys: cleanup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Alexandre Derumier [Thu, 14 Jun 2018 23:52:03 +0000 (01:52 +0200)]
add ifupdown2 submodule
Alexandre Derumier [Thu, 14 Jun 2018 23:52:02 +0000 (01:52 +0200)]
add debian dir
Alexandre Derumier [Thu, 14 Jun 2018 23:52:01 +0000 (01:52 +0200)]
add makefile