Bug 33205 - Broken DHCP representation for Shared networks and subnets
Broken DHCP representation for Shared networks and subnets
Status: RESOLVED DUPLICATE of bug 42177
Product: UCS
Classification: Unclassified
Component: UMC - DHCP
UCS 3.2
All Linux
: P3 normal (vote)
: UCS 3.2-x
Assigned To: UMC maintainers
:
Depends on: 32381
Blocks: 33181
  Show dependency treegraph
 
Reported: 2013-11-07 16:30 CET by Philipp Hahn
Modified: 2016-10-11 18:48 CEST (History)
4 users (show)

See Also:
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:


Attachments
UMC screenshot (35.83 KB, image/png)
2013-11-07 16:30 CET, Philipp Hahn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2013-11-07 16:30:41 CET
Created attachment 5580 [details]
UMC screenshot

+++ This bug was initially created as a clone of Bug #32381 +++
shared subnets are broken now; this would be correct:

# univention-ldapsearch  -xLLLb "cn=dhcp,$(ucr get ldap/base)" '(!(objectClass=univentionDhcpHost))' dn
dn: cn=dhcp,dc=phahn,dc=pt
  dn: cn=phahn.pt,cn=dhcp,dc=phahn,dc=pt
    dn: cn=mas40,cn=phahn.pt,cn=dhcp,dc=phahn,dc=pt
    dn: cn=10.200.17.0,cn=phahn.pt,cn=dhcp,dc=phahn,dc=pt
    dn: cn=10.0.17.0,cn=phahn.pt,cn=dhcp,dc=phahn,dc=pt
  dn: cn=test.phahn.pt,cn=dhcp,dc=phahn,dc=pt
    dn: cn=mas40,cn=test.phahn.pt,cn=dhcp,dc=phahn,dc=pt
    dn: cn=testing,cn=test.phahn.pt,cn=dhcp,dc=phahn,dc=pt
      dn: cn=10.0.17.0,cn=testing,cn=test.phahn.pt,cn=dhcp,dc=phahn,dc=pt
      dn: cn=10.200.17.0,cn=test.phahn.pt,cn=dhcp,dc=phahn,dc=pt
    dn: cn=10.1.17.0,cn=testing,cn=test.phahn.pt,cn=dhcp,dc=phahn,dc=pt

Instead the "Shared network" "testing" is shown at the same level as the services in the tree view.
Also the service shows a flat list of all entries (including the "Shared subnet"s, which are children of the "Shared network")
Comment 1 Alexander Kläser univentionstaff 2013-11-08 10:21:38 CET
Could it be that a truly recursive representation is not supported?
I mark it as a feature request.
Comment 2 Dirk Wiesenthal univentionstaff 2013-11-08 10:42:37 CET
This is not a feature request. Shared network are shown in the tree as "DHCP/Service". When selecting this shared network it is shown in the grid as its own child. Yes, recursive trees are not supported (would be nice). But currently it is broken.
Comment 3 Dirk Wiesenthal univentionstaff 2014-01-14 11:51:29 CET
If the subnet is selected in the tree and the parent DHCP service is deleted by right clicking in the tree, the following traceback shows up:

  File "/usr/lib/pymodules/python2.6/notifier/threads.py", line 82, in _run
    tmp = self._function()
  File "/usr/lib/pymodules/python2.6/notifier/__init__.py", line 104, in __call__
    return self._function( *tmp, **self._kwargs )
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py", line 485, in _thread
    raise UMC_OptionTypeError( _( 'Could not find an UDM module for the superordinate object %s' ) % superordinate )

UMC_OptionTypeError: Es konnte kein UDM-Modul für das übergeordnete Objekt cn=XX,cn=dev.local,cn=dhcp,dc=dwiesent,dc=ucs32,dc=dev gefunden werden
Comment 4 Florian Best univentionstaff 2016-10-11 18:48:54 CEST

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