Bug 55107 - Migrate App Appliances to UCS 5.0
Migrate App Appliances to UCS 5.0
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 5.0
amd64 Linux
: P5 normal (vote)
: UCS 5.0-2-errata
Assigned To: Johannes Lohmer
Florian Best
https://git.knut.univention.de/univen...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-08-16 15:33 CEST by Johannes Lohmer
Modified: 2022-10-12 17:49 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
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 Johannes Lohmer univentionstaff 2022-08-16 15:33:11 CEST
We have not yet build any App Appliance based on UCS 5.0. We assume that there is still work needed to do so.

Objective should be to provide Appliances for most relevant Apps: ownCloud and Nextcloud in combination with Collabora and OnlyOffice.

Further information can be found in the Gitlab Epic: https://git.knut.univention.de/groups/univention/-/epics/219
Comment 1 Johannes Lohmer univentionstaff 2022-10-07 11:54:38 CEST
univention-web.yaml
8bbe8b5b8232 | Bug #55107: app-appliance python3 migration and bugfixes

univention-web (4.0.2-52)
8bbe8b5b8232 | Bug #55107: app-appliance python3 migration and bugfixes

d9027ff951cd | Bug #55107: migrate frontend of univention-system-activation to the UCS5 Portal

univention-system-activation (5.0.2-2)
d9027ff951cd | Bug #55107: migrate frontend of univention-system-activation to the UCS5 Portal

univention-management-console-module-diagnostic (1.0.9-1)
r55107 | Bug #34765: disable notifications

univention-app-appliance (4.0.1-2)
fe7f5eb642e4 | refactor[appliance]: remove code duplication and python migration cleanup
5bb768d61a07 | refactor[appliance]: Move python code
28fc0ed13a7a | doc[appliance]: Fix UCRV descriptions
ffaaf65fd311 | style[appliance]: shellcheck
111a9f6bfc38 | style[appliance]: eslint
fbdb973e8cc7 | fix[appliance]: Python 3 migration and bug fixes

22431f6f0ee5 | Bug #55107: migrate plymouth to ucs 5 design and align code as much as possible
d9027ff951cd | Bug #55107: migrate frontend of univention-system-activation to the UCS5 Portal
8bbe8b5b8232 | Bug #55107: app-appliance python3 migration and bugfixes

univention-app-appliance (4.0.1-1)
339f75581630 | Bug #55107: delete redundant plymouth files

NONE
fa3e1f467bee | refactor[appliance]: Use Python 3 UCR
fb23251a661f | refactor[appliance]: Shell quoting
4e0cf69b4f26 | fix[appliance]: Fix mkdir -p
ad4c12dbcd15 | refactor[appliance]: Remove unmaintained
9b1c275285bd | churn: Split app-applicane.cfg into two parts [WIP]
e0cb3dd66dba | fix[app]: Fix Python-2-only syntax
d0fad2abe8db | feat[vnc]: Add debug output
45fe7e4c02c1 | doc: Use Python 3 everywhere

All comments and documentation can be found in the GitLab Epic and the related Issues: https://git.knut.univention.de/groups/univention/-/epics/219
Comment 2 Florian Best univentionstaff 2022-10-07 13:21:01 CEST
OK: univention-web now exposes every theme
OK: branded grub theme
OK: branded Univention System Setup theme
OK: branded Plymouth bootsplash and univention-welcome-screen
OK: code changes
OK: installation via DOMAINNAME=school.dev KVM_USER=fbest TARGET_VERSION=5.0-2 APP_ID=owncloud KVM_BUILD_SERVER=ranarp.knut.univention.de ./utils/start-test.sh scenarios/app-appliance.cfg
OK: YAML (some not required due to unmaintained packages)

with patched cfg file:

diff --git test/scenarios/app-appliance.cfg test/scenarios/app-appliance.cfg
index 682e27f0ed..9201db18db 100644
--- test/scenarios/app-appliance.cfg
+++ test/scenarios/app-appliance.cfg
@@ -16,6 +16,8 @@ recover: 2
 [app-appliance]
 command1:
  . utils.sh && add_tech_key_authorized_keys
+ echo 'deb [trusted=yes] http://omar.knut.univention.de/build2/ ucs_5.0-0-errata5.0-2/all/' | tee /etc/apt/sources.list.d/50aptly.list
+ echo 'deb [trusted=yes] http://omar.knut.univention.de/build2/ ucs_5.0-0-errata5.0-2/$(ARCH)/' | tee -a /etc/apt/sources.list.d/50aptly.list
  . utils.sh && upgrade_to_latest_patchlevel
  . utils.sh && do_reboot
  LOCAL sleep 60
@@ -37,6 +39,3 @@ command1:
  . base_appliance.sh && disable_root_login_and_poweroff [ENV:ROOTLOGIN] [ENV:REQUIRE_ACTIVATION]
  SSH_DISCONNECT
  SERVER id=$(virsh domid "[SELF_KVM_NAME]") && [ -n "${id#-}" ] && virsh event --domain "$id" --event lifecycle --timeout 120 --timestamp || :
- LOCAL . utils/base_appliance_local.sh && create_app_images "[ENV:APP_ID]" "[ENV:KVM_USER]" "[ENV:KVM_BUILD_SERVER]" "[ENV:UCS_VERSION]"
-command2:
- SERVER ucs-kt-remove --terminate "[SELF_KVM_NAME]"