Bug 44520 - Installation of UCS@school on Backup/Slave via Appcenter fails with strange message
Installation of UCS@school on Backup/Slave via Appcenter fails with strange m...
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-02 20:35 CEST by Arvid Requate
Modified: 2020-07-03 20:56 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.023
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
UCSschoolAppInstallationOnBackup.png (158.47 KB, image/png)
2017-05-02 20:35 CEST, Arvid Requate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2017-05-02 20:35:02 CEST
Created attachment 8818 [details]
UCSschoolAppInstallationOnBackup.png

I Installed the UCS@school App on a Master via Appcenter. Next I chose to install it also on a Backup (or Slave) in my domain. This fails with the strange message shown in the screenshot. The Appcenter should provide a better error message, or even better: guide the user to not run into this.
Comment 1 Arvid Requate univentionstaff 2017-05-02 20:49:06 CEST
This happened in a freshly setup domain with UCS 4.1-4 errata410.

management-console-module-appcenter.log shows:
===============================================================================
02.05.17 19:47:15.632  MODULE      ( PROCESS ) : Error sending app infos to the App Center server: HTTP Error 400: Bad Request
02.05.17 19:47:18.418  MODULE      ( PROCESS ) : Try to install (install) ucsschool on backup71. Force? False. Only master packages? False. Prevent installation on other systems? None. Only dry run? True.
02.05.17 19:47:18.420  MODULE      ( WARN    ) : [Errno 111] Verbindungsaufbau abgelehnt
===============================================================================

I rebooted the backup and then it worked. Anyway, the message from the Appcenter is useless.
Comment 2 Daniel Tröder univentionstaff 2017-05-03 07:28:22 CEST
Isn't this a general UCS App Center error?
The app center on the master replied with a HTTP400, the app center reports useless information to the user.
My guess is, that this can be reproduced with any app - not just UCS@school.
Comment 3 Arvid Requate univentionstaff 2017-05-03 16:20:13 CEST
Probably. Just the "message" part of that error message was lost on me. We should do better, whatever the specific cause was.
Comment 4 Ingo Steuwer univentionstaff 2020-07-03 20:56:24 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.