Bug 49497 - Test UCS@school installation with unmodified UCS ISO/EC2 image
Test UCS@school installation with unmodified UCS ISO/EC2 image
Status: RESOLVED INVALID
Product: UCS@school
Classification: Unclassified
Component: Jenkins
UCS@school 4.4
Other All
: P5 normal (vote)
: ---
Assigned To: Sönke Schwardt-Krummrich
Jürn Brodersen
:
Depends on: 49475
Blocks:
  Show dependency treegraph
 
Reported: 2019-05-16 17:12 CEST by Sönke Schwardt-Krummrich
Modified: 2023-10-26 14:38 CEST (History)
3 users (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?: Yes
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 Sönke Schwardt-Krummrich univentionstaff 2019-05-16 17:12:59 CEST
We need a jenkins test environment, that checks if the installation of UCS@school during initial join with unmodified ISO/EC2 image is possible.


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

UCS@school Multi-Master
Master: UCS 4.4-0 errata91, nagios=4.3 samba4=4.10 self-service=4.0 ucsschool=4.4 v2
Edu School Slave: UCS 4.4-0 errata91

How to reproduce:

1. Install UCS 4.4-0 Master with Samba AD, update at end of installation
2. Install and configure UCS@school on Master
3. Create a school (including a school server)
4. Install a UCS 4.4-0 Slave with the Hostname of the school server in step 3
5. Keep the checkboxes to join the domain and to update the system after installation checked

Expectation:
The UCS Slave joins as UCS@school Edu Slave

Observed behaviour:
The UCS Slave join fails with:

/var/log/univention/join.log
> [...]
> E: Paket ucs-school-umc-installer kann nicht gefunden werden.
> Failed to uninstall the App
> Aborting...
> [...]
> ERROR:__main__:univention-app install ucsschool=4.4 v2 --skip-check must_have_valid_license --do-not-call-join-scripts failed with exit code 1!
> ERROR: join/pre-joinscripts hook /tmp/tmppqIClB/tmp0ESg7C failed.

I will attach the join.log, setup.log and a complete USI of the Slave.

There's also a UCS@school Slave in our KVM test environment that can be used to investigate this further:
VM: mgrandje_schule-gymn-36-250
IP: 10.200.36.250

The corresponding Master is:
VM: mgrandje_schule-master-10
IP: 10.200.30.10
Comment 1 Jürn Brodersen univentionstaff 2019-07-29 13:51:09 CEST
Felix implemented an installation test (thanks!):
https://jenkins.knut.univention.de:8181/job/UCS-4.4/job/UCS-4.4-1/job/Installation%20Tests/mode=school/

Is that enough for us?
Comment 2 Daniel Tröder univentionstaff 2019-07-30 09:39:10 CEST
Job config is: $ucs-repo/test/scenarios/install-testing/school.cfg

The DC master is installed using the cmdline schoolinstaller.py.
The DC slave (edu) is installed using the UI (vnc-install-ucs.py).

For me this is enough. The installation on the DC master is regularly tested by developers and has fewer technical dependencies.
Comment 3 Jan-Luca Kiok univentionstaff 2023-10-26 14:38:32 CEST
We do not use Bugzilla for these kind of issues anymore.