Bug 30339 - UCC update image does not work when choosing a different image file name
UCC update image does not work when choosing a different image file name
Status: CLOSED WORKSFORME
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: UCS Integration
unspecified
Other Linux
: P5 normal
: UCC 1.0
Assigned To: Stefan Gohmann
Erik Damrose
: interim-4
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-07 12:11 CET by Erik Damrose
Modified: 2013-03-26 09:14 CET (History)
2 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 Erik Damrose univentionstaff 2013-02-07 12:11:21 CET
When changing the image file in umc, e.g. from ucc-1.0-desktop to ucc-1.1-desktop, and changing the setting to update/first installation, the ucc system will start up and detect the rollout mode. It does however not download and install the new image, although the md5sums of the local and remote image differ. The old image name is available in /ucc_root/local_image. Its md5sum in /ucc_root/local_image.md5
Comment 1 Moritz Muehlenhoff univentionstaff 2013-02-07 14:32:58 CET
We need to fix this to ensure proper updates to 1.1
Comment 2 Stefan Gohmann univentionstaff 2013-02-08 21:08:29 CET
I've tried to reproduce this issue without success.

I installed UCC 1.0 RC via app center and configured a UCC client with the default thin client image. The default image was installed on the client. After that I set the version for the thin client image to 1.1 in /usr/share/doc/ucc-image-toolkit/example/ucc-thinclient.cfg and changed the packages in the file.

The new thin client image (1.1) was created with ucc-image:
ucc-image -t /var/lib/univention-client-boot -c /usr/share/doc/ucc-image-toolkit/example/ucc-thinclient.cfg

ucc-1.1-thinclient-image.img.inst created the new objects and i changed the image for the client to ucc-1.1-thinclient-image.img and set the boot variant to "Image boot with update check / Initial installation".

During the next reboot the new image was downloaded and installed.

Could you add some debug output?
Comment 3 Stefan Gohmann univentionstaff 2013-02-11 07:49:16 CET
I can reproduce it, if I use the desktop image and a boot from the local device.
Comment 4 Stefan Gohmann univentionstaff 2013-02-11 08:55:11 CET
The resolv.conf of the iso image doesn't contain a valid nameserver, so the UCC system can't read the boot flags.
Comment 5 Erik Damrose univentionstaff 2013-02-11 14:10:50 CET
Setting the ucr variables nameserver{1,2,3} to be persistent solves the problem. This was already done in bug 30313.
Comment 6 Moritz Muehlenhoff univentionstaff 2013-03-26 09:14:46 CET
UCC 1.0 has been released: 
http://forum.univention.de/viewtopic.php?f=26&t=2417
http://forum.univention.de/viewtopic.php?f=54&t=2418

If this error occurs again, please use "Clone This Bug".