Bug 53630 - New configure call (to configure settings before installation) breaks cmd installation and app tests
Summary: New configure call (to configure settings before installation) breaks cmd ins...
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: App Center
Version: UCS 4.4
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.0-0-errata
Assignee: Dirk Wiesenthal
QA Contact: Felix Botner
URL:
Keywords:
Depends on: 52506 53609
Blocks:
  Show dependency treegraph
 
Reported: 2021-08-04 13:21 CEST by Felix Botner
Modified: 2021-09-15 17:41 CEST (History)
4 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.034
Enterprise Customer affected?:
School Customer affected?:
ISV affected?: Yes
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Workaround is available
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2021-08-04 13:21:12 CEST
+++ This bug was initially created as a clone of Bug #53609 +++

This change breaks the univentio-app install call. Not sure what the problem is but is seems that the default values are not respected. This is only a problem for univention-app install (withou any settings) and for our jenkins test (umc-command call). UMC AppCenter installation always send the defaults to the backend, so no problem there.

8.0.11-148A~4.4.0.202107270037

-> univention-app install zammad
Going to install Zammad (3.6.0-42)
Password for Administrator: 
Cannot use None for zammad/what-hostname
Cannot use None for zammad/port-setting
Cannot use None for zammad/certificate-type
Configuring zammad=3.6.0-42
Unsetting zammad/certificate
Unsetting zammad/hostname
Unsetting zammad/certkey
Failed to configure: Zammad: zammad/certificate-type: None is not a valid option
Going to remove Zammad (3.6.0-42)


8.0.11-146A~4.4.0.202103041132
-> univention-app install zammad
OK

[zammad/what-hostname]
Type = List
Description = Change this setting if you want to use a custom hostname.
Description[de] = Ändere diese Einstellung, wenn du einen eigenen Hostnamen verwenden möchtest.
Show = Install, Settings
Values = hdefault, hcustom
Labels = Default UCS-Hostname, Custom Hostname (specify below)
Labels[de] = Standard UCS-Hostname, Eigener Hostname (unten definieren)
InitialValue = hdefault
Group = Hostname and Port
Group[de] = Hostname und Port
Scope = outside

Nevertheless we need to fix this, at least for our jenkins App tests.

also 5.0-0
Comment 2 Dirk Wiesenthal univentionstaff 2021-08-19 11:26:02 CEST
Fixed with

[5.0-0 b1f7c401ce] Bug #53630: Fix App installation with certain App Settings
 2 files changed, 9 insertions(+), 2 deletions(-)

Package: univention-appcenter
Version: 9.0.2-60A~5.0.0.202108191123
Branch: ucs_5.0-0
Scope: errata5.0-0
Comment 3 Felix Botner univentionstaff 2021-08-25 11:54:33 CEST
OK - default values
OK - yaml
Comment 4 Erik Damrose univentionstaff 2021-09-15 17:41:47 CEST
<https://errata.software-univention.de/#/?erratum=5.0x92>