Bug 15963 - Traceback im Installer bei DHCP-Konfiguration
Summary: Traceback im Installer bei DHCP-Konfiguration
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: UCS Installer
Version: UCS 2.3
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 2.3
Assignee: Arvid Requate
QA Contact: Daniel Hofmann
URL:
Keywords:
Depends on:
Blocks: 12130
  Show dependency treegraph
 
Reported: 2009-10-14 11:10 CEST by Tobias Scherer
Modified: 2009-12-21 08:48 CET (History)
1 user (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):
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 Tobias Scherer univentionstaff 2009-10-14 11:10:14 CEST
Bei der Installation eines DC Master mit der Beta DVD (ucs_2.3-0-20091013230006-dvd-i386.iso) habe ich folgenden Traceback im Netzwerkdialog bekommen, als ich DHCP-Abfrage gewählt habe:

Traceback (most recent call last):
File "/lib/univention-installer/main.py", line 813, in ?    act = installer.input(c)
File "/lib/univention-installer/main.py", line 518, in input    return self.obj[self.current].input(key)
File "/lib/univention-installer/modules/20_net.py", line 492, in input    resultkey=self.sub.input(key)
File "/lib/univention-installer/modules/20_net.py", line 889, in input    self.act.draw()
File "/lib/univention-installer/objects.py", line 1782, in draw    self.function()
File "/lib/univention-installer/modules/20_net.py", line 971, in function    gateway_input=self.parent.get_elem('netobject.INPUT_GATEWAY')
File "/lib/univention-installer/objects.py", line 1488, in get_elem    return self.elements[ self.element_index[ name ] ]
KeyError: 'netobject.INPUT_GATEWAY'

Der DHCP Server ist ein anderer Master, dort ist der neue als IP-Managed Client eingetragen:

Policy: cn=ucs23_uv0,cn=dns,cn=dhcp,cn=policies,dc=univention,dc=test
Attribute: univentionDhcpDomainName
Value: live.test

Policy: cn=ucs23_uv0,cn=dns,cn=dhcp,cn=policies,dc=univention,dc=test
Attribute: univentionDhcpDomainNameServers
Value: 10.200.14.30

Policy: cn=ucs23_uv0,cn=routing,cn=dhcp,cn=policies,dc=univention,dc=test
Attribute: univentionDhcpRouters
Value: 10.200.14.1
Comment 1 Arvid Requate univentionstaff 2009-10-15 17:25:01 CEST
Sollte in der aktuellen Version gefixed sein, baut gerade für i386.
Comment 2 Daniel Hofmann univentionstaff 2009-10-19 11:24:03 CEST
Ipmanagedclient eingetragen:

master2332:/etc/apt/sources.list.d # ldapsearch -xLLL cn=mgdclt
dn: cn=mgdclt,cn=computers,dc=univention,dc=test
objectClass: top
objectClass: univentionHost
objectClass: univentionClient
objectClass: person
aRecord: 10.200.4.65
macAddress: 00:0c:29:32:2a:8b
sn: mgdclt
cn: mgdclt

dn: cn=mgdclt,cn=univention.test,cn=dhcp,dc=univention,dc=test
cn: mgdclt
univentionDhcpFixedAddress: 10.200.4.65
dhcpHWAddress: ethernet 00:0c:29:32:2a:8b
objectClass: top
objectClass: univentionDhcpHost
objectClass: univentionPolicyReference
univentionPolicyReference: cn=mgdclt,cn=routing,cn=dhcp,cn=policies,dc=univent
 ion,dc=test
univentionPolicyReference: cn=mgdclt,cn=dns,cn=dhcp,cn=policies,dc=univention,
 dc=test

dn: cn=mgdclt,cn=routing,cn=dhcp,cn=policies,dc=univention,dc=test
objectClass: top
objectClass: univentionPolicy
objectClass: univentionPolicyDhcpRouting
univentionDhcpRouters: 10.200.4.1
cn: mgdclt

dn: cn=mgdclt,cn=dns,cn=dhcp,cn=policies,dc=univention,dc=test
objectClass: top
objectClass: univentionPolicy
objectClass: univentionPolicyDhcpDns
cn: mgdclt
univentionDhcpDomainName: univention.test
univentionDhcpDomainNameServers: 10.200.4.32

IP-Adresse beziehen funktioniert einwandfrei.
Comment 3 Stefan Gohmann univentionstaff 2009-12-21 08:48:10 CET
UCS 2.3 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer neueren Version von UCS erneut auftreten, so sollte der Bug dupliziert werden: "Clone This Bug".