Univention Bugzilla – Bug 34360
UMC setup wizard for UCC
Last modified: 2014-06-12 09:19:32 CEST
There should be a wizard which guides the user through the initial setup of a UCC installation after UCC has been installed through the App Center. A first outline of the menus is kept in doku/trunk/intern/ucc/umc-module
Initial work available for the beta release, move to interim-3 for finishing.
A feedback function at the end would be nice
Added download functionality, progress bar and error handling. ucc-umc-setup (0.1.11-1): * Bug #34360: added progress and error handling
Installation of Citrix Receiver in the UCC image has been completed. Note that the ucc-image-add-citrix-receiver has been extended with a --progress option. ucc-umc-setup (0.1.13-1): * Bug #34360: added postinst, parse progress information from stdout of ucc-image-add-citrix-receiver ucc-umc-setup (0.1.12-1): * Bug #34360: added installation of citrix receiver package ucc-image-toolkit (2.0.14-1): * Bug #34360: flush stdout for progress information ucc-image-toolkit (2.0.13-1): * Bug #34360: add parsable progress output to ucc-image-add-citrix-receiver
Update, see changelog entry below... ucc-umc-setup (0.1.14-1): * display currently set values in the wizard * dynamically hide download pages if images are already present * store Citrix Receiver deb package file in the UCC image directory
Remaining TODO: * Translation * Add UCRV ucc/image/defaultid/{thinclient,desktop} * Error handling for network configuration * Adjust the confirmation page and add the total size to be downloaded
(In reply to Alexander Kläser from comment #6) > Remaining TODO: > * Translation > * Add UCRV ucc/image/defaultid/{thinclient,desktop} > * Error handling for network configuration > * Adjust the confirmation page and add the total size to be downloaded Fixed. Left over TODO → translation. ucc-umc-setup (0.1.15-1): Bug #34360: * added UCR variables ucc/image/defaultid/{thinclient,desktop} * improved error handling for network configuration * adjusted the presentation of the confirmation page
The following problems have been fixed: * Errors were masked (e.g., when not enough space is left on the hard disk while unxzing). * The auto login checkbox for Citrix was initially unchecked.. ucc-umc-setup (0.1.16-1): * Bug #34360: make sure that errors are not masked
The following problems have been addressed: * The ucc_software policy "xrdp-terminalserver-installation" is now created (without referencing it at a container). * Problems when creating a new policy and referencing them at a container have been resolved. ucc-umc-setup (0.1.18-1): * Bug #34360: do not reference xrdp installation policy ucc-umc-setup (0.1.17-1): Bug #34360: * create ucc_software policy for installation of xrdp * create first the policy object and then reference it at a given container
(In reply to Alexander Kläser from comment #9) > The following problems have been addressed: > * Problems when creating a new policy and referencing them at a container > have been resolved. That's working fine now.
The decompress method now ensures during decompressing that at least 0.5 GB of free space is left on the hard disk. ucc-image-toolkit (2.0.17-1): * Bug #34360: regularly check for enough free size (> 0.5 GB) on hard disk while decompressing an .xz file
> Execution of command 'uccsetup/progress' has failed: > > Traceback (most recent call last): > ... > File "/usr/lib/pymodules/python2.6/ucc/images.py", line 176, in _unxz > raise IOError(_('Not enough space left on hard disk.') % outfile) > TypeError: not all arguments converted during string formatting Typo has been fixed in ucc-image-toolkit (2.0.18-1): * Bug #34360: fixed typo
(In reply to Alexander Kläser from comment #11) > The decompress method now ensures during decompressing that at least 0.5 GB > of free space is left on the hard disk. > > > ucc-image-toolkit (2.0.17-1): > * Bug #34360: regularly check for enough free size (> 0.5 GB) on hard disk > while decompressing an .xz file Ok, this is now properly handled. When downloading on a system with sufficient diskspace to download the image, but not extract it get the following error message: ---------------- Image data of spec file ucc-2.0-rc-desktop-image.img.xz.spec could not be downloaded from server: Decompression of file /var/lib/univention-client-boot/ucc-2.0-rc-desktop-image.img.xz failed: Not enough space left on hard disk.! ----------------
(In reply to Alexander Kläser from comment #8) > * The auto login checkbox for Citrix was initially unchecked.. Confirmed to be fixed in the current version.
The following configuration modes have been successfully tested: - Deployment of Linux desktops - Configuration of thin client access to a website - Configuration of thin client access to Citrix (the Citrix setup is currently broken, but everything up to the login worked fine) Still pending with open issues: - RDP - XRDP terminal server
(In reply to Moritz Muehlenhoff from comment #15) > The following configuration modes have been successfully tested: > > - Deployment of Linux desktops > - Configuration of thin client access to a website > - Configuration of thin client access to Citrix (the Citrix setup is > currently broken, but everything up to the login worked fine) > > Still pending with open issues: > - RDP > - XRDP terminal server I have adjusted the policy paths and referencing containers: * The policy ucc-usersession is not created anymore, instead the corresponding default-settings is used (and referenced at the LDAP base). The policy default-settings has already been used before and is created in the join scripts. * The installation policy xrdp-terminalserver-installation is now referenced at cn=ucc-xrdpserver,cn=computers,... (the container is created in the join scripts) * All policies are now stored in cn=ucc,cn=policies,... ucc-umc-setup (0.1.19-1): * Bug #34360: adjust policy names/paths and the referencing containers ucc-management-integration (2.0.10-1): * Bug #34360: create the container ucc-xrdpserver in the join script
(In reply to Alexander Kläser from comment #16) > I have adjusted the policy paths and referencing containers: > * The policy ucc-usersession is not created anymore, instead the > corresponding default-settings is used (and referenced at the LDAP base). > The policy default-settings has already been used before and is created in > the join scripts. That is working fine.
RDP setup and XRDP setup have been successfully tested as well. From my POV the only thing missing is the i18n.
All translations have been added. The upload page is now always displayed and only the upload widgets are hidden in case Citrix Receiver has been uploaded before. The link to the UDM computer module (on the last page) has been adjusted according to the server type - i.e., if UDM is not available on the system the text refers the reader to the DC master system of the domain (just textual, no link). Some example URLs have been added and a logic error in the JavaScript code has been fixed (related to the initial setup of the widgets). ucc-umc-setup (0.1.22-1): * Bug #34360: added missing translations ucc-umc-setup (0.1.21-1): Bug #34360: * fixed typo in the logic of the JavaScript code * always show the upload page for Citrix Receiver, only hide upload widgets * added example URLs * adjust link to UDM computer module depending on system type
ucc-umc-setup (0.1.23-1): Bug #34360: * allow to overwrite already downloaded Citrix Receiver file * adjust jshint remarks * adapted translations
See mail with changes needed for texts and translation
* always show the upload page for Citrix Receiver, only hide upload widgets * added example URLs * allow to overwrite already downloaded Citrix Receiver file These are working fine now, so the only thing left is the update of the text and i18n.
Fixed missing translations. Also the entry "downloaded image" on the upload page for Citrix Receiver is now only visible if the download option for the UCC thin client image has been chosen. (If no image is available, a warning message is prompted.) ucc-umc-setup (0.1.25-1): * Bug #34360: only show the 'downloaded image' entry on citrix page if download has been selected ucc-umc-setup (0.1.24-1): * Bug #34360: updated translations
I just noticed that the initial upload of Citrix Receiver had not been enforced due to previous adaptations. Fixed. ucc-umc-setup (0.1.26-1): * Bug #34360: make sure that Citrix Receiver needs to be uploaded initially
The UCC setup module cannot be opened on a DC slave.
(In reply to Moritz Muehlenhoff from comment #25) > The UCC setup module cannot be opened on a DC slave. Fixed. ucc-umc-setup (0.1.27-1): * Bug #34360: fixed handling of non DC master systems in JavaScript, added keywords in .xml file
A typo fix... ucc-umc-setup (0.1.28-1): * Bug #34360: fixed HTML typo in German translation on the last wizard page
(In reply to Alexander Kläser from comment #26) > ucc-umc-setup (0.1.27-1): > * Bug #34360: fixed handling of non DC master systems in JavaScript, added > keywords in .xml file That has been fixed.
ucc-umc-setup (0.1.29-1): * Bug #34360: removed deprecated static entry for UCC images
(In reply to Alexander Kläser from comment #23) > Fixed missing translations. > Also the entry "downloaded image" on the upload page for Citrix Receiver is > now only visible if the download option for the UCC thin client image has > been chosen. (If no image is available, a warning message is prompted.) That is working fine now. The missing i18n has been added as well.
The wizard doesn't work on a member server.
It also fails on a UCS@school slave DC (different traceback)
(In reply to Moritz Muehlenhoff from comment #31) > The wizard doesn't work on a member server. My fault, the handling of guessing the correct LDAP host was wrong. Now ldap/server/name as well as ldap/server/additional are being evaluated. ucc-umc-setup (0.1.30-1): * Bug #34360: make sure that the correct LDAP server is used on non DCs (In reply to Moritz Muehlenhoff from comment #32) > It also fails on a UCS@school slave DC (different traceback) appcenter.test.software-univention.de needs to be registered as App Center server on the master. In this scenario, UCC1 has been installed on the master.
(In reply to Alexander Kläser from comment #33) > (In reply to Moritz Muehlenhoff from comment #31) > > The wizard doesn't work on a member server. > > My fault, the handling of guessing the correct LDAP host was wrong. Now > ldap/server/name as well as ldap/server/additional are being evaluated. > > ucc-umc-setup (0.1.30-1): > * Bug #34360: make sure that the correct LDAP server is used on non DCs That is working fine now (tested on a member server and on a DC slave) > (In reply to Moritz Muehlenhoff from comment #32) > > It also fails on a UCS@school slave DC (different traceback) > > appcenter.test.software-univention.de needs to be registered as App Center > server on the master. In this scenario, UCC1 has been installed on the > master. Indeed, that was an error in my test setup. It now works fine in the corrected installation.
Some adaptations of the wizard text. ucc-umc-setup (0.1.31-1): * Bug #34360: simplify wizard text
I've made two additional changes to the PO file, otherwise fine!
UCC 2.0 has been released: http://docs.univention.de/release-notes-ucc-2.0.html If this error occurs again, please use "Clone This Bug".