Univention Bugzilla – Bug 45280
Error dialog is shown when applying network settings
Last modified: 2017-09-11 06:40:22 CEST
With current internal appliance images, we observed that an error dialog is shown when network settings are applied within the setup wizard. This does not happen with current public images as they have an older firefox version.
To circumvent the problem, it seems necessary to use a status polling mechanism when the UMCP command "apply" is called.
Created attachment 9151 [details]
I retested with a fresh appliance that had the old firefox-esr package (45.7.0esr-1~deb8u1), the error popup still occured.
This problem is a regression caused by the latest errata for univention-management-console (9.0.80-63A~22.214.171.124708141353)... I tested it with the version before (9.0.80-59A~126.96.36.199707241109) which worked as expected.
Closing as duplicated of 45299.
*** This bug has been marked as a duplicate of bug 45299 ***
NO, this is not a regression by Bug #44965. It's not reproducible via an external browser, only via firefox. If I revert the changes from that bug the error still occurs.
Downgrading firefox and umc is required to fix the error in my test setup
apt-get install univention-management-console-server=9.0.80-59A~188.8.131.52707241109 python-univention-management-console=9.0.80-59A~184.108.40.206707241109 univention-management-console=9.0.80-59A~220.127.116.11707241109 univention-management-console-web-server=9.0.80-59A~18.104.22.168707241109 firefox-esr=45.7.0esr-1~deb8u1
(In reply to Erik Damrose from comment #5)
> Downgrading firefox and umc is required to fix the error in my test setup
> apt-get install
Could you check if instead of the UMC downgrade the patch from Bug #45307 is sufficient?
(In reply to Florian Best from comment #6)
> Could you check if instead of the UMC downgrade the patch from Bug #45307 is
The patch worked in my tests, the popup did not appear. But i had to downgrade the firefox version, too. I think alex is working on a patch for this.
Applying network settings in the setup wizard is now robust against network timeouts and cancelled requests. The initial setup/net/apply is triggered, however, its outcome is ignored. Instead, setup/net/apply_check_finished is regularly polled until the network scripts have been completed their task.
r82583 | Bug #45280: ignore setup/net/apply timeouts and errors
r82581 | Bug #45280: add a progress polling to setup/net/apply command
r82582 | Bug #45280: added YAML file
Worked great in my test, applying network settings and joining UCS worked.
as discussed, please merge to ucs 4.2-2 and rebuild in that scope.
(In reply to Erik Damrose from comment #9)
> Worked great in my test, applying network settings and joining UCS worked.
> as discussed, please merge to ucs 4.2-2 and rebuild in that scope.
Merged to 4.2-2 branch:
r82603 | Bug #45280: ignore setup/net/apply timeouts and errors
r82602 | Bug #45280: add a progress polling to setup/net/apply command
I cherry-picked and built the package for the 4.2-2 scope.
I added the changelog entry and removed the errata YAML file:
r82667 | Bug #45307, Bug #45280: added changelog entry
r82669 | Bug #45280: removed obsolete YAML file
OK: Worked in my DVD and appliance installation tests
UCS 4.2-2 has been released.