Bug 46930 - 2nd interface without IP leads to Traceback with Nagios
Summary: 2nd interface without IP leads to Traceback with Nagios
Status: NEW
Alias: None
Product: UCS
Classification: Unclassified
Component: Monitoring (Prometheus or Nagios)
Version: UCS 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: UCS maintainers
QA Contact: UCS maintainers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-03 10:27 CEST by Philipp Hahn
Modified: 2021-05-03 21:39 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.011
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2018-05-03 10:27:16 CEST
VM with two interfcaces, only 1st was configured to get an IP.

setup.log:
=== 30_net/10interfaces (2018-05-03 10:19:01) ===
...
INFO:uss.network.plug:Calling LdapSelf.post() at 40...
...
WARNING:uss.network.phase.LdapSelf:Failed LDAP: 
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/netconf/modules/LdapSelf.py", line 37, in post
    self._update(computer)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/setup/netconf/modules/LdapSelf.py", line 91, in _update
    computer.modify()
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 526, in modify
    dn = self._modify(modify_childs, ignore_license=ignore_license, response=response)
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 1068, in _modify
    ml = self._ldap_modlist()
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/computers/domaincontroller_master.py", line 567, in _ldap_modlist
    self.nagios_ldap_modlist(ml)
  File "/usr/lib/pymodules/python2.7/univention/admin/nagios.py", line 200, in nagios_ldap_modlist
    raise univention.admin.uexceptions.nagiosARecordRequired
nagiosARecordRequired
INFO:uss.network.plug:Calling RestartKerberos.post() at 28...