Bug 35047 - Auto-assign free IP address to client not possible
Auto-assign free IP address to client not possible
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Wizards
UCS@school 3.2 R2
Other Linux
: P5 normal (vote)
: UCS@school 3.2 R2 Errata
Assigned To: Dirk Wiesenthal
Sönke Schwardt-Krummrich
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-03 13:57 CEST by Jan Christoph Ebersbach
Modified: 2014-08-27 17:01 CEST (History)
3 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
auto-assign ip address from network (1.32 KB, patch)
2014-06-04 09:25 CEST, Jan Christoph Ebersbach
Details | Diff
Fixed DHCP generation by explicitly specifying the MAC address (590 bytes, patch)
2014-06-20 12:25 CEST, Jan Christoph Ebersbach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Christoph Ebersbach univentionstaff 2014-06-03 13:57:33 CEST
In previous versions of the import wizard for computers it was possible to specify the network address as IP address.  This assigned a free IP address from within the network to the computer.

This is not possible anymore, instead the network address is assigned which causes multiple problems.  There is currently no mechanism to automatically assign a free IP address.
Comment 1 Jan Christoph Ebersbach univentionstaff 2014-06-03 15:20:40 CEST
Patch is available at issue #651.
Comment 2 Jan Christoph Ebersbach univentionstaff 2014-06-04 09:25:06 CEST
Created attachment 5934 [details]
auto-assign ip address from network
Comment 3 Jan Christoph Ebersbach univentionstaff 2014-06-20 12:25:57 CEST
Created attachment 5967 [details]
Fixed DHCP generation by explicitly specifying the MAC address
Comment 4 Dirk Wiesenthal univentionstaff 2014-08-14 17:54:31 CEST
Reminder to myself: Check (and probably enhance) documentation regarding this feature
Comment 5 Dirk Wiesenthal univentionstaff 2014-08-19 23:49:00 CEST
ucs-school-umc-wizards 4.0.31-2

TODO: Documentation
Comment 6 Dirk Wiesenthal univentionstaff 2014-08-25 12:18:45 CEST
Documented
Comment 7 Sönke Schwardt-Krummrich univentionstaff 2014-08-27 11:27:08 CEST
logger.warn('IP was set to subnet. Unsetting it on the computer so that UDM can do some magic: Assign next free IP!')
→ please lower the log level to logger.info()

"There are not free addresses left in the subnet!" → s/not/no/
→ REOPEN

OK: functionality
    - assigns next free address to host
    - Error msg if no free address is available
REOPEN: code change ok, despite comments above
OK: changelog entry
REOPEN: manual changes (comment sent by mail)
Comment 8 Dirk Wiesenthal univentionstaff 2014-08-27 15:05:52 CEST
Fixed in
  ucs-school-lib 5.0.49-4.160.201408271425
Comment 9 Sönke Schwardt-Krummrich univentionstaff 2014-08-27 15:08:19 CEST
OK: code change
OK: functionality
    tested with: 10.201.3.0/16   → 10.201.3.0
                 10.201.0.0/16   → 10.201.0.2
                 10.200.18.0/24  → 10.200.18.240
                 10.200.18.15/24 → 10.200.18.15
Comment 10 Sönke Schwardt-Krummrich univentionstaff 2014-08-27 17:01:43 CEST
UCS@school 3.2 R2 v2 has been released:
http://docs.univention.de/release-notes-ucsschool-3.2R2v2-de.html

If this error occurs again, please use "Clone This Bug".