Bug 36038 - Role packages are missing in appliance mode
Role packages are missing in appliance mode
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UCS Installer
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0
Assigned To: Stefan Gohmann
Erik Damrose
: interim-3
: 36246 36834 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-02 06:59 CEST by Stefan Gohmann
Modified: 2014-11-26 06:55 CET (History)
4 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
Error message, configuration without internet (68.31 KB, image/png)
2014-11-05 10:21 CET, Alexander Kramer
Details
updater.log (5.21 KB, image/png)
2014-11-05 10:32 CET, Alexander Kramer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2014-10-02 06:59:28 CEST
With r52173 the package download in the system-setup-boot postinst has been disabled:

+  * Bug #35378: deactivate package download in univention-system-setup-boot.postinst

Is there any particular reason why it is disabled? Are the packages downloaded at a different position?

I got an error message during a DC backup setup that the role packages are missing.

+++ This bug was initially created as a clone of Bug #35378 +++

The d-i has to install and start USS. Ideally without reboot.
Comment 1 Stefan Gohmann univentionstaff 2014-10-02 07:42:23 CEST
We do not sign the downloaded role packages. In this case we have to disable it.
Comment 2 Stefan Gohmann univentionstaff 2014-10-02 11:22:05 CEST
I've re-added the system-setup-boot postinst code. Unfortunately, 'apt-get install -d' doesn't work for cdrom methods.

(In reply to Stefan Gohmann from comment #1)
> We do not sign the downloaded role packages. In this case we have to disable
> it.

"deb [trusted=yes] " can be used.
Comment 3 Stefan Gohmann univentionstaff 2014-10-02 17:33:24 CEST
I've added some changes but removed them later because they broke the installation: r54162

Move to RC.
Comment 4 Stefan Gohmann univentionstaff 2014-10-21 08:47:36 CEST
I've discussed this issue with Sönke and we generated the following idea:

- Add a new program which downloads the role packages including the dependencies. The tool can use 'apt-get install -s' and 'apt-get download'.

- This program should be executed during the update of the system setup boot package.

- This program should be executed in d-i if system setup wasn't successful
Comment 5 Stefan Gohmann univentionstaff 2014-10-21 16:29:19 CEST
*** Bug 36246 has been marked as a duplicate of this bug. ***
Comment 6 Stefan Gohmann univentionstaff 2014-10-22 10:27:32 CEST
The packages are now downloaded: r54703 r54714 r54733 r54744 r54770

No Changelog required because the same functionality existed in UCS 3.

I've created a new bug to get more info during the setup: Bug #36252
Comment 7 Felix Botner univentionstaff 2014-10-22 10:50:52 CEST
univention-system-setup-boot in installed on my configured UCS 3.2 system. During update to 4.0 univention-system-setup-boot downloads all the univention core packages ...

system-setup-boot (8.1.22-1.725.201410212047) wird eingerichtet ...
Neue Version der Konfigurationsdatei /etc/univention/registry.info/variables/univention-system-setup-boot.cfg wird installiert ...
Neue Version der Konfigurationsdatei /etc/init.d/univention-system-setup-boot-prepare wird installiert ...
Neue Version der Konfigurationsdatei /etc/init.d/univention-system-setup-boot wird installiert ...
Not updating system/setup/boot/start
Not updating system/setup/boot/select/role
0% [Wird verarbeitet] Holen: 1 Herunterladen von univention-server-master 10.0.2-1.212.201410201323 [158 kB]
0% [1 univention-server-master 0 B/158 kB 0%]
Comment 8 Stefan Gohmann univentionstaff 2014-10-22 16:06:30 CEST
OK, fixed with r54832.
Comment 9 Alexander Kramer univentionstaff 2014-11-05 10:21:47 CET
Created attachment 6301 [details]
Error message, configuration without internet
Comment 10 Alexander Kramer univentionstaff 2014-11-05 10:24:01 CET
Got an error during the configuration without internet connection. see screenshot.

I tried to install kde, samba4 and cups and used incorrect network settings to avoid an internet connection.
Comment 11 Alexander Kramer univentionstaff 2014-11-05 10:32:47 CET
Created attachment 6302 [details]
updater.log
Comment 12 Stefan Gohmann univentionstaff 2014-11-06 14:27:39 CET
I've added a 'apt-get update' before installing the packages and the local entry is defined as trusted.
Comment 13 Alexander Kramer univentionstaff 2014-11-07 10:25:24 CET
OK - Works fine - after a short duration the system role was installed from the dvd
Comment 14 Stefan Gohmann univentionstaff 2014-11-18 20:00:02 CET
I've added univention-radius, firefox-de and firefox-en to the download list: r55948
Comment 15 Erik Damrose univentionstaff 2014-11-18 20:09:54 CET
*** Bug 36834 has been marked as a duplicate of this bug. ***
Comment 16 Erik Damrose univentionstaff 2014-11-19 12:13:36 CET
i could successfully install all apps in an appliance without internet connection.
Comment 17 Stefan Gohmann univentionstaff 2014-11-26 06:55:36 CET
UCS 4.0-0 has been released:
 http://docs.univention.de/release-notes-4.0-0-en.html
 http://docs.univention.de/release-notes-4.0-0-de.html

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