Bug 34128 - App-Center aborts join in firewalled network environment
App-Center aborts join in firewalled network environment
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - App-Center
UCS 3.2
amd64 Linux
: P5 normal (vote)
: UCS 3.2-0-errata
Assigned To: Dirk Wiesenthal
Arvid Requate
:
Depends on: 34096
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-14 11:07 CET by Dirk Wiesenthal
Modified: 2014-03-17 12:10 CET (History)
3 users (show)

See Also:
What kind of report is it?: ---
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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2014-02-14 11:07:57 CET
Backport to 3.2-0-errata

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

In a firewalled environment, where the hosts are not allowed to directly access the internet (only through a HTTP proxy, which must be enabled manually), univention-join fails because the the App-center is unreachable:

# tail /var/log/univention/join.log
Configure 35univention-management-console-module-appcenter.inst Mon Feb 10 14:53:54 CET 2014
Object exists: cn=UMC,cn=univention,XXX
Object exists: cn=UMC,cn=policies,XXX
Object exists: cn=operations,cn=UMC,cn=univention,XXX
Object exists: cn=default-umc-all,cn=UMC,cn=policies,XXX
WARNING: cannot append cn=default-umc-all,cn=UMC,cn=policies,XXX to univentionPolicyReference, value exists
No modification: cn=Domain Admins,cn=groups,XXX
Object exists: cn=default-umc-users,cn=UMC,cn=policies,XXX
WARNING: cannot append cn=default-umc-users,cn=UMC,cn=policies,XXX to univentionPolicyReference, value exists
No modification: cn=Domain Users,cn=groups,XXX
Object exists: cn=appcenter-all,cn=operations,cn=UMC,cn=univention,XXX
WARNING: cannot append cn=appcenter-all,cn=operations,cn=UMC,cn=univention,XXX to allow, value exists
No modification: cn=default-umc-all,cn=UMC,cn=policies,XXX
Object exists: cn=apps,cn=univention,XXX
Object exists: cn=ldapschema,cn=univention,XXX
INFO: No change of core data of object univention-app.
Object exists: cn=ldapacl,cn=univention,XXX
INFO: No change of core data of object 66univention-appcenter_app.
Object exists: cn=udm_module,cn=univention,XXX
INFO: No change of core data of object appcenter/app.
No modification: cn=univention-app,cn=ldapschema,cn=univention,XXX

No modification: cn=66univention-appcenter_app,cn=ldapacl,cn=univention,XXX

No modification: cn=appcenter/app,cn=udm_module,cn=univention,XXX

Waiting for activation of the extension object univention-app: OK
Waiting for activation of the extension object 66univention-appcenter_app: OK
Waiting for activation of the extension object appcenter/app: OK
Waiting for file /usr/share/pyshared/univention/admin/handlers/appcenter/app.py: OK
Terminating running univention-cli-server processes.
Traceback (most recent call last):
  File "<string>", line 15, in <module>
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/appcenter/app_center.py", line 601, in all_installed
    for app in cls.all(force_reread=force_reread, only_local=only_local, localize=localize):
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/appcenter/app_center.py", line 612, in all
    cls._get_category_translations(fake=not localize)
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/appcenter/app_center.py", line 489, in _get_category_translations
    fp = urlopen(url)
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/appcenter/util.py", line 96, in urlopen
    return urllib2.urlopen(request)
  File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.6/urllib2.py", line 391, in open
    response = self._open(req, data)
  File "/usr/lib/python2.6/urllib2.py", line 409, in _open
    '_open', req)
  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.6/urllib2.py", line 1192, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "/usr/lib/python2.6/urllib2.py", line 1159, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno -2] Name or service not known>
Mon Feb 10 14:53:57 CET 2014: finish /usr/sbin/univention-join
Comment 1 Dirk Wiesenthal univentionstaff 2014-02-14 12:09:17 CET
Backported in
  univention-management-console-module-appcenter 3.0.50-22.234.201402141113

See Bug #34096 for some details
Comment 2 Arvid Requate univentionstaff 2014-03-11 18:55:51 CET
Ok, package is rebuilt with the identical backported patch as erratum for UCS 3.2-0. Update and functionality was ok and the advisory is ok.
Comment 3 Moritz Muehlenhoff univentionstaff 2014-03-17 12:10:30 CET
http://errata.univention.de/ucs/3.2/69.html