Bug 47823 - unhandled exception in UCR module univention_blog crashes listener license_uuid
unhandled exception in UCR module univention_blog crashes listener license_uuid
Status: RESOLVED DUPLICATE of bug 45787
Product: UCS
Classification: Unclassified
Component: Portal
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-09-17 09:26 CEST by Daniel Tröder
Modified: 2020-08-10 09:56 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 7: Crash: Bug causes crash or data loss
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.080
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2018-09-17 09:26:44 CEST
See http://jenkins.knut.univention.de:8080/job/UCSschool-4.3/job/Install%20Singleserver/Config=s4,TestGroup=base1/lastBuild/artifact/test/autotest-201-ucsschool-singleserver-s4.log

[master201-single-s4] 2018-09-16T23:10:33.164851	16.09.18 23:10:32.768  LISTENER    ( WARN    ) : initializing module license_uuid
[master201-single-s4] 2018-09-16T23:10:33.172045	W: The config registry variable 'uuid/license' does not exist
[master201-single-s4] 2018-09-16T23:10:33.327479	LDAP Error: No such object
[master201-single-s4] 2018-09-16T23:10:33.332127	Create license/base
[master201-single-s4] 2018-09-16T23:10:33.332127	Module: univention_blog
[master201-single-s4] 2018-09-16T23:10:33.332127	Traceback (most recent call last):
[master201-single-s4] 2018-09-16T23:10:33.332127	File "/usr/lib/univention-directory-listener/system/license_uuid.py", line 52, in handler
[master201-single-s4] 2018-09-16T23:10:33.334722	univention.config_registry.handler_set(ucrVars)
[master201-single-s4] 2018-09-16T23:10:33.334722	File "/usr/lib/pymodules/python2.7/univention/config_registry/frontend.py", line 163, in handler_set
[master201-single-s4] 2018-09-16T23:10:33.334722	None if quiet else 'W: %s is overridden by scope "%s"')
[master201-single-s4] 2018-09-16T23:10:33.334722	File "/usr/lib/pymodules/python2.7/univention/config_registry/frontend.py", line 204, in _run_changed
[master201-single-s4] 2018-09-16T23:10:33.334722	handlers(changed.keys(), (ucr, changed))
[master201-single-s4] 2018-09-16T23:10:33.334722	File "/usr/lib/pymodules/python2.7/univention/config_registry/handler.py", line 854, in __call__
[master201-single-s4] 2018-09-16T23:10:33.334722	handler(arg)
[master201-single-s4] 2018-09-16T23:10:33.334722	File "/usr/lib/pymodules/python2.7/univention/config_registry/handler.py", line 480, in __call__
[master201-single-s4] 2018-09-16T23:10:33.334722	run_module(self.module, 'generate', ucr, changed)
[master201-single-s4] 2018-09-16T23:10:33.334722	File "/usr/lib/pymodules/python2.7/univention/config_registry/handler.py", line 158, in run_module
[master201-single-s4] 2018-09-16T23:10:33.334722	arg2meth[arg](module)(ucr, changes)
[master201-single-s4] 2018-09-16T23:10:33.334722	File "/etc/univention/templates/modules/univention_blog.py", line 70, in handler
[master201-single-s4] 2018-09-16T23:10:33.334722	'--set', 'portal=cn=domain,cn=portal,cn=univention,%s' % (ldap_base,)
[master201-single-s4] 2018-09-16T23:10:33.334722	File "/usr/lib/python2.7/subprocess.py", line 186, in check_call
[master201-single-s4] 2018-09-16T23:10:33.334722	raise CalledProcessError(retcode, cmd)
[master201-single-s4] 2018-09-16T23:10:35.355471	subprocess.CalledProcessError: Command '['univention-directory-manager', 'settings/portal_entry', 'create', '--ignore_exists', '--position', 'cn=portal,cn=univention,dc=autotest201,dc=local', '--set', 'name=univentionblog', '--set', 'activated=TRUE', '--set', '<BASE64BLOB>', '--append', 'link=https://www.univention.com/news/blog-en/', '--append', 'description="en_US" "News, tips and best practices"', '--append', 'description="de_DE" "News, Tipps und Best Practices"', '--append', 'description="fr_FR" "Nouvelles, conseils et bonne pratique"', '--append', 'displayName="en_US" "Univention Blog"', '--append', 'displayName="de_DE" "Univention Blog"', '--append', 'displayName="fr_FR" "Univention Blog"', '--set', 'category=admin', '--set', 'authRestriction=anonymous', '--set', 'portal=cn=domain,cn=portal,cn=univention,dc=autotest201,dc=local']' returned non-zero exit status 3
[master201-single-s4] 2018-09-16T23:10:35.357583	16.09.18 23:10:32.936  LISTENER    ( WARN    ) : handler: license_uuid (failed)
[master201-single-s4] 2018-09-16T23:10:35.357583	16.09.18 23:10:32.937  LISTENER    ( WARN    ) : finished initializing module license_uuid with rv=0
Comment 1 Philipp Hahn univentionstaff 2019-03-12 09:28:23 CET
Still with UCS-4.4-0
Comment 2 Florian Best univentionstaff 2020-08-10 09:56:34 CEST

*** This bug has been marked as a duplicate of bug 45787 ***