Bug 33407 - not possible to add multiple ipv4 addresses to an interface
not possible to add multiple ipv4 addresses to an interface
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Basic settings
UNSTABLE
Other Linux
: P5 normal (vote)
: UCS 3.2-0-errata
Assigned To: Florian Best
Philipp Hahn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-15 09:51 CET by Felix Botner
Modified: 2014-01-29 11:17 CET (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

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2013-11-15 09:51:20 CET
UMC -> "Basic Settings" -> "Network" -> "edit eth0": the "+" button for ipv4 addresses does not work

also check if virtual interface created via UCR are recognized by UMC

univention-config-registry set \
   interfaces/eth0_0/address=10.200.7.172 \
   interfaces/eth0_0/network=10.200.7.0 \
   interfaces/eth0_0/broadcast=10.200.7.255 \
   interfaces/eth0_0/netmask=255.255.255.0
Comment 1 Alexander Kläser univentionstaff 2013-11-18 10:04:34 CET
True, this is a regression!
Comment 2 Florian Best univentionstaff 2014-01-16 12:10:29 CET
Error was that multiinput.max was set to undefined instead of Infinity.

2014-01-15-univention-system-setup.yaml
Comment 3 Philipp Hahn univentionstaff 2014-01-17 13:52:42 CET
FAIL: 
0. Go to UMC → Basis → Network
1. Edit existing interface
2. Add 2nd address
3. Close dialog with "Done"
4. Edit same interface again
5. Just added 2nd address is gone
Comment 4 Florian Best univentionstaff 2014-01-20 15:47:21 CET
(In reply to Philipp Hahn from comment #3)
> FAIL: 
> 0. Go to UMC → Basis → Network
> 1. Edit existing interface
> 2. Add 2nd address
> 3. Close dialog with "Done"
> 4. Edit same interface again
> 5. Just added 2nd address is gone
Yes, this happended because multiinput.max was set to 1 (triggered by onchange events) which removed those values.
To fix this I had to split the wizard into two wizards which are called after each other.
Comment 5 Florian Best univentionstaff 2014-01-23 12:30:19 CET
The change has been reverted.

It's now possible to set multiple IPv4 addresses on every interface type. The backend validation catches when multiple IPv4 addresses are set on a non-ethernet interface.
Comment 6 Philipp Hahn univentionstaff 2014-01-24 11:24:04 CET
OK: Only code rmoved in base/univention-system-setup/umc/js/setup/InterfaceWizard.js
OK: aptitude install '?source-package(univention-system-setup)?installed'
OK: Ethernet supports multiple IPv4 and IPv6 addresses
OK: vlan/bridge/bond only support multiple IPv6 addresses, but only a single IPv4.
OK: virtual interface created via UCR are recognized by UMC
OK: announce_errata -V 2014-01-15-univention-system-setup.yaml
FOLLOW-UP: Bug #33986
Comment 7 Moritz Muehlenhoff univentionstaff 2014-01-29 11:17:33 CET
http://errata.univention.de/ucs/3.2/32.html