[Gelöst] Opsi Product per Cronjob installieren/ausführen

hawaii
Beiträge: 77
Registriert: 03 Dez 2013, 13:32

[Gelöst] Opsi Product per Cronjob installieren/ausführen

Beitrag von hawaii »

Hallo,

ich hab mir in Opsi eine Gruppe mit Hosts hinterlegt und würde jetzt gerne per Kommandozeile/Cronjob ein Produkt installieren.
Leider hab ich mich mit den Kommandozeilen Parametern noch gar nicht auseinandergesetzt und versuche jetzt gerade herauszufinden
wo ich da ansetzen muss....

Vielleicht kann mir ja einer 'nen Denkanstoß geben....

Danke und Grüßle,
hawaii
Zuletzt geändert von hawaii am 20 Aug 2014, 16:36, insgesamt 1-mal geändert.
hawaii
Beiträge: 77
Registriert: 03 Dez 2013, 13:32

Re: Opsi Product per Cronjob installieren/ausführen

Beitrag von hawaii »

Ok, bin fündig geworden.

Allerdings funktioniert die Methode:

Code: Alles auswählen

method setProductActionRequest productId, clientId, actionRequest
ja nur auf Clients und nicht auf Gruppen, gemäß der Doku.

Also wollte ich mit der Methode:

Code: Alles auswählen

method getClientIds_list serverId = None, groupId = None, productId = None, installationStatus = None, actionRequest = None
alle Clients einer Gruppe holen.

Allerdings gibt er mir wenn ich folgendes ausführe:

Code: Alles auswählen

method getClientIds_list groupId=photoshop
einfach alle Clients zurück.....

Mit:

Code: Alles auswählen

method getGroupIds_list
hab ich nachgeschaut und die Gruppe "photoshop" wird da auch aufgelistet.

Jemand eine Idee was ich falsch mache?
hawaii
Beiträge: 77
Registriert: 03 Dez 2013, 13:32

Re: Opsi Product per Cronjob installieren/ausführen

Beitrag von hawaii »

Bin jetzt noch auf folgenden Thread gestoßen, wonach es auch auf Gruppen funktionieren sollte:
viewtopic.php?f=7&t=6318

Wenn ich allerdings:

Code: Alles auswählen

opsi-admin -d method setProductActionRequestForHostGroup photoshop ccup setup
verwende, dann bekomme ich folgende Meldung:

Code: Alles auswählen

opsi-admin -d method setProductActionRequestForHostGroup photoshop ccup setup
[2] Traceback: (Logger.py|754)
[2]      line 1637 in '<module>' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      line 329 in 'main' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      line 718 in 'execute' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      ==>>> Failed to execute 'method setProductActionRequestForHostGroup photoshop ccup setup': Bad fqdn: 'photoshop' (opsi-admin|1647)
thomas.besser
Beiträge: 472
Registriert: 09 Sep 2009, 09:40

Re: Opsi Product per Cronjob installieren/ausführen

Beitrag von thomas.besser »

Schau mal in den alten Post hier: viewtopic.php?f=7&t=3539#p20064

Wir nutzen immer noch diese beiden Shellskripte um automatisiertes Installieren über Nacht zu realisieren.

Und mein Angebot steht noch immer ;-)
hawaii
Beiträge: 77
Registriert: 03 Dez 2013, 13:32

Re: Opsi Product per Cronjob installieren/ausführen

Beitrag von hawaii »

Hallo Thomas,

Danke für das Angebot! Aber mein Hauptproblem besteht im Moment darin den ActionRequest für die ganze Gruppe zu setzen.
Für WOL hab ich uns mittlerweile ein nettes Webtool gebaut über welches unsere MA die sich per VPN verbinden ihren Rechner selber aufwecken können.

Bild

Könnte ich evntuell auch anonymisieren, wenn Interesse besteht. ;)

Grüßle,
hawaii
Zuletzt geändert von hawaii am 20 Aug 2014, 10:05, insgesamt 1-mal geändert.
hawaii
Beiträge: 77
Registriert: 03 Dez 2013, 13:32

Re: Opsi Product per Cronjob installieren/ausführen

Beitrag von hawaii »

Noch einen Thread gefunden:
https://forum.uib.de/viewtopic.php?f=7&t=5878

Auch wenn ich die hier beschriebene Methode verwende:

Code: Alles auswählen

opsi-admin -dS method getClientIds_list null '["photoshop"]' null null null null
krieg ich folgende Meldung:

Code: Alles auswählen

opsi-admin -dS method getClientIds_list null '["photoshop"]' null null null null
[2] Traceback: (Logger.py|754)
[2]      line 1637 in '<module>' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      line 329 in 'main' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      line 718 in 'execute' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      ==>>> Failed to execute 'method getClientIds_list null ["photoshop"] null null null null': Bad fqdn: 'photoshop' (opsi-admin|1647)
Irgendwie scheint das Kriterium Gruppe nicht zu funktionieren....
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Opsi Product per Cronjob installieren/ausführen

Beitrag von n.wenselowski »

Hallo hawaii,

als grundsätzlichen Tipp kann ich empfehlen sich die benötigten Parameter im interaktiven Modus (opsi-admin -i, dann per Tab vervollständigen lassen) oder auf dem Webinterface (https://dein.opsi.server:4447/interface) anzeigen zu lassen.
hawaii hat geschrieben:Auch wenn ich die hier beschriebene Methode verwende:

Code: Alles auswählen

opsi-admin -dS method getClientIds_list null '["photoshop"]' null null null null
krieg ich folgende Meldung:

Code: Alles auswählen

opsi-admin -dS method getClientIds_list null '["photoshop"]' null null null null
[2] Traceback: (Logger.py|754)
[2]      line 1637 in '<module>' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      line 329 in 'main' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      line 718 in 'execute' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      ==>>> Failed to execute 'method getClientIds_list null ["photoshop"] null null null null': Bad fqdn: 'photoshop' (opsi-admin|1647)
Irgendwie scheint das Kriterium Gruppe nicht zu funktionieren....
Das ist hier einfach der falsche Parameter. So funktionierts:

Code: Alles auswählen

opsi-admin -dS method getClientIds_list null null null "photoshop"
hawaii hat geschrieben:Also wollte ich mit der Methode:

Code: Alles auswählen

method getClientIds_list serverId = None, groupId = None, productId = None, installationStatus = None, actionRequest = None
alle Clients einer Gruppe holen.
Bei Aufrufen über opsi-admin klappt die Art der Parameter-Übergabe nicht. Da wird einfach ein "null" eingefügt, wenn der Parameter nicht gesetzt sein soll. Aber das scheinst du auch schon raus zu haben.
hawaii hat geschrieben: Wenn ich allerdings:

Code: Alles auswählen

opsi-admin -d method setProductActionRequestForHostGroup photoshop ccup setup
verwende, dann bekomme ich folgende Meldung:

Code: Alles auswählen

opsi-admin -d method setProductActionRequestForHostGroup photoshop ccup setup
[2] Traceback: (Logger.py|754)
[2]      line 1637 in '<module>' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      line 329 in 'main' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      line 718 in 'execute' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      ==>>> Failed to execute 'method setProductActionRequestForHostGroup photoshop ccup setup': Bad fqdn: 'photoshop' (opsi-admin|1647)
Auch hier passen die Parameter nicht, es sind der Produkt- und der Gruppenname vertauscht.
So sollte es klappen, sofern deine Gruppe ccup ist:

Code: Alles auswählen

opsi-admin -d method setProductActionRequestForHostGroup ccup photoshop setup
Unter /etc/opsi/backendManager/extend.d/40_groupActions.conf findest du die Methoden zur Arbeit mit den Gruppen. Den Parameter self kannst du hierbei ignorieren.

Für mehr Wissen in dem Bereich ist auch eine Schulung empfehlenswert, da die Arbeit mit der Kommandozeile dort auch besprochen wird.


Viele Grüße

Niko

Code: Alles auswählen

import OPSI
hawaii
Beiträge: 77
Registriert: 03 Dez 2013, 13:32

Re: Opsi Product per Cronjob installieren/ausführen

Beitrag von hawaii »

Hallo Niko,

Danke für deine Antwort!
Kurz zur Info, das Produkt ist "ccup" und die Gruppe die es betrifft "photoshop". Sorry das hatte ich nicht klar genug beschrieben.
Das ist hier einfach der falsche Parameter. So funktionierts:
CODE: ALLES AUSWÄHLEN
opsi-admin -dS method getClientIds_list null null null "photoshop"
Das hat nicht funktioniert aber ich hab dann im Webinterface geschaut und groupID ist der dritte Parameter und siehe da

Code: Alles auswählen

opsi-admin -dS method getClientIds_list null null "photoshop"
funktioniert. ;)

Ich hatte mich davor hier orientiert: http://download.uib.de/opsi_stable/doc/ ... ture-opsi3
Denn hier heisst es:

Code: Alles auswählen

method getClientIds_list serverId = None, groupId = None, productId = None, installationStatus = None, actionRequest = None
Aber das scheint veraltet zu sein ;)

Allerdings funktioniert die zweite beschriebene Methode nicht.
Auch hier passen die Parameter nicht, es sind der Produkt- und der Gruppenname vertauscht.
So sollte es klappen, sofern deine Gruppe ccup ist:
CODE: ALLES AUSWÄHLEN
opsi-admin -d method setProductActionRequestForHostGroup ccup photoshop setup
Hab das auch im Webinterface mal noch getestet und egal wie ich es drehe, ich krieg immer die Meldung:

Code: Alles auswählen

{ "method": "setProductActionRequestForHostGroup",
   "params": ["photoshop", "ccup", "setup"],
   "id": 1 }
{
"id": 1,
"result": null,
"error": {
"message": "Bad fqdn: 'photoshop'",
"class": "ValueError"
}
}
Hast du noch eine Idee warum das bei mir nicht funktioniert? Habe es mit mehreren Gruppennamen getestet und kriege immer die Bad fqdn Meldung.
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Opsi Product per Cronjob installieren/ausführen

Beitrag von n.wenselowski »

Hallo hawaii,

sorry für die ursprünglich falsche Antwort. Vielleicht hätte ich doch den Kaffee heute morgen nicht weg lassen sollen ;)

Die von dir verlinkte Doku ist für opsi 3 und wir sind mittlerweile bei 4. Ja, das ist veraltet ;)

Gibt es eventuell einen Client mit dem Namen photoshop auf deinem System?
Ist deine Gruppe eine Hostgroup?
Das kannst du mit dem folgenden Befehl rausfinden:

Code: Alles auswählen

opsi-admin -d method group_getHashes '' '{"id":"photoshop*"}'
Ansonsten hilft es opsi-admin mit --loglevel 7 zu starten, um den Debug output zu sehen und so heraus zu finden, an welcher Stelle er genau meckert.


Viele Grüße

Niko

Code: Alles auswählen

import OPSI
hawaii
Beiträge: 77
Registriert: 03 Dez 2013, 13:32

Re: Opsi Product per Cronjob installieren/ausführen

Beitrag von hawaii »

Einen Client mit dem Namen "photoshop" gibt es nicht, aber ein Produkt. Ich habe nun allerdings gerade testweise die Gruppe "photoshop" gelöscht und es mit einer anderen Gruppe "blubb" versucht.
Leider mit dem selben Ergebnis.

Die Gruppe "blubb" wird als Hostgroup erkannt:

Code: Alles auswählen

opsi-admin -d method group_getHashes '' '{"id":"blubb*"}'

[
          {
          "notes" : "",
          "description" : "",
          "type" : "HostGroup",
          "id" : "blubb",
          "parentGroupId" : null
}]

Wenn ich allerdings folgendes versuche den ActionRequest zu setzen, bekomme ich wieder die Bad fqdn Meldung:

Code: Alles auswählen

opsi-admin -d method setProductActionRequestForHostGroup blubb ccup setup
[2] Traceback: (Logger.py|754)
[2]      line 1637 in '<module>' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      line 329 in 'main' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      line 718 in 'execute' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      ==>>> Failed to execute 'method setProductActionRequestForHostGroup blubb ccup setup': Bad fqdn: 'blubb' (opsi-admin|1647)
Das loglevel 7 sieht folgendermaßen aus:

Code: Alles auswählen

opsi-admin -d --loglevel 7 method setProductActionRequestForHostGroup blubb ccup setup
[6] * BackendManager is creating BackendDispatcher (BackendManager.py|208)
[6] Backend context was set to <OPSI.Backend.BackendManager.BackendManager instance at 0x93206ac> (Backend.py|167)
[6] Loading dispatch config file '/etc/opsi/backendManager/dispatch.conf' (BackendManager.py|310)
[7] Trying to lock file '/etc/opsi/backendManager/dispatch.conf' (0/2000) (__init__.py|198)
[7] File '/etc/opsi/backendManager/dispatch.conf' locked after 0 millis (__init__.py|219)
[7] Trying to lock file '/etc/opsi/backendManager/dispatch.conf' (0/2000) (__init__.py|198)
[7] File '/etc/opsi/backendManager/dispatch.conf' locked after 0 millis (__init__.py|219)
[7] Read dispatch config from file '/etc/opsi/backendManager/dispatch.conf': (BackendManager.py|324)
[7] 
[ 

          [ 
          "backend_.*",

                    [ 
                    "file",
                    "mysql",
                    "opsipxeconfd"                    ]          ],

          [ 
          "host_.*",

                    [ 
                    "file",
                    "opsipxeconfd"                    ]          ],

          [ 
          "productOnClient_.*",

                    [ 
                    "file",
                    "opsipxeconfd"                    ]          ],

          [ 
          "configState_.*",

                    [ 
                    "file",
                    "opsipxeconfd"                    ]          ],

          [ 
          "license.*",

                    [ 
                    "mysql"                    ]          ],

          [ 
          "softwareLicense.*",

                    [ 
                    "mysql"                    ]          ],

          [ 
          "audit.*",

                    [ 
                    "mysql"                    ]          ],

          [ 
          ".*",

                    [ 
                    "file"                    ]          ]] (BackendManager.py|325)
[6] Loading backend config '/etc/opsi/backends/file.conf' (BackendManager.py|351)
[6] Backend context was set to <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|167)
[7] Trying to lock file '/etc/opsi/opsi.conf' (0/2000) (__init__.py|198)
[7] File '/etc/opsi/opsi.conf' locked after 0 millis (__init__.py|219)
[7] Trying to lock file '/etc/opsi/opsi.conf' (0/2000) (__init__.py|198)
[7] File '/etc/opsi/opsi.conf' locked after 0 millis (__init__.py|219)
[6] Loading backend config '/etc/opsi/backends/mysql.conf' (BackendManager.py|351)
[6] Backend context was set to <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|167)
[7] Trying to lock file '/etc/opsi/hwaudit/locales/en_US' (0/2000) (__init__.py|198)
[7] File '/etc/opsi/hwaudit/locales/en_US' locked after 0 millis (__init__.py|219)
[7] Found STRUCTURAL hardware class 'COMPUTER_SYSTEM' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'CHASSIS' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'BASE_BOARD' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'BIOS' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'SYSTEM_SLOT' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'PORT_CONNECTOR' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'PROCESSOR' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'MEMORY_BANK' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'MEMORY_MODULE' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'CACHE_MEMORY' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'PCI_DEVICE' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'NETWORK_CONTROLLER' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'AUDIO_CONTROLLER' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'HDAUDIO_DEVICE' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'IDE_CONTROLLER' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'SCSI_CONTROLLER' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'FLOPPY_CONTROLLER' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'USB_CONTROLLER' (Backend.py|1389)
[7] Found STRUCTURAL hardware class '1394_CONTROLLER' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'PCMCIA_CONTROLLER' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'VIDEO_CONTROLLER' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'FLOPPY_DRIVE' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'TAPE_DRIVE' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'HARDDISK_DRIVE' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'DISK_PARTITION' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'OPTICAL_DRIVE' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'USB_DEVICE' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'MONITOR' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'KEYBOARD' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'POINTING_DEVICE' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'PRINTER' (Backend.py|1389)
[6] Creating ConnectionPool instance (MySQL.py|64)
[7] MySQL created: <OPSI.Backend.MySQL.MySQL object at 0x938a6cc> (MySQL.py|138)
[4] Failed to read opsi modules file '/etc/opsi/modules': [Errno 2] Datei oder Verzeichnis nicht gefunden: u'/etc/opsi/modules' (Backend.py|365)
[5] Disabling mysql backend and license management module: no customer in modules file (MySQL.py|435)
[7] MySQLBackend created: <OPSI.Backend.MySQL.MySQLBackend instance at 0x938a64c> (MySQL.py|474)
[6] Loading backend config '/etc/opsi/backends/opsipxeconfd.conf' (BackendManager.py|351)
[6] Backend context was set to <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|167)
[7] BackendDispatcher is creating instance methods (BackendManager.py|367)
[7] 'audit.*' matches method 'auditHardwareOnHost_deleteObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditHardwareOnHost_getHashes', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditHardwareOnHost_getObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditHardwareOnHost_insertObject', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditHardwareOnHost_updateObject', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditHardware_deleteObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditHardware_getConfig', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditHardware_getHashes', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditHardware_getObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditHardware_insertObject', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditHardware_updateObject', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditSoftwareOnClient_deleteObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditSoftwareOnClient_getHashes', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditSoftwareOnClient_getObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditSoftwareOnClient_insertObject', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditSoftwareOnClient_updateObject', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditSoftwareToLicensePool_deleteObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditSoftwareToLicensePool_getHashes', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditSoftwareToLicensePool_getObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditSoftwareToLicensePool_insertObject', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditSoftwareToLicensePool_updateObject', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditSoftware_deleteObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditSoftware_getHashes', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditSoftware_getObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditSoftware_insertObject', dispatching to backends: mysql (BackendManager.py|391)
[7] 'audit.*' matches method 'auditSoftware_updateObject', dispatching to backends: mysql (BackendManager.py|391)
[7] 'backend_.*' matches method 'backend_createBase', dispatching to backends: file, mysql, opsipxeconfd (BackendManager.py|391)
[7] 'backend_.*' matches method 'backend_deleteBase', dispatching to backends: file, mysql, opsipxeconfd (BackendManager.py|391)
[7] BackendDispatcher: overwriting method backend_exit (BackendManager.py|377)
[7] BackendDispatcher: overwriting method backend_getInterface (BackendManager.py|377)
[7] BackendDispatcher: overwriting method backend_getOptions (BackendManager.py|377)
[7] BackendDispatcher: overwriting method backend_getSharedAlgorithm (BackendManager.py|377)
[7] BackendDispatcher: overwriting method backend_info (BackendManager.py|377)
[7] BackendDispatcher: overwriting method backend_setOptions (BackendManager.py|377)
[7] '.*' matches method 'bootConfiguration_deleteObjects', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'bootConfiguration_getHashes', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'bootConfiguration_getObjects', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'bootConfiguration_insertObject', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'bootConfiguration_updateObject', dispatching to backends: file (BackendManager.py|391)
[7] 'configState_.*' matches method 'configState_deleteObjects', dispatching to backends: file, opsipxeconfd (BackendManager.py|391)
[7] 'configState_.*' matches method 'configState_getHashes', dispatching to backends: file, opsipxeconfd (BackendManager.py|391)
[7] 'configState_.*' matches method 'configState_getObjects', dispatching to backends: file, opsipxeconfd (BackendManager.py|391)
[7] 'configState_.*' matches method 'configState_insertObject', dispatching to backends: file, opsipxeconfd (BackendManager.py|391)
[7] 'configState_.*' matches method 'configState_updateObject', dispatching to backends: file, opsipxeconfd (BackendManager.py|391)
[7] '.*' matches method 'config_deleteObjects', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'config_getHashes', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'config_getObjects', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'config_insertObject', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'config_updateObject', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'group_deleteObjects', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'group_getHashes', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'group_getObjects', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'group_insertObject', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'group_updateObject', dispatching to backends: file (BackendManager.py|391)
[7] 'host_.*' matches method 'host_deleteObjects', dispatching to backends: file, opsipxeconfd (BackendManager.py|391)
[7] 'host_.*' matches method 'host_getHashes', dispatching to backends: file, opsipxeconfd (BackendManager.py|391)
[7] 'host_.*' matches method 'host_getObjects', dispatching to backends: file, opsipxeconfd (BackendManager.py|391)
[7] 'host_.*' matches method 'host_insertObject', dispatching to backends: file, opsipxeconfd (BackendManager.py|391)
[7] 'host_.*' matches method 'host_updateObject', dispatching to backends: file, opsipxeconfd (BackendManager.py|391)
[7] 'license.*' matches method 'licenseContract_deleteObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'license.*' matches method 'licenseContract_getHashes', dispatching to backends: mysql (BackendManager.py|391)
[7] 'license.*' matches method 'licenseContract_getObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'license.*' matches method 'licenseContract_insertObject', dispatching to backends: mysql (BackendManager.py|391)
[7] 'license.*' matches method 'licenseContract_updateObject', dispatching to backends: mysql (BackendManager.py|391)
[7] 'license.*' matches method 'licenseOnClient_deleteObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'license.*' matches method 'licenseOnClient_getHashes', dispatching to backends: mysql (BackendManager.py|391)
[7] 'license.*' matches method 'licenseOnClient_getObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'license.*' matches method 'licenseOnClient_insertObject', dispatching to backends: mysql (BackendManager.py|391)
[7] 'license.*' matches method 'licenseOnClient_updateObject', dispatching to backends: mysql (BackendManager.py|391)
[7] 'license.*' matches method 'licensePool_deleteObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'license.*' matches method 'licensePool_getHashes', dispatching to backends: mysql (BackendManager.py|391)
[7] 'license.*' matches method 'licensePool_getObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'license.*' matches method 'licensePool_insertObject', dispatching to backends: mysql (BackendManager.py|391)
[7] 'license.*' matches method 'licensePool_updateObject', dispatching to backends: mysql (BackendManager.py|391)
[7] '.*' matches method 'log_read', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'log_write', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'objectToGroup_deleteObjects', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'objectToGroup_getHashes', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'objectToGroup_getObjects', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'objectToGroup_insertObject', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'objectToGroup_updateObject', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productDependency_deleteObjects', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productDependency_getHashes', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productDependency_getObjects', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productDependency_insertObject', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productDependency_updateObject', dispatching to backends: file (BackendManager.py|391)
[7] 'productOnClient_.*' matches method 'productOnClient_deleteObjects', dispatching to backends: file, opsipxeconfd (BackendManager.py|391)
[7] 'productOnClient_.*' matches method 'productOnClient_getHashes', dispatching to backends: file, opsipxeconfd (BackendManager.py|391)
[7] 'productOnClient_.*' matches method 'productOnClient_getObjects', dispatching to backends: file, opsipxeconfd (BackendManager.py|391)
[7] 'productOnClient_.*' matches method 'productOnClient_insertObject', dispatching to backends: file, opsipxeconfd (BackendManager.py|391)
[7] 'productOnClient_.*' matches method 'productOnClient_updateObject', dispatching to backends: file, opsipxeconfd (BackendManager.py|391)
[7] '.*' matches method 'productOnDepot_deleteObjects', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productOnDepot_getHashes', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productOnDepot_getObjects', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productOnDepot_insertObject', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productOnDepot_updateObject', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productPropertyState_deleteObjects', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productPropertyState_getHashes', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productPropertyState_getObjects', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productPropertyState_insertObject', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productPropertyState_updateObject', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productProperty_deleteObjects', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productProperty_getHashes', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productProperty_getObjects', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productProperty_insertObject', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'productProperty_updateObject', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'product_deleteObjects', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'product_getHashes', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'product_getObjects', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'product_insertObject', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'product_updateObject', dispatching to backends: file (BackendManager.py|391)
[7] 'softwareLicense.*' matches method 'softwareLicenseToLicensePool_deleteObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'softwareLicense.*' matches method 'softwareLicenseToLicensePool_getHashes', dispatching to backends: mysql (BackendManager.py|391)
[7] 'softwareLicense.*' matches method 'softwareLicenseToLicensePool_getObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'softwareLicense.*' matches method 'softwareLicenseToLicensePool_insertObject', dispatching to backends: mysql (BackendManager.py|391)
[7] 'softwareLicense.*' matches method 'softwareLicenseToLicensePool_updateObject', dispatching to backends: mysql (BackendManager.py|391)
[7] 'softwareLicense.*' matches method 'softwareLicense_deleteObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'softwareLicense.*' matches method 'softwareLicense_getHashes', dispatching to backends: mysql (BackendManager.py|391)
[7] 'softwareLicense.*' matches method 'softwareLicense_getObjects', dispatching to backends: mysql (BackendManager.py|391)
[7] 'softwareLicense.*' matches method 'softwareLicense_insertObject', dispatching to backends: mysql (BackendManager.py|391)
[7] 'softwareLicense.*' matches method 'softwareLicense_updateObject', dispatching to backends: mysql (BackendManager.py|391)
[7] '.*' matches method 'user_getCredentials', dispatching to backends: file (BackendManager.py|391)
[7] '.*' matches method 'user_setCredentials', dispatching to backends: file (BackendManager.py|391)
[6] * BackendManager is creating ExtendedConfigDataBackend (BackendManager.py|219)
[6] Setting context to backend <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x96538ac> (Backend.py|389)
[7] ExtendedConfigDataBackend is creating instance methods (Backend.py|395)
[7] ExtendedConfigDataBackend: overwriting method auditHardwareOnHost_updateObject of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|405)
[7] ExtendedConfigDataBackend: overwriting method backend_exit of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|405)
[7] ExtendedConfigDataBackend: overwriting method backend_getInterface of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|405)
[7] ExtendedConfigDataBackend: overwriting method backend_getOptions of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|405)
[7] ExtendedConfigDataBackend: overwriting method backend_getSharedAlgorithm of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|405)
[7] ExtendedConfigDataBackend: overwriting method backend_info of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|405)
[7] ExtendedConfigDataBackend: overwriting method backend_setOptions of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|405)
[7] ExtendedConfigDataBackend: overwriting method configState_getObjects of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|405)
[7] ExtendedConfigDataBackend: overwriting method configState_insertObject of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|405)
[7] ExtendedConfigDataBackend: overwriting method configState_updateObject of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|405)
[7] ExtendedConfigDataBackend: overwriting method productOnClient_getObjects of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|405)
[7] ExtendedConfigDataBackend: overwriting method productOnClient_insertObject of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|405)
[7] ExtendedConfigDataBackend: overwriting method productOnClient_updateObject of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|405)
[7] ExtendedConfigDataBackend: overwriting method productOnDepot_deleteObjects of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|405)
[7] ExtendedConfigDataBackend: overwriting method productOnDepot_insertObject of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|405)
[7] ExtendedConfigDataBackend: overwriting method productPropertyState_getObjects of backend instance <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|405)
[7] Dispatching method 'auditHardware_getConfig' to backends: [u'mysql'] (BackendManager.py|406)
[7] Trying to lock file '/etc/opsi/hwaudit/locales/en_US' (0/2000) (__init__.py|198)
[7] File '/etc/opsi/hwaudit/locales/en_US' locked after 0 millis (__init__.py|219)
[7] Found STRUCTURAL hardware class 'COMPUTER_SYSTEM' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'CHASSIS' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'BASE_BOARD' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'BIOS' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'SYSTEM_SLOT' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'PORT_CONNECTOR' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'PROCESSOR' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'MEMORY_BANK' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'MEMORY_MODULE' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'CACHE_MEMORY' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'PCI_DEVICE' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'NETWORK_CONTROLLER' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'AUDIO_CONTROLLER' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'HDAUDIO_DEVICE' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'IDE_CONTROLLER' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'SCSI_CONTROLLER' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'FLOPPY_CONTROLLER' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'USB_CONTROLLER' (Backend.py|1389)
[7] Found STRUCTURAL hardware class '1394_CONTROLLER' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'PCMCIA_CONTROLLER' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'VIDEO_CONTROLLER' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'FLOPPY_DRIVE' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'TAPE_DRIVE' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'HARDDISK_DRIVE' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'DISK_PARTITION' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'OPTICAL_DRIVE' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'USB_DEVICE' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'MONITOR' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'KEYBOARD' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'POINTING_DEVICE' (Backend.py|1389)
[7] Found STRUCTURAL hardware class 'PRINTER' (Backend.py|1389)
[6] * BackendManager is creating DepotserverBackend (BackendManager.py|224)
[6] Setting context to backend <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x932074c> (Backend.py|389)
[7] DepotserverBackend is creating instance methods (Backend.py|395)
[7] DepotserverBackend: overwriting method backend_exit of backend instance <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x96538ac> (Backend.py|405)
[7] DepotserverBackend: overwriting method backend_getInterface of backend instance <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x96538ac> (Backend.py|405)
[7] DepotserverBackend: overwriting method backend_getOptions of backend instance <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x96538ac> (Backend.py|405)
[7] DepotserverBackend: overwriting method backend_getSharedAlgorithm of backend instance <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x96538ac> (Backend.py|405)
[7] DepotserverBackend: overwriting method backend_info of backend instance <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x96538ac> (Backend.py|405)
[7] DepotserverBackend: overwriting method backend_setOptions of backend instance <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x96538ac> (Backend.py|405)
[7] ExtendedBackend <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x96538ac>: executing 'host_getObjects' on backend '<OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec>' (Backend.py|415)
[7] Dispatching method 'host_getObjects' to backends: [u'file', u'opsipxeconfd'] (BackendManager.py|406)
[7] Getting hosts ... (File.py|1284)
[7] Getting idents for 'OpsiDepotserver' with filter '{'id': u'opsi.moll-group.local'}' (File.py|402)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'opsi.moll-group.local' (Backend.py|189)
[7] Value 'opsi.moll-group.local' matched filter 'opsi.moll-group.local', attribute 'id' (Backend.py|237)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'opsi.moll-group.local' (Backend.py|189)
[7] Value 'opsi.moll-group.local' matched filter 'opsi.moll-group.local', attribute 'id' (Backend.py|237)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'opsi.moll-group.local' (Backend.py|189)
[7] Value 'opsi.moll-group.local' matched filter 'opsi.moll-group.local', attribute 'id' (Backend.py|237)
[7] Getting idents for 'OpsiConfigserver' with filter '{'id': u'opsi.moll-group.local'}' (File.py|402)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'opsi.moll-group.local' (Backend.py|189)
[7] Value 'opsi.moll-group.local' matched filter 'opsi.moll-group.local', attribute 'id' (Backend.py|237)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'opsi.moll-group.local' (Backend.py|189)
[7] Value 'opsi.moll-group.local' matched filter 'opsi.moll-group.local', attribute 'id' (Backend.py|237)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'opsi.moll-group.local' (Backend.py|189)
[7] Value 'opsi.moll-group.local' matched filter 'opsi.moll-group.local', attribute 'id' (Backend.py|237)
[7] Getting idents for 'OpsiClient' with filter '{'id': u'opsi.moll-group.local'}' (File.py|402)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800204.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800121.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800150.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800286.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800284.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800151.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800281.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800298.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800213.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800198.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800279.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800222.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800307.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800288.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800208.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800249.bioinsel.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800296.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800282.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800283.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800310.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800287.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800122.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800247.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800278.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800277.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800299.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800294.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800292.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800214.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800125.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800297.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800295.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800207.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800209.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800276.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'win7lenovo1.bioinsel.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800248.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800280.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'win7reboot.bioinsel.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800293.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800249.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclimavm0001.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800274.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800147.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800199.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800289.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800124.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800157.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800275.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'bio1000021.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'kav.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800149.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800290.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800206.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800309.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800197.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'bio1000020.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800308.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclimavm0002.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800291.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'del1.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800285.moll-group.local' (Backend.py|189)
[7] Testing match of filter 'opsi.moll-group.local' of attribute 'id' with value 'proclima0800148.moll-group.local' (Backend.py|189)
[7] Now using log-file '/var/log/opsi/package.log' for object 0x96dcf4c (Logger.py|401)
[6] * BackendManager is creating HostControlBackend (BackendManager.py|227)
[6] Setting context to backend <OPSI.Backend.HostControl.HostControlBackend instance at 0x966c16c> (Backend.py|389)
[7] HostControlBackend is creating instance methods (Backend.py|395)
[7] HostControlBackend: overwriting method backend_exit of backend instance <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x932074c> (Backend.py|405)
[7] HostControlBackend: overwriting method backend_getInterface of backend instance <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x932074c> (Backend.py|405)
[7] HostControlBackend: overwriting method backend_getOptions of backend instance <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x932074c> (Backend.py|405)
[7] HostControlBackend: overwriting method backend_getSharedAlgorithm of backend instance <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x932074c> (Backend.py|405)
[7] HostControlBackend: overwriting method backend_info of backend instance <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x932074c> (Backend.py|405)
[7] HostControlBackend: overwriting method backend_setOptions of backend instance <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x932074c> (Backend.py|405)
[6] * BackendManager is creating HostControlBackend (BackendManager.py|235)
[6] Setting context to backend <OPSI.Backend.HostControlSafe.HostControlSafeBackend instance at 0x96da44c> (Backend.py|389)
[7] HostControlSafeBackend is creating instance methods (Backend.py|395)
[7] HostControlSafeBackend: overwriting method backend_exit of backend instance <OPSI.Backend.HostControl.HostControlBackend instance at 0x966c16c> (Backend.py|405)
[7] HostControlSafeBackend: overwriting method backend_getInterface of backend instance <OPSI.Backend.HostControl.HostControlBackend instance at 0x966c16c> (Backend.py|405)
[7] HostControlSafeBackend: overwriting method backend_getOptions of backend instance <OPSI.Backend.HostControl.HostControlBackend instance at 0x966c16c> (Backend.py|405)
[7] HostControlSafeBackend: overwriting method backend_getSharedAlgorithm of backend instance <OPSI.Backend.HostControl.HostControlBackend instance at 0x966c16c> (Backend.py|405)
[7] HostControlSafeBackend: overwriting method backend_info of backend instance <OPSI.Backend.HostControl.HostControlBackend instance at 0x966c16c> (Backend.py|405)
[7] HostControlSafeBackend: overwriting method backend_setOptions of backend instance <OPSI.Backend.HostControl.HostControlBackend instance at 0x966c16c> (Backend.py|405)
[6] * BackendManager is creating BackendExtender (BackendManager.py|246)
[6] Setting context to backend <OPSI.Backend.BackendManager.BackendExtender instance at 0x96fceac> (Backend.py|389)
[7] BackendExtender is creating instance methods (Backend.py|395)
[7] BackendExtender: overwriting method backend_exit of backend instance <OPSI.Backend.HostControlSafe.HostControlSafeBackend instance at 0x96da44c> (Backend.py|405)
[7] BackendExtender: overwriting method backend_getInterface of backend instance <OPSI.Backend.HostControlSafe.HostControlSafeBackend instance at 0x96da44c> (Backend.py|405)
[7] BackendExtender: overwriting method backend_getOptions of backend instance <OPSI.Backend.HostControlSafe.HostControlSafeBackend instance at 0x96da44c> (Backend.py|405)
[7] BackendExtender: overwriting method backend_getSharedAlgorithm of backend instance <OPSI.Backend.HostControlSafe.HostControlSafeBackend instance at 0x96da44c> (Backend.py|405)
[7] BackendExtender: overwriting method backend_info of backend instance <OPSI.Backend.HostControlSafe.HostControlSafeBackend instance at 0x96da44c> (Backend.py|405)
[7] BackendExtender: overwriting method backend_setOptions of backend instance <OPSI.Backend.HostControlSafe.HostControlSafeBackend instance at 0x96da44c> (Backend.py|405)
[6] Reading config file '/etc/opsi/backendManager/extend.d/10_opsi.conf' (BackendManager.py|501)
[6] Reading config file '/etc/opsi/backendManager/extend.d/20_legacy.conf' (BackendManager.py|501)
[6] Reading config file '/etc/opsi/backendManager/extend.d/40_groupActions.conf' (BackendManager.py|501)
[6] Reading config file '/etc/opsi/backendManager/extend.d/70_dynamic_depot.conf' (BackendManager.py|501)
[7] BackendManager is creating instance methods (Backend.py|395)
[7] BackendManager: overwriting method backend_exit of backend instance <OPSI.Backend.BackendManager.BackendExtender instance at 0x96fceac> (Backend.py|405)
[7] BackendManager: overwriting method backend_getInterface of backend instance <OPSI.Backend.BackendManager.BackendExtender instance at 0x96fceac> (Backend.py|405)
[7] BackendManager: overwriting method backend_getOptions of backend instance <OPSI.Backend.BackendManager.BackendExtender instance at 0x96fceac> (Backend.py|405)
[7] BackendManager: overwriting method backend_getSharedAlgorithm of backend instance <OPSI.Backend.BackendManager.BackendExtender instance at 0x96fceac> (Backend.py|405)
[7] BackendManager: overwriting method backend_info of backend instance <OPSI.Backend.BackendManager.BackendExtender instance at 0x96fceac> (Backend.py|405)
[7] BackendManager: overwriting method backend_setOptions of backend instance <OPSI.Backend.BackendManager.BackendExtender instance at 0x96fceac> (Backend.py|405)
[6] arg[0]: method (opsi-admin|293)
[6] arg[1]: setProductActionRequestForHostGroup (opsi-admin|293)
[6] arg[2]: blubb (opsi-admin|293)
[6] arg[3]: ccup (opsi-admin|293)
[6] arg[4]: setup (opsi-admin|293)
[7] cmdline: 'method setProductActionRequestForHostGroup blubb ccup setup' (opsi-admin|308)
[6] Execute: method setProductActionRequestForHostGroup blubb ccup setup (opsi-admin|704)
[7] cmdline: method setProductActionRequestForHostGroup blubb ccup setup (opsi-admin|690)
[7] cmdline: method setProductActionRequestForHostGroup blubb ccup setup (opsi-admin|690)
[7] Not a json string 'blubb': No JSON object could be decoded (opsi-admin|1121)
[7] Not a json string 'ccup': No JSON object could be decoded (opsi-admin|1121)
[7] Not a json string 'setup': No JSON object could be decoded (opsi-admin|1121)
[6] Executing:  setProductActionRequestForHostGroup(u'blubb', u'ccup', u'setup') (opsi-admin|1132)
[7] ExtendedBackend <OPSI.Backend.BackendManager.BackendManager instance at 0x93206ac>: executing 'setProductActionRequestForHostGroup' on backend '<OPSI.Backend.BackendManager.BackendExtender instance at 0x96fceac>' (Backend.py|415)
[7] ExtendedBackend <OPSI.Backend.HostControlSafe.HostControlSafeBackend instance at 0x96da44c>: executing 'configState_getClientToDepotserver' on backend '<OPSI.Backend.HostControl.HostControlBackend instance at 0x966c16c>' (Backend.py|415)
[7] ExtendedBackend <OPSI.Backend.HostControl.HostControlBackend instance at 0x966c16c>: executing 'configState_getClientToDepotserver' on backend '<OPSI.Backend.Depotserver.DepotserverBackend instance at 0x932074c>' (Backend.py|415)
[7] ExtendedBackend <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x932074c>: executing 'configState_getClientToDepotserver' on backend '<OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x96538ac>' (Backend.py|415)
[2] Traceback: (Logger.py|754)
[2]      line 714 in 'execute' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      line 1139 in 'execute' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      line 1 in '<module>' in file '<string>' (Logger.py|754)
[2]      line 1 in 'setProductActionRequestForHostGroup' in file '<string>' (Logger.py|754)
[2]      line 417 in '_executeMethod' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|754)
[2]      line 5 in 'setProductActionRequestForHostGroup' in file '/etc/opsi/backendManager/extend.d/40_groupActions.conf' (Logger.py|754)
[2]      line 14 in '_getClientsOnDepotByHostGroup' in file '/etc/opsi/backendManager/extend.d/40_groupActions.conf' (Logger.py|754)
[2]      line 30 in '_getClientsOnDepots' in file '/etc/opsi/backendManager/extend.d/40_groupActions.conf' (Logger.py|754)
[2]      line 1 in 'configState_getClientToDepotserver' in file '<string>' (Logger.py|754)
[2]      line 417 in '_executeMethod' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|754)
[2]      line 1 in 'configState_getClientToDepotserver' in file '<string>' (Logger.py|754)
[2]      line 417 in '_executeMethod' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|754)
[2]      line 1 in 'configState_getClientToDepotserver' in file '<string>' (Logger.py|754)
[2]      line 417 in '_executeMethod' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|754)
[2]      line 2281 in 'configState_getClientToDepotserver' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|754)
[2]      line 240 in 'forceHostIdList' in file '/usr/lib/pymodules/python2.6/OPSI/Types.py' (Logger.py|754)
[2]      line 230 in 'forceFqdn' in file '/usr/lib/pymodules/python2.6/OPSI/Types.py' (Logger.py|754)
[2]      ==>>> Bad fqdn: 'blubb' (opsi-admin|716)
[3] Failed to execute 'method setProductActionRequestForHostGroup blubb ccup setup': Bad fqdn: 'blubb' (opsi-admin|717)
[2] Traceback: (Logger.py|754)
[2]      line 329 in 'main' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      line 718 in 'execute' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      ==>>> Failed to execute 'method setProductActionRequestForHostGroup blubb ccup setup': Bad fqdn: 'blubb' (opsi-admin|336)
[7] Calling backend_exit() on backend <OPSI.Backend.BackendManager.BackendExtender instance at 0x96fceac> (Backend.py|437)
[7] Calling backend_exit() on backend <OPSI.Backend.HostControlSafe.HostControlSafeBackend instance at 0x96da44c> (Backend.py|437)
[7] Calling backend_exit() on backend <OPSI.Backend.HostControl.HostControlBackend instance at 0x966c16c> (Backend.py|437)
[7] Calling backend_exit() on backend <OPSI.Backend.Depotserver.DepotserverBackend instance at 0x932074c> (Backend.py|437)
[7] Calling backend_exit() on backend <OPSI.Backend.Backend.ExtendedConfigDataBackend instance at 0x96538ac> (Backend.py|437)
[7] Calling backend_exit() on backend <OPSI.Backend.BackendManager.BackendDispatcher instance at 0x93206ec> (Backend.py|437)
[2] Traceback: (Logger.py|754)
[2]      line 1637 in '<module>' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      line 329 in 'main' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      line 718 in 'execute' in file '/usr/bin/opsi-admin' (Logger.py|754)
[2]      ==>>> Failed to execute 'method setProductActionRequestForHostGroup blubb ccup setup': Bad fqdn: 'blubb' (opsi-admin|1647)
Antworten