Bug 51879 - Configuring server role: Failed to get package for Role domaincontroller_master
Configuring server role: Failed to get package for Role domaincontroller_master
Status: NEW
Product: UCS
Classification: Unclassified
Component: System setup
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-08-21 12:32 CEST by Christian Castens
Modified: 2023-07-07 16:58 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.171
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2020030321000626, 2023031021000054, 2023012221000062, 2022120121000511
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Castens univentionstaff 2020-08-21 12:32:11 CEST
Version: 4.4-3 errata455 (Blumenthal)

Traceback(d41d8cd98f00b204e9800998ecf8427e):
Configuring server role: Failed to get package for Role domaincontroller_master
Configuring software components: Failed to get package for Role None

Role: None
Comment 1 Philipp Hahn univentionstaff 2023-03-25 06:34:10 CET
https://jenkins2022.knut.univention.de/job/UCS-5.0/job/UCS-5.0-3/job/Update%20Tests/test_system=update-from-4.2-4/60/artifact/test/autotest-update-from-4.2-4.log

> [master] 2023-03-24T02:23:02.465002	=== 05_role/10role (2023-03-24 03:23:02) ===
> [master] 2023-03-24T02:23:02.465002	__NAME__:05_role/10role Configuring server role
> [master] 2023-03-24T02:23:02.465002	__STEPS__:300
> [master] 2023-03-24T02:23:02.465002	__MSG__:Preparing package lists...
> [master] 2023-03-24T02:23:03.132531	__STEP__:0
> [master] 2023-03-24T02:23:04.424565	__ERR__:Failed to lock

Was there another `apt-get` running in the background?
The message is from base/univention-lib/python/package_manager.py PackageManager.lock()


# grep role /var/cache/univention-system-setup/profile 
server/role="domaincontroller_master"

USS was still running in the background when `run_setup_join` was executed:
> [master] 2023-03-24T02:34:47.685584	 1273 ?        S      0:00 /bin/bash /usr/share/univention-system-setup/startxwithfirefox

[5.0-3] 1513379d6f fix(ci): support systemd from UCS 4.2-5
 test/utils/utils.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Comment 2 Maximilian Janßen univentionstaff 2023-07-06 18:35:45 CEST
Version: 5.0-3 errata572

Error:
Configuring server role: Failed to get package for Role domaincontroller_master
Comment 3 Maximilian Janßen univentionstaff 2023-07-06 19:15:42 CEST
Version: 4.4-9 errata1362 (Blumenthal)

Remark: Fehler beim Einrichten aufgetreten

Error:
Einrichten der Systemrolle: Kein Paket für Rolle domaincontroller_master gefunden
Einrichten der Software-Komponenten: Kein Paket für Rolle None gefunden
Installiere univention-welcome-screen: univention-welcome-screen: No such package

Role: None
Comment 4 Maximilian Janßen univentionstaff 2023-07-07 16:58:59 CEST
Version: 5.0-2 errata505

Error:
Configuring server role: Failed to get package for Role backupserver

Role: domaincontroller_backup