Bug 34852 - UCC roll out fails if underlying (virtual/RAID) harddisk was resized
UCC roll out fails if underlying (virtual/RAID) harddisk was resized
Status: CLOSED FIXED
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: Documentation
unspecified
Other Linux
: P5 normal
: UCC 2.0
Assigned To: Moritz Muehlenhoff
Erik Damrose
: interim-4
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-15 16:03 CEST by Moritz Muehlenhoff
Modified: 2014-06-12 09:19 CEST (History)
3 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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Muehlenhoff univentionstaff 2014-05-15 16:03:59 CEST
+++ This bug was initially created as a clone of Bug #33460 +++

It happened during an UCC desktop roll out on a virtual machine.

The first roll out attempt the HD space was not enough, so the roll out failed and I increased the size of the virtual disk.

All following attempts, the roll out will fail:

      "The boot failed. Please contact your system administrator.
      Add debugshell=y to the boot parameters to get a debug shell.
      Press enter to reboot!"

*Reason:
Since a GPT partition was already created the first time, and the disk sized changed after that (moving the GPT header), 'parted' will fail to create the partitions (even when forced) with the following message:

        "Not all of the space available to /dev/sda appears to be used, you can fix the GPT to use all of the space (an extra X blocks) or continue with the current setting?"


*Solution:
(http://www.novell.com/support/kb/doc.php?id=7006405)
**add 'debugshell=yes' as an "Additional boot parameter" in UMC
and once you have a shell:
**Get 'parted' to report the error again:
# parted -l
Warning: Not all of the space available to /dev/sda appears to be used, you can fix the GPT to use all of the space (an extra X blocks) or continue with the current setting?
Fix/Ignore
**Write "FIX" and press 'Enter' key

Try the roll out again.
Comment 1 Moritz Muehlenhoff univentionstaff 2014-05-23 12:59:08 CEST
Documented in revision 50606
Comment 2 Erik Damrose univentionstaff 2014-06-02 14:11:56 CEST
Documentation verified
Comment 3 Moritz Muehlenhoff univentionstaff 2014-06-12 09:19:39 CEST
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".