Univention Bugzilla – Bug 30466
Force repartition without "Image boot with update check / Initial installation" set results in unjoined system
Last modified: 2014-06-12 09:19:52 CEST
When enabling the checkbox "Repartitioning for installed systems" but forgetting to set the boot variant to "Image boot with update check / Initial installation", the system will be repartitioned and the current chosen image will be downloaded. However, the system is not joined.
We should remove the checkbox and add another dropdown item "Force repartition / Initial installation"
The boot variant dropdown has three options in UCC 1:
Live boot, image boot without update, image boot with update / initial installation
The proposed change is to
- remove the repartition flag from the UMC.
- rename "Image boot with update check / Initial installation" to "Image boot with update check"
- add a fourth option: "Initial installation"
Internally, the fourth option will set the rollout flag and the repartition flag. No ldap changes are necessary, which supports upgrading from UCC 1.
We can also do a larger change by completely removing the repartition flag from udm and ldap. Then, we have to also adapt the ucc-initramfs script and provide an update-script for users who use ucc 1.
* ucc-management-integration 2.0.4-2.63.201404231048
r49515 + r49518
The repartition flag has been removed from udm and thus the umc module. A new option for repartitioning and rollout has been added.
* ucc-pxe-boot 6.0.1-6.31.201404231043
The repartition flag has been removed from the listener module
The repartition flag has been removed from the initscript. The check for repartitioning has been adapted
As discussed: Internally the new boot options still need to be mapped to the repartition flag, otherwise we cannot handle mixed environments with UCC 1.0 and UCC 2.0 images.
r49657 ucc-management-integration 2.0.4-3
- Add mapping from repartitioning boot variant to repartitioning flag to stay backwards compatible
r49658 univention-ucc-initramfs 3.0.0-15
- Adapted initramfs + set_boot_variant.sh
r49659 ucc-pxe-boot 6.0.1-10
- Readded partition flag
For the QA please install the UCC 1.0 management integration from the App Center.
The create two UCC systems with the "Boot variant" "Image boot with update check / Initial installation". For one system the option "Repartitioning for installed systems" should be enabled, for the other not.
Also, one UCC client should be created with "Live boot" and one with "Image boot without update check"
The four systems don't need to be rolled out fully.
Then the UCC integration packages should be updated to UCC 2.0. The "Live boot" and "Image boot without update check" systems should be unchanged.
The system with "Install + Repartition" should be displayed as "Installation with repartitioning and image rollout".
The system with "Install but without Repartition" should be displayed as "Image boot without update check".
After the update to UCC 2.0 an UCC desktop and UCC thin client 1.0 rev3 should be rolled out.
Also it should be checked that the changes to ucc-pxe-boot are reverted.
OK: ucc-pxe-boot reverted
OK: all systems with repartition flag are migrated to new Rollout boot variant
OK: "Image boot without update check" / "Live-System" remain unchanged
OK: "Image boot with update check / Initial installation" without repartition flag migrated to "Image boot without update check"
OK: general installation
UCC 2.0 has been released:
If this error occurs again, please use "Clone This Bug".