Bug 43925 - AppCenter Register-Component should keep protocol
AppCenter Register-Component should keep protocol
Status: NEW
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: 43924
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-17 12:42 CET by Nico Stöckigt
Modified: 2017-04-23 00:12 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 2: Will only affect a 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.091
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Ticket number: 2017031621000144
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 Nico Stöckigt univentionstaff 2017-03-17 12:42:53 CET
+++ This bug was initially created as a clone of Bug #43924 +++

When installing a Docker App the Installation always tries to connect via Port 80 (http) even if 'repository/app_center/server=https://appcenter.software-univention.de' is set.

The component registration ends with the following UCR setting:
 repository/online/component/etherpad-lite_20160722133148/server: appcenter.software-univention.de

This also causes the following error in '/etc/apt/sources.list.d/20_ucs-online-component.list'
 # Configuration error: Network is unreachable: etherpad-lite_20160722133148

The source of that misleading behavior seems to be:
 '/usr/share/pyshared/univention/appcenter/actions/register.py:99'
  95         def _register_component_for_apps(self, apps, args):
  96                 if not self._shall_register(args, 'component'):
  97                         return
  98                 server = AppManager.get_server()
  99                 server = server[server.find('/') + 2:]
 100                 updates = {}

I am currently not sure if this is all about that...