Bug 39048 - Redirect to UMC after completing setup wizard is not working
Redirect to UMC after completing setup wizard is not working
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Setup wizard
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-2-errata
Assigned To: Alexander Kläser
Drees Dormann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-30 13:10 CEST by Alexander Kläser
Modified: 2015-08-06 17:52 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): Error handling, Usability
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 2015-07-30 13:10:23 CEST
I configured an EC2 UCS instance for which I updated all packages before executing the setup wizard. At the last page, when hitting "Continue", the browser hang in the progress animation "Restarting server components". On the JavaScript console, I received the following error:

> TypeError: prim.ip4 is undefined
> Stack trace:
> ._getNewIpAddress@https://.../univention-management-console/js_$20153007063526$/umc/modules/setup.js:338:8
> ._redirectBrowser@https://.../univention-management-console/js_$20153007063526$/umc/modules/setup.js:380:16
> ._renderWizard/</<@https://.../univention-management-console/js_$20153007063526$/umc/modules/setup.js:244:7
> ...

When looking at the return values, the in the code requested value for values.interfaces[values['interfaces/primary']] would be:

{ name: "eth0", interfaceType: "Ethernet", ip4dynamic: true }

It seems as if there is a problem with the current JavaScript code.
Comment 1 Alexander Kläser univentionstaff 2015-07-30 17:09:15 CEST
I have corrected this problem now. IP addresses are also returned if a DHCP setting is configured. AFAIS, this problem should have been around for a while now.

@QA: Please verify the behaviour in a dynamic + static network setup and make sure that the additional addresses do not affect the UCR variables that are being set by the setup scripts.


univention-system-setup (8.1.69-23):
r62538 | Bug #39048: return IP also for DHCP for redirection after setup wizard

2015-07-30-univention-system-setup.yaml:
r62539 | Bug #39048: added YAML entry
Comment 2 Alexander Kläser univentionstaff 2015-07-30 17:31:38 CEST
Merged into 4.1-0.

univention-system-setup (9.0.1-1):
r62542 | Bug #39048: return IP also for DHCP for redirection after setup wizard
Comment 3 Drees Dormann univentionstaff 2015-08-03 13:56:32 CEST
Tested with dhcp and dhcp + static ip, both is working. I found no conflict after install, everything seems fine.

Fix: OK
YAML: OK
Comment 4 Janek Walkenhorst univentionstaff 2015-08-06 17:52:51 CEST
<http://errata.univention.de/ucs/4.0/274.html>