Bug 24668 - Traceback bei nicht angegebener HardwareAdresse in DHCP Host
Traceback bei nicht angegebener HardwareAdresse in DHCP Host
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: UMC - Domain management (Generic)
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.x
Assigned To: Philipp Hahn
:
: 24801 (view as bug list)
Depends on:
Blocks: 53204
  Show dependency treegraph
 
Reported: 2011-11-16 13:04 CET by Alexander Kläser
Modified: 2021-04-30 18:14 CEST (History)
2 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

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2011-11-16 13:04:02 CET
Aus Bug 24590, Comment 11:

Traceback bei nicht angegebener HardwareAdresse in DHCP Host, diese ist nicht
als Pflichtfeld(*) markiert.

File '/usr/lib/pymodules/python2.6/notifier/threads.py', line 81, 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 261, in _thread
dn = module.create( properties, container = options.get( 'container' ),
superordinate = options.get( 'superordinate' ) )
File
'/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py',
line 130, in wrapper_func
ret = func( *args, **kwargs )
File
'/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py',
line 288, in create
self._map_properties( obj, ldap_object )
File
'/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py',
line 240, in _map_properties
raise UMC_OptionTypeError( _( 'The property %s has an invalid value: %s' ) % (
property_obj.short_description, str( e ) ) )

UMC_OptionTypeError: The property Hardware address has an invalid value:
Hardware address: not enough arguments
Comment 1 Andreas Büsching univentionstaff 2011-12-07 14:14:19 CET
*** Bug 24801 has been marked as a duplicate of this bug. ***
Comment 2 Philipp Hahn univentionstaff 2013-11-11 08:44:37 CET
I get the following message in UMC when adding a DHCP host without a Ethernet address:
>The following properties could not be validated:
> Hardware address: This is not a valid MAC address (valid examples are 86:f5:d1:f5:6b:3e, 86-f5-d1-f5-6b-3e, 86f5d1f56b3e, 86f5.d1f5.6b3e)

Probably fixed through Bug #25463, which added MAC syntax validation.