Univention Bugzilla – Bug 31051
UCS Installer screen refresh in XenServer
Last modified: 2013-11-19 06:43:56 CET
Created attachment 5169 [details]
XenServer UCS Installer
The UCS Installer does not always refresh the Installer screen during the
configuration. Sometimes you can't see the question, sometimes only some words
After pressing F12 and then F11 the screen is shown correctly.
I'm not really sure if it is not a XenServer Console Bug. I've had the case that the installer was already started but I saw the boot message that the hardware is checked. After pressing F12 the installer stepped to the next screen.
We should check this if we switch to the Debian installer.
In fact the problem seemed to be that there were too many screen refreshes. Every installer widget, curses pad (Hline, Button, ...) did a screen refresh.
According to http://docs.python.org/2/library/curses.html#curses.doupdate there is an alternative. Let every pad do a .noutrefresh (mark for refresh but wait) and than refresh the screen with curses.doupdate.
"if you have to update multiple windows, you can speed performance and
perhaps reduce screen flicker by issuing noutrefresh() calls on all
windows, followed by a single doupdate()"
I replaced all "cursespad".refresh() in objects.py and main.py with "cursespad".noutrefresh() and added some curses.doupdate() (in draw_all(), in the main loop, in help_win, act_win and activity, because they are not drawn in the main loop).
The XenCenter UCS installation looks fine now.
This needs to be tested intense, since basic things have been changed in the installer:
* normal mode
* profile mode
* are all widgets visible (help win, activity win, ...)
I did 4 installations with XenServer with UCS 3.1 (realease version). In one case we didn't notice that the installation was already finished because the "final refresh" wasn't displayed...
I've made two installations and in both cases the final confirmation screen of the Installer wasn't properly updated: Some lines of the previous software selection screen are not overwritten and thus still appear on the screen.
See attached screenshot.
Created attachment 5364 [details]
Screenshot of final confirmation
Wait until Felix is back.
(In reply to Moritz Muehlenhoff from comment #6)
> Created attachment 5364 [details]
> Screenshot of final confirmation
I could not reproduce this, all my ucs 3.2 test installations on xenserver were correctly displayed. (xenserver on xen11, virtual windows 7 with xencenter via virt-viewer)
But i fixed the profile based installation (the screen was not properly refreshed here).
Ok, I installed a system with the current 3.2 DVD and I could not longer reproduce the visual glitch I saw back then.
UCS 3.2 has been released:
If this error occurs again, please use "Clone This Bug".