Aktualisierung OPSI-Client-Agent dauert lange

Antworten
majoso1953
Beiträge: 30
Registriert: 28 Okt 2016, 12:08

Aktualisierung OPSI-Client-Agent dauert lange

Beitrag von majoso1953 »

Hallo,

wir haben den opsi-client von 4.1.0.0-32 auf 4.1.0.0-40 aktualisiert. Allerdings benötigt das Update ca. 13 Minuten.

Folgende Aktualisierungen haben wir vorgenommen:

opsi_client
4.1.0.0-32 auf 4.1.0.0-40

opsi-winst
4.12.1.2-1 auf 4.12.3.12-1

Vorherige Aktualisierungen zeigten dieses Problem nicht. Wir haben Windows 10 E 1809 im Einsatz.

Interessanterweise tritt der Effekt mit einem so großen Zeitfenster nur bei virtuellen Maschinen auf. Bei physischen Maschinen sind es nur ca. 30 Sekunden .... :shock:

Im Log einer virtuellen Maschine wird folgendes angezeigt:

Code: Alles auswählen

(1672)    [5] [Jun 26 08:53:40:798] [opsi-client-agent]     comment: call function read_oca_configuration()
(1673)    [8] [Jun 26 08:53:40:799] [opsi-client-agent]     We are coming from function with index: -1 (-1 = base)
(1674)    [8] [Jun 26 08:53:40:799] [opsi-client-agent]     We enter the defined function: oca_read_configuration with 381 lines. inDefFuncLevel: 1 and index: 3
(1675)    [8] [Jun 26 09:03:40:222] [opsi-client-agent]     We leave the defined function: oca_read_configuration ; inDefFuncLevel: 0
(1676)    [5] [Jun 26 09:03:40:224] [opsi-client-agent]     comment: call function oca_copy_files()
(1677)    [8] [Jun 26 09:03:40:225] [opsi-client-agent]     We are coming from function with index: -1 (-1 = base)
(1678)    [8] [Jun 26 09:03:40:226] [opsi-client-agent]     We enter the defined function: oca_copy_files with 218 lines. inDefFuncLevel: 1 and index: 6
(1679)    [4] [Jun 26 09:03:45:118] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(1680)    [4] [Jun 26 09:03:45:288] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(1681)    [4] [Jun 26 09:03:45:342] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(1682)    [4] [Jun 26 09:03:45:539] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(1683)    [4] [Jun 26 09:03:53:513] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
.
.
.
.
.
(1718)    [4] [Jun 26 09:03:57:161] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(1719)    [4] [Jun 26 09:03:57:270] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(1720)    [4] [Jun 26 09:03:57:348] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(1721)    [4] [Jun 26 09:04:04:382] [opsi-client-agent]             Warning: Ordering of files is dubious:
(1722)    [4] [Jun 26 09:04:04:529] [opsi-client-agent]             Warning: Ordering of files is dubious:
(1723)    [4] [Jun 26 09:04:04:986] [opsi-client-agent]                 Warning:  Target file was in use, copying should be completed after reboot.
(1724)    [4] [Jun 26 09:04:05:138] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(1725)    [8] [Jun 26 09:04:06:640] [opsi-client-agent]     We leave the defined function: oca_copy_files ; inDefFuncLevel: 0
(1726)    [5] [Jun 26 09:04:06:641] [opsi-client-agent]     comment: call function oca_write_configuration()
(1727)    [8] [Jun 26 09:04:06:641] [opsi-client-agent]     We are coming from function with index: -1 (-1 = base)
(1728)    [8] [Jun 26 09:04:06:641] [opsi-client-agent]     We enter the defined function: oca_write_configuration with 466 lines. inDefFuncLevel: 1 and index: 7
(1729)    [3] [Jun 26 09:04:46:588] [opsi-client-agent]       Error: opsiclientd_register_service failed
(1730)    [8] [Jun 26 09:05:11:695] [opsi-client-agent]     We leave the defined function: oca_write_configuration ; inDefFuncLevel: 0
(1731)    [5] [Jun 26 09:05:11:697] [opsi-client-agent]     comment: is there a custom sub file ...
(1732)    [6] [Jun 26 09:05:11:697] [opsi-client-agent]     If
(1733)    [6] [Jun 26 09:05:11:699] [opsi-client-agent]       Starting query if file exist ...
(1734)    [6] [Jun 26 09:05:11:702] [opsi-client-agent]       Not found: "p:\opsi-client-agent\files\opsi\custom\custom.opsiscript":
(1735)    [6] [Jun 26 09:05:11:703] [opsi-client-agent]       fileexists("p:\opsi-client-agent\files\opsi\custom\custom.opsiscript")   <<< result false
(1736)    [6] [Jun 26 09:05:11:703] [opsi-client-agent]     Then
(1737)    [6] [Jun 26 09:05:11:705] [opsi-client-agent]     EndIf
(1738)    [5] [Jun 26 09:05:11:707] [opsi-client-agent]     message opsi-client-agent configuration
(1739)    [8] [Jun 26 09:05:11:722] [opsi-client-agent]     Looking for: p:\opsi-client-agent\files\opsi\subconfig.opsiscript

Im Log einer physischen Maschine wird folgendes angezeigt:

Code: Alles auswählen

(622)     [5] [Jun 26 08:23:27:146] [opsi-client-agent]     comment: call function oca_shutdown_starter_fix()
(623)     [8] [Jun 26 08:23:27:146] [opsi-client-agent]     We are coming from function with index: -1 (-1 = base)
(624)     [8] [Jun 26 08:23:27:146] [opsi-client-agent]     We enter the defined function: oca_shutdown_starter_fix with 29 lines. inDefFuncLevel: 1 and index: 2
(625)     [8] [Jun 26 08:23:27:170] [opsi-client-agent]     We leave the defined function: oca_shutdown_starter_fix ; inDefFuncLevel: 0
(626)     [5] [Jun 26 08:23:27:170] [opsi-client-agent]     comment: call function read_oca_configuration()
(627)     [8] [Jun 26 08:23:27:170] [opsi-client-agent]     We are coming from function with index: -1 (-1 = base)
(628)     [8] [Jun 26 08:23:27:170] [opsi-client-agent]     We enter the defined function: oca_read_configuration with 381 lines. inDefFuncLevel: 1 and index: 3
(629)     [8] [Jun 26 08:24:58:714] [opsi-client-agent]     We leave the defined function: oca_read_configuration ; inDefFuncLevel: 0
(630)     [5] [Jun 26 08:24:58:714] [opsi-client-agent]     comment: call function oca_copy_files()
(631)     [8] [Jun 26 08:24:58:714] [opsi-client-agent]     We are coming from function with index: -1 (-1 = base)
(632)     [8] [Jun 26 08:24:58:714] [opsi-client-agent]     We enter the defined function: oca_copy_files with 218 lines. inDefFuncLevel: 1 and index: 6
(633)     [4] [Jun 26 08:25:02:049] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(634)     [4] [Jun 26 08:25:02:233] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(635)     [4] [Jun 26 08:25:02:256] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(636)     [4] [Jun 26 08:25:02:655] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(637)     [4] [Jun 26 08:25:04:508] [opsi-client-agent]           Warning: Ordering of files is dubious:
(638)     [4] [Jun 26 08:25:04:556] [opsi-client-agent]           Warning: Ordering of files is dubious:
(639)     [4] [Jun 26 08:25:04:857] [opsi-client-agent]           Warning: Ordering of files is dubious:
(640)     [4] [Jun 26 08:25:04:970] [opsi-client-agent]           Warning: Ordering of files is dubious:
(641)     [4] [Jun 26 08:25:05:255] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(642)     [4] [Jun 26 08:25:05:361] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(643)     [4] [Jun 26 08:25:05:683] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(644)     [4] [Jun 26 08:25:05:801] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(645)     [4] [Jun 26 08:25:05:824] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(646)     [4] [Jun 26 08:25:06:003] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(647)     [4] [Jun 26 08:25:06:024] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(648)     [4] [Jun 26 08:25:06:089] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(649)     [4] [Jun 26 08:25:06:119] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(650)     [4] [Jun 26 08:25:06:138] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(651)     [4] [Jun 26 08:25:06:336] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(652)     [4] [Jun 26 08:25:07:199] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(653)     [4] [Jun 26 08:25:07:293] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(654)     [4] [Jun 26 08:25:07:324] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(655)     [4] [Jun 26 08:25:07:342] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(656)     [4] [Jun 26 08:25:07:363] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(657)     [4] [Jun 26 08:25:07:528] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(658)     [4] [Jun 26 08:25:07:579] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(659)     [4] [Jun 26 08:25:07:613] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(660)     [4] [Jun 26 08:25:07:657] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(661)     [4] [Jun 26 08:25:07:689] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(662)     [4] [Jun 26 08:25:07:712] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(663)     [4] [Jun 26 08:25:07:729] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(664)     [4] [Jun 26 08:25:07:749] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(665)     [4] [Jun 26 08:25:07:772] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(666)     [4] [Jun 26 08:25:07:791] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(667)     [4] [Jun 26 08:25:07:823] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(668)     [4] [Jun 26 08:25:07:845] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(669)     [4] [Jun 26 08:25:07:865] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(670)     [4] [Jun 26 08:25:07:885] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(671)     [4] [Jun 26 08:25:07:989] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(672)     [4] [Jun 26 08:25:08:051] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(673)     [4] [Jun 26 08:25:08:070] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(674)     [4] [Jun 26 08:25:08:100] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(675)     [4] [Jun 26 08:25:08:126] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(676)     [4] [Jun 26 08:25:08:271] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(677)     [4] [Jun 26 08:25:08:311] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(678)     [4] [Jun 26 08:25:08:457] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(679)     [4] [Jun 26 08:25:11:105] [opsi-client-agent]             Warning: Ordering of files is dubious:
(680)     [4] [Jun 26 08:25:11:255] [opsi-client-agent]             Warning: Ordering of files is dubious:
(681)     [4] [Jun 26 08:25:11:359] [opsi-client-agent]                 Warning: Ordering of files is dubious:
(682)     [4] [Jun 26 08:25:11:437] [opsi-client-agent]                 Warning:  Target file was in use, copying should be completed after reboot.
(683)     [4] [Jun 26 08:25:11:733] [opsi-client-agent]           Warning:  Target file was in use, copying should be completed after reboot.
(684)     [4] [Jun 26 08:25:12:066] [opsi-client-agent]           Warning: Ordering of files is dubious:
(685)     [4] [Jun 26 08:25:12:235] [opsi-client-agent]           Warning: Ordering of files is dubious:
(686)     [8] [Jun 26 08:25:12:289] [opsi-client-agent]     We leave the defined function: oca_copy_files ; inDefFuncLevel: 0
(687)     [5] [Jun 26 08:25:12:290] [opsi-client-agent]     comment: call function oca_write_configuration()
(688)     [8] [Jun 26 08:25:12:290] [opsi-client-agent]     We are coming from function with index: -1 (-1 = base)
(689)     [8] [Jun 26 08:25:12:290] [opsi-client-agent]     We enter the defined function: oca_write_configuration with 466 lines. inDefFuncLevel: 1 and index: 7
(690)     [3] [Jun 26 08:25:17:701] [opsi-client-agent]       Error: opsiclientd_register_service failed
(691)     [8] [Jun 26 08:25:25:349] [opsi-client-agent]     We leave the defined function: oca_write_configuration ; inDefFuncLevel: 0
(692)     [5] [Jun 26 08:25:25:349] [opsi-client-agent]     comment: is there a custom sub file ...
(693)     [6] [Jun 26 08:25:25:349] [opsi-client-agent]     If
(694)     [6] [Jun 26 08:25:25:349] [opsi-client-agent]       Starting query if file exist ...
(695)     [6] [Jun 26 08:25:25:351] [opsi-client-agent]       Not found: "p:\opsi-client-agent\files\opsi\custom\custom.opsiscript":
(696)     [6] [Jun 26 08:25:25:351] [opsi-client-agent]       fileexists("p:\opsi-client-agent\files\opsi\custom\custom.opsiscript")   <<< result false
(697)     [6] [Jun 26 08:25:25:351] [opsi-client-agent]     Then
(698)     [6] [Jun 26 08:25:25:352] [opsi-client-agent]     EndIf
Eine Aktualisierung auf die Versionen aus "testing" zeigt das gleiche Verhalten :(

Andere Pakete werden flüssig installiert.

Hat jemand eine Idee ?!?

vielen Dank im Voraus
Antworten