ich habe bei mir 2 OPSI Server im Betrieb an 2 verschiedenen Standorten. Die Einrichtung das die miteinander kommunizieren hat wunderbar funktioniert. Mein Problem ist, das ich momentan keine selbstgemachten auf den neuen OPSI Server mit folgenden Befehl bekomme:
Code: Alles auswählen
opsi-package-manager -i 001standardinstallation_1.00-1.00.opsi -d opsi-ger.pressehaus.hz-online.de -vv
Code: Alles auswählen
[6] [Oct 24 10:11:22] * BackendManager is creating BackendDispatcher (BackendManager.py|264)
[6] [Oct 24 10:11:22] Backend context was set to <BackendManager()> (Backend.py|195)
[6] [Oct 24 10:11:22] Loading dispatch config file '/etc/opsi/backendManager/dispatch.conf' (BackendManager.py|371)
[6] [Oct 24 10:11:22] Loading backend config '/etc/opsi/backends/opsipxeconfd.conf' (BackendManager.py|433)
[6] [Oct 24 10:11:22] Backend context was set to <BackendDispatcher(dispatchConfigFile=u'/etc/opsi/backendManager/dispatch.conf', context=<BackendManager()>)> (Backend.py|195)
[6] [Oct 24 10:11:22] Loading backend config '/etc/opsi/backends/file.conf' (BackendManager.py|433)
[6] [Oct 24 10:11:22] Backend context was set to <BackendDispatcher(dispatchConfigFile=u'/etc/opsi/backendManager/dispatch.conf', context=<BackendManager()>)> (Backend.py|195)
[6] [Oct 24 10:11:22] Loading backend config '/etc/opsi/backends/mysql.conf' (BackendManager.py|433)
[6] [Oct 24 10:11:22] Backend context was set to <BackendDispatcher(dispatchConfigFile=u'/etc/opsi/backendManager/dispatch.conf', context=<BackendManager()>)> (Backend.py|195)
[6] [Oct 24 10:11:22] Verifying modules file signature (MySQL.py|501)
[5] [Oct 24 10:11:22] Modules file signature verified (customer: opsivm basic license) (MySQL.py|523)
[6] [Oct 24 10:11:22] * BackendManager is creating ExtendedConfigDataBackend (BackendManager.py|275)
[6] [Oct 24 10:11:22] Setting context to backend <ExtendedConfigDataBackend(configDataBackend=<BackendDispatcher(dispatchConfigFile=u'/etc/opsi/backendManager/dispatch.conf', context=<BackendManager()>)>)> (Backend.py|460)
[6] [Oct 24 10:11:22] OpsiPackageManager initiated (opsi-package-manager|691)
[5] [Oct 24 10:11:22] Getting meta data from package '/home/opsiproducts/001standardinstallation_1.00-1.00.opsi' (Product.py|209)
[6] [Oct 24 10:11:22] Executing: /bin/cat "/home/opsiproducts/001standardinstallation_1.00-1.00.opsi" | /bin/cpio --quiet -it (Posix.py|768)
[6] [Oct 24 10:11:22] Using encoding 'UTF-8' (Posix.py|801)
[6] [Oct 24 10:11:22] Executing: /bin/cat "/home/opsiproducts/001standardinstallation_1.00-1.00.opsi" | /bin/cpio --quiet -idumv "OPSI*" (__init__.py|96)
[6] [Oct 24 10:11:22] Exit code: 0 (__init__.py|138)
[6] [Oct 24 10:11:22] Executing: /bin/zcat "/tmp/.opsi.unpack.ECQZh/OPSI/OPSI.cpio.gz" | /bin/cpio --quiet -it (Posix.py|768)
[6] [Oct 24 10:11:22] Using encoding 'UTF-8' (Posix.py|801)
[6] [Oct 24 10:11:22] Executing: /bin/zcat "/tmp/.opsi.unpack.ECQZh/OPSI/OPSI.cpio.gz" | /bin/cpio --quiet -idumv (__init__.py|96)
[6] [Oct 24 10:11:22] Exit code: 0 (__init__.py|138)
[6] [Oct 24 10:11:22] Checking product locks (opsi-package-manager|1152)
[6] [Oct 24 10:11:22] Starting task queue 'Install of package(s) /home/opsiproducts/001standardinstallation_1.00-1.00.opsi on depot 'opsi-ger.pressehaus.hz-online.de'' (opsi-package-manager|1272)
[5] [Oct 24 10:11:22] Processing upload of '001standardinstallation_1.00-1.00.opsi' to depot 'opsi-ger.pressehaus.hz-online.de' (opsi-package-manager|904)
[6] [Oct 24 10:11:22] Depot repository path is '/var/lib/opsi/repository' (opsi-package-manager|923)
[6] [Oct 24 10:11:22] Using 'webdavs://opsi-ger.pressehaus.hz-online.de:4447/repository' as repository url (opsi-package-manager|924)
[4] [Oct 24 10:15:37] Connecting to u'opsi-ger.pressehaus.hz-online.de' did not succeed after retrying. (HTTP.py|601)
[6] [Oct 24 10:15:37] Traceback: (Logger.py|757)
[6] [Oct 24 10:15:37] File "/usr/bin/opsi-package-manager", line 942, in uploadToRepository
for dest in repository.content():
(Logger.py|757)
[6] [Oct 24 10:15:37] File "/usr/lib/python2.7/dist-packages/OPSI/Util/Repository.py", line 1011, in content
response = self._connectionPool.urlopen(method='PROPFIND', url=source, body=None, headers=headers, retry=True, redirect=True)
(Logger.py|757)
[6] [Oct 24 10:15:37] File "/usr/lib/python2.7/dist-packages/OPSI/Util/HTTP.py", line 598, in urlopen
return self.urlopen(method, url, body, headers, retry, redirect, assert_same_host, firstTryTime)
(Logger.py|757)
[6] [Oct 24 10:15:37] File "/usr/lib/python2.7/dist-packages/OPSI/Util/HTTP.py", line 529, in urlopen
conn.request(method, url, body=body, headers=headers)
(Logger.py|757)
[6] [Oct 24 10:15:37] File "/usr/lib/python2.7/httplib.py", line 1017, in request
self._send_request(method, url, body, headers)
(Logger.py|757)
[6] [Oct 24 10:15:37] File "/usr/lib/python2.7/httplib.py", line 1051, in _send_request
self.endheaders(body)
(Logger.py|757)
[6] [Oct 24 10:15:37] File "/usr/lib/python2.7/httplib.py", line 1013, in endheaders
self._send_output(message_body)
(Logger.py|757)
[6] [Oct 24 10:15:37] File "/usr/lib/python2.7/httplib.py", line 864, in _send_output
self.send(msg)
(Logger.py|757)
[6] [Oct 24 10:15:37] File "/usr/lib/python2.7/httplib.py", line 826, in send
self.connect()
(Logger.py|757)
[6] [Oct 24 10:15:37] File "/usr/lib/python2.7/httplib.py", line 1216, in connect
self.timeout, self.source_address)
(Logger.py|757)
[6] [Oct 24 10:15:37] File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
(Logger.py|757)
[6] [Oct 24 10:15:37] ==>>> [Errno 110] Connection timed out (opsi-package-manager|1117)
[3] [Oct 24 10:15:37] [Errno 110] Connection timed out (opsi-package-manager|1118)
[2] [Oct 24 10:15:37] Traceback: (Logger.py|757)
[2] [Oct 24 10:15:37] File "/usr/bin/opsi-package-manager", line 94, in start
self.method(*self.params)
(Logger.py|757)
[2] [Oct 24 10:15:37] File "/usr/bin/opsi-package-manager", line 942, in uploadToRepository
for dest in repository.content():
(Logger.py|757)
[2] [Oct 24 10:15:37] File "/usr/lib/python2.7/dist-packages/OPSI/Util/Repository.py", line 1011, in content
response = self._connectionPool.urlopen(method='PROPFIND', url=source, body=None, headers=headers, retry=True, redirect=True)
(Logger.py|757)
[2] [Oct 24 10:15:37] File "/usr/lib/python2.7/dist-packages/OPSI/Util/HTTP.py", line 598, in urlopen
return self.urlopen(method, url, body, headers, retry, redirect, assert_same_host, firstTryTime)
(Logger.py|757)
[2] [Oct 24 10:15:37] File "/usr/lib/python2.7/dist-packages/OPSI/Util/HTTP.py", line 529, in urlopen
conn.request(method, url, body=body, headers=headers)
(Logger.py|757)
[2] [Oct 24 10:15:37] File "/usr/lib/python2.7/httplib.py", line 1017, in request
self._send_request(method, url, body, headers)
(Logger.py|757)
[2] [Oct 24 10:15:37] File "/usr/lib/python2.7/httplib.py", line 1051, in _send_request
self.endheaders(body)
(Logger.py|757)
[2] [Oct 24 10:15:37] File "/usr/lib/python2.7/httplib.py", line 1013, in endheaders
self._send_output(message_body)
(Logger.py|757)
[2] [Oct 24 10:15:37] File "/usr/lib/python2.7/httplib.py", line 864, in _send_output
self.send(msg)
(Logger.py|757)
[2] [Oct 24 10:15:37] File "/usr/lib/python2.7/httplib.py", line 826, in send
self.connect()
(Logger.py|757)
[2] [Oct 24 10:15:37] File "/usr/lib/python2.7/httplib.py", line 1216, in connect
self.timeout, self.source_address)
(Logger.py|757)
[2] [Oct 24 10:15:37] File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
(Logger.py|757)
[2] [Oct 24 10:15:37] ==>>> [Errno 110] Connection timed out (opsi-package-manager|96)
[3] [Oct 24 10:15:37] Task 'Upload of package '/home/opsiproducts/001standardinstallation_1.00-1.00.opsi' to repository 'opsi-ger.pressehaus.hz-online.de'' failed: [Errno 110] Connection timed out (opsi-package-manager|643)
[5] [Oct 24 10:15:37] Upload task failed, skipping install task (opsi-package-manager|647)
[6] [Oct 24 10:15:39] Cleaning up (opsi-package-manager|704)
[6] [Oct 24 10:15:39] Cleaning up (Product.py|85)
Ein Fehler ist aufgetreten:
[3] [Oct 24 10:15:39] Failure while processing Install of package(s) /home/opsiproducts/001standardinstallation_1.00-1.00.opsi on depot 'opsi-ger.pressehaus.hz-online.de': (opsi-package-manager|1599)
Fehler beim Bearbeiten von Install of package(s) /home/opsiproducts/001standardinstallation_1.00-1.00.opsi on depot 'opsi-ger.pressehaus.hz-online.de':
[3] [Oct 24 10:15:39] [Errno 110] Connection timed out (opsi-package-manager|1602)
[Errno 110] Connection timed out
Nachtrag.
Habe in der hosts Datei auf beiden Servern jeweils den anderen bekannt gegeben.