Univention Bugzilla – Bug 14017
Ändern von DHCP (Pool) Objekten geht nicht
Last modified: 2018-04-13 13:29:12 CEST
Ich habe versucht die Range eines DHCP-Pools zu ändern und dabei die unten stehende Fehlermeldung erhalten. Traceback (most recent call last): File "/usr/share/univention-directory-manager-tools/univention-cli-server", line 231, in doit output = univention.admincli.admin.doit(arglist) File "/usr/lib/python2.4/site-packages/univention/admincli/admin.py", line 832, in doit object=univention.admin.objects.get(module, co, lo, position='', dn=dn, arg=arg) File "/usr/lib/python2.4/site-packages/univention/admin/objects.py", line 67, in get return module.object(co, lo, position, dn, arg=arg, superordinate=superordinate) File "/usr/lib/python2.4/site-packages/univention/admin/handlers/dhcp/pool.py", line 178, in __init__ raise univention.admin.uexceptions.insufficientInformation, 'superordinate object not present' insufficientInformation: superordinate object not present Der verwendete Befehl hieß: udm dhcp/pool move --superordinate cn=megaService,cn=dhcp,dc=univention,dc=test --dn cn=megaPool,cn=megaService,cn=dhcp,dc=univention,dc=test --set range="10.200.10.249 10.200.10.251" Ein udm dhcp/pool list --superordinate cn=megaService,cn=dhcp,dc=univention,dc=test gibt folgendes aus: DN: cn=megaPool,cn=megaService,cn=dhcp,dc=univention,dc=test ARG: None name: megaPool filler: None all_clients: None range: 10.200.10.250 10.200.10.252 failover_peer: None dynamic_bootp_clients: None known_clients: None unknown_clients: None Anhand dieser Ausgabe nehme ich an das die Angabe der superordinate des ersten Objekte korrekt ist.
Weiterhin lassen sich DHCP-SharedSubnet-Objekte und DHCP-Pool-Objekte nicht verschieben. Das Problem dahinter scheint auf den ersten Blick das gleiche zu sein. udm dhcp/pool move --dn cn=megaPool,cn=megaService,cn=dhcp,dc=univention,dc=test --superordinate cn=megaService,cn=dhcp,dc=univention,dc=test --position cn=nagios,dc=univention,dc=test Traceback (most recent call last): File "/usr/share/univention-directory-manager-tools/univention-cli-server", line 231, in doit output = univention.admincli.admin.doit(arglist) File "/usr/lib/python2.4/site-packages/univention/admincli/admin.py", line 832, in doit object=univention.admin.objects.get(module, co, lo, position='', dn=dn, arg=arg) File "/usr/lib/python2.4/site-packages/univention/admin/objects.py", line 67, in get return module.object(co, lo, position, dn, arg=arg, superordinate=superordinate) File "/usr/lib/python2.4/site-packages/univention/admin/handlers/dhcp/pool.py", line 178, in __init__ raise univention.admin.uexceptions.insufficientInformation, 'superordinate object not present' insufficientInformation: superordinate object not presen
Das Problem der fehlenden Superordinate beim Bearbeiten tritt mit UCS-3.0 immer noch auf.
*** This bug has been marked as a duplicate of bug 26131 ***