Univention Bugzilla – Full Text Bug Listing |
Summary: | Wrong ini files fetched when upgrading to 3.2 on DC Master/Backup | ||
---|---|---|---|
Product: | UCS | Reporter: | Dirk Wiesenthal <wiesenthal> |
Component: | UMC - App-Center | Assignee: | Dirk Wiesenthal <wiesenthal> |
Status: | CLOSED FIXED | QA Contact: | Florian Best <best> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann, jmm |
Version: | UCS 3.2 | ||
Target Milestone: | UCS 3.2-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: | |||
Bug Depends on: | 33548 | ||
Bug Blocks: | 33549 |
Description
Dirk Wiesenthal
2013-11-22 13:09:27 CET
Hacky: Overwrite Application.get_metainf_url() to use 3.2. One has to adjust this each time UCS releases a minor or major upgrade... Probably better would be a variable version/target/version (or something like that) that could be used and is set at the beginning of univention-upgrade starts (and unset afterwards). That would not help here, though. The problem is the 3.1 updater I've added UCSOverviewCategory=False to the 3.1 zarafa ini file. (In reply to Dirk Wiesenthal from comment #1) > Good idea: Overwrite Application.get_metainf_url() to use 3.2 Application.get_metainf_url = classmethod(lambda cls: '%s/meta-inf/%s' % (cls.get_server(with_scheme=True), '3.2')) Then change again for next minor/major release (because Bug#33548 will be fixed) Fixed in univention-management-console-module-appcenter 3.0.50-5.218.201311222209 YAML updated. Changelog not created, no version built for next UCS version There was another problem: During update, the dpkg status of the packages used as system components were not INSTALLED (have not checked which state it was, probably something like UNPACKED). Because of strict checks in PackageManager system components did not count as installed. This was fixed, too (on App Center level, not PackageManager level as the check itself is correct in general). I had to build the package several times to realistically test the update process, thus the high -x version. Fixed in univention-management-console-module-appcenter 3.0.50-13.226.201311280353 QA: Interesting apps: DRBD (version changed), Zarafa (no overview links shall be created), OX (both), Samba 4 (system component that may receive an update along with this errata update) Check other apps, too. The problem is that UCSOverviewCategory=False was added to 3.1's Zarafa and OX shortly after this bug was found. This is not reproducible anymore without getting creative. Ok, after installing the errata update the system components are correctly registered, also the DRBD version is correct. Code-Review: OK YAML: OK |