Univention Bugzilla – Full Text Bug Listing |
Summary: | UDM-CLI dies when creating a nagios/service object | ||
---|---|---|---|
Product: | UCS | Reporter: | Sönke Schwardt-Krummrich <schwardt> |
Component: | UDM (Generic) | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Johannes Keiser <keiser> |
Severity: | normal | ||
Priority: | P5 | CC: | best, gohmann |
Version: | UCS 4.2 | Flags: | best:
Patch_Available+
|
Target Milestone: | UCS 4.2-1-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 3: Simply Wrong: The implementation doesn't match the docu |
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.034 | Enterprise Customer affected?: | |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | Error handling | |
Max CVSS v3 score: | |||
Attachments: | patch |
Description
Sönke Schwardt-Krummrich
2015-04-24 16:28:07 CEST
Created attachment 8164 [details]
patch
Treat not existing objects in nagios/service modlist.
Patch has been applied, with some small cleanup. univention-directory-manager-modules (12.0.17-62): r80885 | Bug #38362: prevent exception if hosts added to nagios/service doesn't exists univention-directory-manager-modules.yaml: r80886 | YAML Bug #38362 An example to reproduce it is: udm nagios/service modify --dn cn=UNIVENTION_CUPS,cn=nagios,"$(ucr get ldap/base)" --append assignedHosts=cn=test OK Tested with:
> udm nagios/service modify --dn cn=UNIVENTION_CUPS,cn=nagios,"$(ucr get
> ldap/base)" --append assignedHosts=cn=test
udm nagios/service create --set name=foobar --set checkPeriod=24x7 --set checkCommand=check_foo --set notificationPeriod=24x7 --set assignedHosts=cn=test
YAML: OK
-> verified
|