Univention Bugzilla – Full Text Bug Listing |
Summary: | NoSectionError: No section: 'Application' | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UMC - App-Center | Assignee: | Dirk Wiesenthal <wiesenthal> |
Status: | CLOSED WONTFIX | QA Contact: | Felix Botner <botner> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann, keiser, klaeser, mai, wiesenthal |
Version: | UCS 4.1 | ||
Target Milestone: | UCS 4.1-4-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: |
https://forge.univention.org/bugzilla/show_bug.cgi?id=38633 https://forge.univention.org/bugzilla/show_bug.cgi?id=40064 https://forge.univention.org/bugzilla/show_bug.cgi?id=40102 |
||
What kind of report is it?: | Bug Report | What type of bug is this?: | 6: Setup Problem: Issue for the setup process |
Who will be affected by this bug?: | 3: Will affect average number of installed domains | How will those affected feel about the bug?: | 3: A User would likely not purchase the product |
User Pain: | 0.309 | Enterprise Customer affected?: | |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | 2016110221000479, 2016111721000414, 2016120121000881, 2016120621000568, 2016120821000377, 2016120821000546, 2016121621000601, 2016122121000262, 2016122221000421, 2017010521000196, 2017032221000169, 2017032321000765, 2017032421000398, 2017032421000441, 20 | Bug group (optional): | Error handling, External feedback |
Max CVSS v3 score: |
Description
Florian Best
2015-01-12 11:10:37 CET
Execution of command 'appcenter/invoke_dry_run' has failed: Received this and the following traceback again (4.0-1 errata113 (Walle)). Remark: Unknown Error with Open-Xchange App Suite. I attempted to uninstall this error appeared. Traceback (most recent call last): File "%PY2.7%/univention/management/console/modules/__init__.py", line 176, in _decorated return function(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 180, in invoke_dry_run self.invoke(request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 188, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 206, in invoke application = Application.find(application_id) File "%PY2.7%/univention/management/console/modules/appcenter/app_center.py", line 526, in find for application in cls.all(): File "%PY2.7%/univention/management/console/modules/appcenter/app_center.py", line 761, in all cls._all_applications.append(Application(ini_file, localize)) File "%PY2.7%/univention/management/console/modules/appcenter/app_center.py", line 303, in __init__ for k, v in config.items('Application'): File "/usr/lib/python2.7/ConfigParser.py", line 642, in items raise NoSectionError(section) NoSectionError: No section: 'Application' Reported again, 4.0-0 errata142 (Walle) command was 'apps/get'. Maybe fixed by Bug #40874. This is not fixed yet, just a bit more unlikely to occur since we did some performance optimizations. Due to these optimizations, the ini files are not parsed by the old code during the very first module call (appcenter/query). So the App Center should at least load. But as soon as someone chooses to install any non-docker App and has such a malformed ini file, the traceback should return because then all ini files are parsed. Bug #40874 improved error handling of ini files in the new code, so this does not help. In fact, the new code was never vulnerable to this special error. This ini file has been ignored by the new code since 4.1-0. To fix this bug as DUPLICATE/WORKSFORME, one needs to fix Bug#40064. Reported again, 4.1-3 errata234 (Vahr) It affects also the System Setup process: Execution of command 'setup/apps/query wizard' has failed: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 283, in execute function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 462, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 284, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/setup/__init__.py", line 749, in apps_query return util.get_apps(True) File "%PY2.7%/univention/management/console/modules/setup/util.py", line 754, in get_apps applications = app_center.Application.all(only_local=True) File "%PY2.7%/univention/management/console/modules/appcenter/app_center.py", line 839, in all cls._all_applications.append(Application(ini_file, localize)) File "%PY2.7%/univention/management/console/modules/appcenter/app_center.py", line 315, in __init__ for k, v in config.items('Application'): File "/usr/lib/python2.7/ConfigParser.py", line 642, in items raise NoSectionError(section) NoSectionError: No section: 'Application' Reported again, 4.1-4 errata324 (Vahr) Reported again at the following tickets: 2016120121000881 2016120621000568 2016120821000377 2016120821000546 Remark: fresh virtual box import from ova - pff I think we should at least add some code around the error and raise an exception with more details (aka. the whole INI file + filename) in that case, soon. This but is reliably reproducible on our internal UCS 4.1-4 KVM templates and pops up immediately as system-setup-boot is started. *** Bug 40102 has been marked as a duplicate of this bug. *** Reported again at Ticket#2016112621000022. (In reply to Alexander Kläser from comment #11) > Reported again at Ticket#2016112621000022. Error, I meant Ticket#2016121621000601. Reported again, 4.1-4 errata324 (Vahr) Reported again, 4.1-3 errata239 (Vahr) Reported again, 4.1-4 errata324 (Vahr) Reported again, 4.1-4 errata324 (Vahr) Reported again, 4.1-4 errata324 (Vahr) Reported again, 4.1-4 errata324 (Vahr) Reported again, 4.1-4 errata324 (Vahr) Ticket #2017032821000201 → The maximum number of ticket is reached in the bugzilla Ticket field :/ For all we know, this is a timing issue where the cache is not yet ready. The specific Traceback is handled in the new code. The fix is to not use old code "immediately" if at all. This has already been done in App Center and System Setup. This should not be fixed in old code. One may want to rebuild 4.1 DVDs (and all Appliances?) so that System Setup is not affected. 2017032921000183 Version: 4.1-4 errata324 (Vahr) Version: 4.1-4 errata324 (Vahr) 2017032521000234 Maximum number of tickets reached. Version: 4.1-4 errata324 (Vahr) #2017050121000169 OK, as far as i understand, these errors come from the old u-system-setup (pre errata 388 Bug #40102) and not from the UMC AppCenter module. Version: 4.1-4 errata379 (Vahr) #2017051221000522 Reported again, 4.1-4 errata379 (Vahr) #2017053121000273 Reported again, 4.1-4 errata379 (Vahr) #2017062321000634 Reported again, 4.1-4 errata324 (Vahr) 2017070421000472 Version: 4.1-3 errata239 (Vahr), #2017080421000685 Reported again: Version: 4.0-0 errata10 (Walle), #2017120921000113 |