Bug 49555 - system uuid is not send during appliance setup
system uuid is not send during appliance setup
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: System setup
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4-3-errata
Assigned To: Jannik Ahlers
Johannes Keiser
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-05-27 16:24 CEST by Jürn Brodersen
Modified: 2019-12-11 16:49 CET (History)
4 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?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Appliance
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jürn Brodersen univentionstaff 2019-05-27 16:24:41 CEST
system uuid is not send during appliance setup

base/univention-system-activation/www/ActivationWizard.js:_sendNotification

The frontend code is missing the system uuid.

I was expecting the appcenter to send this action (install) as well, but it seems that is not the case. I thought the appliance setup is using the appcenter to install the app?
Comment 1 Erik Damrose univentionstaff 2019-05-27 16:28:33 CEST
Appliances use the app center lib:

/usr/lib/univention-system-setup/scripts/90_postjoin/12_${counter}_setup_${app}
...
from univention.appcenter.actions import get_action
...
install = get_action('install')
install.call(app=app, noninteractive=True, pwdfile='/tmp/joinpwd', pull_image=False, username='\$USER')
...

Is there something missing which prevents sending the uuid?
The uuid is set at an earlier setup stage: /usr/lib/univention-system-setup/scripts/10_basis/50uuid
Comment 2 Jannik Ahlers univentionstaff 2019-11-29 11:23:31 CET
fixed in branch jahlers/49555-system-uuid; waiting for 4.4-3 release to merge this.
Comment 3 Jannik Ahlers univentionstaff 2019-12-09 10:55:42 CET
Merged and built.

Successful build
Package: univention-system-activation
Version: 4.0.0-9A~4.4.0.201912091045
Branch: ucs_4.4-0
Scope: errata4.4-3
Comment 4 Johannes Keiser univentionstaff 2019-12-11 10:32:02 CET
OK system uuid is send
OK yaml (4216b6d5ed Bug #49555: YAML)
-> verified
Comment 5 Erik Damrose univentionstaff 2019-12-11 16:49:40 CET
<http://errata.software-univention.de/ucs/4.4/399.html>