Bug 47569 - UMC Memory Leaks with UVMM
UMC Memory Leaks with UVMM
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Virtualization - UVMM
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-4-errata
Assigned To: Philipp Hahn
Jürn Brodersen
:
Depends on: 47114
Blocks:
  Show dependency treegraph
 
Reported: 2018-08-10 13:43 CEST by Jürn Brodersen
Modified: 2018-08-15 16:20 CEST (History)
8 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.229
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support: Yes
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018053121000468, 2018062321000016
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jürn Brodersen univentionstaff 2018-08-10 13:43:04 CEST
+++ This bug was initially created as a clone of Bug #47114 +++

Please cherrypick from Bug #47114
Comment 1 Philipp Hahn univentionstaff 2018-08-13 16:19:51 CEST
python-notifier: I'm re-using the binary build from 4.3-1 as that one fixes Bug #47114 and also Bug #44222. No need to re-build:
$ diff <(dpkg -I 4.1/maintained/component/4.1-0-errata/all/python-notifier_0.9.7-4.30.201601271815_all.deb) <(dpkg -I 4.3/maintained/component/4.3-1-errata/all/python-notifier_0.9.7-4.A~4.3.0.201806071253_all.deb)
2,3c2,3
<  Größe 39280 Byte: control-Archiv= 1703 Byte.
<      712 Byte,    16 Zeilen      control              
---
>  Größe 35250 Byte: control-Archiv= 1702 Byte.
>      717 Byte,    16 Zeilen      control              
8c8
<  Version: 0.9.7-4.30.201601271815
---
>  Version: 0.9.7-4.A~4.3.0.201806071253
11c11
<  Installed-Size: 161
---
>  Installed-Size: 146

Only python-notifier will stay installed the whole time, as that is the same version from errata4.3-1. But all other packages will be upgrade to "broken" intermediate packages from ucs4.3-x until errata4.3-1 is reached.


[4.2-4] 63e2f662e8 Bug #47569: Fix notifier traceback memory leaks
[4.2-4] 4bb81a343e Bug #47569 USS: Fix notifier traceback memory leak
 base/univention-system-setup/debian/changelog             | 6 ++++++
 base/univention-system-setup/umc/python/setup/__init__.py | 7 ++++---
 2 files changed, 10 insertions(+), 3 deletions(-)

[4.2-4] c0af72292f Bug #47569 UAC: Fix notifier traceback memory leak
 management/univention-appcenter/debian/changelog                 | 6 ++++++
 management/univention-appcenter/umc/python/appcenter/__init__.py | 8 +++-----
 2 files changed, 9 insertions(+), 5 deletions(-)

[4.2-4] b14f6dd430 Bug #47569 join: Fix notifier traceback memory leak
 management/univention-join/debian/changelog            | 6 ++++++
 management/univention-join/umc/python/join/__init__.py | 8 ++++----
 2 files changed, 10 insertions(+), 4 deletions(-)

[4.2-4] 6eb799b91c Bug #47569 UMC: Fix notifier traceback memory leak
 .../univention-management-console/debian/changelog |  6 ++++
 .../src/univention/management/console/auth.py      |  4 +--
 .../src/univention/management/console/base.py      | 32 ++++++++++++++++++++--
 .../management/console/protocol/modserver.py       | 17 ++++++++----
 .../univention-management-console-web-server       | 13 +++++----
 5 files changed, 57 insertions(+), 15 deletions(-)


Package: univention-system-setup
Version: 10.0.11-5A~4.2.0.201808113517
Branch: ucs_4.2-0
Scope: errata4.2-4

Package: univention-management-console
Version: 9.0.80-98A~4.2.0.201808131522
Branch: ucs_4.2-0
Scope: errata4.2-4

Package: univention-join
Version: 9.0.3-14A~4.2.0.201808131525
Version: 9.0.3-14A~4.2.0.201808131535
Version: 9.0.3-14A~4.2.0.201808131557
Branch: ucs_4.2-0
Scope: errata4.2-4

Package: univention-appcenter
Version: 6.0.11-18A~4.2.0.201808131558
Branch: ucs_4.2-0
Scope: errata4.2-4

[4.2-4] d3890b5a75 Bug #47569: Fix notifyer traceback memory leaks YAML
 doc/errata/staging/python-notifier.yaml               |  2 +-
 doc/errata/staging/univention-appcenter.yaml          | 10 ++++++++++
 doc/errata/staging/univention-join.yaml               | 10 ++++++++++
 doc/errata/staging/univention-management-console.yaml | 10 ++++++++++
 doc/errata/staging/univention-system-setup.yaml       | 10 ++++++++++
 5 files changed, 41 insertions(+), 1 deletion(-)
Comment 2 Jürn Brodersen univentionstaff 2018-08-14 11:43:45 CEST
OK

What I tested:
Memory leak -> is gone -> OK
Exceptions inside threads -> OK
"Normal" (no thread) Exception -> OK
Join module exceptions -> OK

Upgrade -> OK

YAMLs -> OK
Comment 3 Philipp Hahn univentionstaff 2018-08-15 12:31:41 CEST
Due to Bug #39164 we need the re-build python-notifier in errata4.2-4 with a version number lower then the current version in UCS-4.3; otherwise any customer running UCS-4.3 upgraded from 4.2-4 will already receive the new python-notifier version, which will brake UMC until Bug #47114 is finally published.

The version is chosen to fit in between 4.2-4 and 4.3-x: <http://xen1.knut.univention.de:8000/packages/source/python-notifier/?since=4.0>

$ repo_admin.py --cherrypick -r 4.3 -s errata4.3-1 --releasedest 4.2 --dest errat4.2-4 -p python-notifier
$ build-package-ng -r 4.2 -p python-notifier -s errata4.2-4 -v 0.9.7-4.31.201808151220

Package: python-notifier
Version: 0.9.7-4.31.201808151220
Branch: ucs_4.2-0
Scope: errata4.2-4

[4.2-4] 02e25c3575 Bug #47569: python-notifier 0.9.7-4.31.201808151220
 doc/errata/staging/python-notifier.yaml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
Comment 4 Jürn Brodersen univentionstaff 2018-08-15 13:34:22 CEST
OK
New version number works
Comment 5 Philipp Hahn univentionstaff 2018-08-15 13:53:38 CEST
OK: debdiff ucs_4.2-0-errata4.2-4/all/python-notifier_0.9.7-4.31.201808151220_all.deb ucs_4.3-0-errata4.3-1/all/python-notifier_0.9.7-5A~4.3.0.201807041139_all.deb