Seite 2 von 2

Re: opsi-product-updater Failed to get peer cert...

Verfasst: 07 Aug 2014, 08:27
von Vinc
Das Paket ist allerdings definitiv nicht im repository vorhanden und auch nicht installiert
Aug 07 07:34:45 [info] Found opsi package: https://opsi.my.loc:4447/repository/opt ... w_1-1.opsi (opsi-product-updater|962)
Aug 07 07:34:45 [debug] Executing jsonrpc method 'getMD5Sum' on host opsi.stute.loc (JSONRPC.py|104)
Aug 07 07:34:45 [debug] Starting new HTTPS connection (0) to opsi.stute.loc:4447 (HTTP.py|582)
Aug 07 07:34:45 [debug] Connection established to: opsi.my.loc (HTTP.py|595)
Aug 07 07:34:45 [debug] Failed to get peer cert: 'NoneType' object has no attribute 'getpeercert' (HTTP.py|167)
Aug 07 07:34:45 [debug] Closing connection: <httplib.HTTPSConnection instance at 0x209cd40> (HTTP.py|509)
Aug 07 07:34:45 [debug] Content-Type: application/json;charset=utf-8, Content-Encoding: (JSONRPC.py|668)
Aug 07 07:34:45 [debug] Repository package info: {'repository': <__main__.ProductRepositoryInfo object at 0x1e49b50>, 'md5sum': u'56482c598999c506d8e203310c66b10b', 'filename': 'opt-remoteapp-amw_1-1.opsi', 'zsyncFile': None, 'version': '1-1', 'packageFile': 'https://opsi.my.loc:4447/repository/opt ... w_1-1.opsi', 'productId': 'opt-remoteapp-amw'} (opsi-product-updater|973)

Aug 07 07:39:45 [info] Testing if download/installation of package 'opt-remoteapp-amw_1-1.opsi' is needed (opsi-product-updater|405)
Aug 07 07:39:45 [debug] Product 'opt-remoteapp-amw' is installed (opsi-product-updater|411)
Aug 07 07:39:45 [debug] Available product version is '1-1', installed product version is '1-1' (opsi-product-updater|414)
Aug 07 07:39:45 [debug] Unfulfilled condition: 1-1 > 1-1 (__init__.py|496)
Aug 07 07:39:45 [notice] opt-remoteapp-amw_1-1.opsi - installation not required: installed version '1-1' of product 'opt-remoteapp-amw' is up to date (opsi-product-updater|436)

Re: opsi-product-updater Failed to get peer cert...

Verfasst: 08 Aug 2014, 09:01
von Vinc
Problem gelöst.
Habe das Repository mal komplett vom Master Deot entfernt mit
opsi-admin -d method host_delete <depotserver.domain.local>
und die Ordner depot und repository auf dem Depot gelöscht und per Hand neu angelegt.

Danach
dpkg-reconfigure opsi-depotserver
opsi-setup --register-depot
opsi-setup --init-current-config
opsi-setup --set-rights
Dann lief es wieder!