Keine Clients im Zeitplaner

Moderator: pandel

edvtechniker
Beiträge: 7
Registriert: 29 Jun 2018, 12:05

Keine Clients im Zeitplaner

Beitrag von edvtechniker »

Hallo zusammen,

ich habe einen frischen Opsi 4.1 auf einem neuen Ubuntu 16.04 Server installiert.
Die Client PCs wurden hinzugefügt und über die Configed-Weboberfläche sieht alles gut aus.
Leider bekomme ich im OPB im Zeitplaner keine Clients angezeigt. Die Produkte werden allerdings angezeigt.

Im Log sehe ich keinen Fehler.

Code: Alles auswählen

[2018-06-29 12:11:57 PM] - oPB.core.processing.OpsiProcessing            -      SSH - --------------------ACTION: GET AT JOBS--------------------
[2018-06-29 12:11:57 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Processing action...
[2018-06-29 12:11:57 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Establishing ssh shell via user/password authorization
[2018-06-29 12:11:57 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Server IP: 192.168.1.250
[2018-06-29 12:11:57 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Port no: 22
[2018-06-29 12:11:57 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Username: adminuser
[2018-06-29 12:11:57 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Trying to execute command: atq -q D
[2018-06-29 12:11:57 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Start SSH shell with full environment update / no pseudo TTY
[2018-06-29 12:11:58 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Return code from external command: 0
[2018-06-29 12:11:58 PM] - oPB.controller.main.MainWindowController      -    DEBUG - Exitcode after job processing: 0
[2018-06-29 12:11:58 PM] - oPB.gui.mainwindow.MainWindow                 -    DEBUG - Set button state
[2018-06-29 12:11:59 PM] - oPB.gui.splash.Splash                         -    DEBUG - Hide splash
[2018-06-29 12:11:59 PM] - oPB.gui.splash.Splash                         -    DEBUG - Hide splash
[2018-06-29 12:11:59 PM] - oPB.controller.main.MainWindowController      -    DEBUG - Update table model data: model_jobs
[2018-06-29 12:11:59 PM] - oPB.gui.splash.Splash                         -    DEBUG - Hide splash
[2018-06-29 12:11:59 PM] - oPB.gui.startup.StartupDialog                 -    DEBUG - Temporarily hide startup window
[2018-06-29 12:12:01 PM] - oPB.gui.scheduler.JobCreatorDialog            -    DEBUG - Show job creator dialog
[2018-06-29 12:12:01 PM] - oPB.gui.splash.Splash                         -    DEBUG - Show splash, parent: <oPB.gui.scheduler.JobCreatorDialog object at 0x0000000006DE7EE8>
[2018-06-29 12:12:01 PM] - oPB.gui.splash.Splash                         -    DEBUG - Show splash, parent: <oPB.gui.scheduler.JobCreatorDialog object at 0x0000000006DE7EE8>
[2018-06-29 12:12:01 PM] - oPB.controller.components.scheduler.SchedulerComponent -    DEBUG - Update model data: clients
[2018-06-29 12:12:01 PM] - oPB.controller.main.MainWindowController      -    DEBUG - Dispatch job
[2018-06-29 12:12:01 PM] - oPB.gui.splash.Splash                         -    DEBUG - Show splash, parent: <oPB.gui.mainwindow.MainWindow object at 0x0000000004EFACA8>
[2018-06-29 12:12:01 PM] - oPB.gui.splash.Splash                         -    DEBUG - Show splash, parent: <oPB.gui.settings.SettingsDialog object at 0x0000000004F6A168>
[2018-06-29 12:12:01 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Executing action: OpEnum.DO_GETCLIENTS
[2018-06-29 12:12:01 PM] - oPB.core.processing.OpsiProcessing            -      SSH - --------------------ACTION: GET CLIENTS--------------------
[2018-06-29 12:12:01 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Processing action...
[2018-06-29 12:12:01 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Establishing ssh shell via user/password authorization
[2018-06-29 12:12:01 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Server IP: 192.168.1.250
[2018-06-29 12:12:02 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Port no: 22
[2018-06-29 12:12:02 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Username: adminuser
[2018-06-29 12:12:02 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Trying to execute command: opsi-***SECRET*** -d method host_getHashes '[]' '{"type":"OpsiClient"}'
[2018-06-29 12:12:02 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Start SSH shell with full environment update / no pseudo TTY / no stdout hook
[2018-06-29 12:12:03 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Return code from external command: 0
[2018-06-29 12:12:03 PM] - oPB.controller.main.MainWindowController      -    DEBUG - Exitcode after job processing: 0
[2018-06-29 12:12:04 PM] - oPB.gui.mainwindow.MainWindow                 -    DEBUG - Set button state
[2018-06-29 12:12:04 PM] - oPB.gui.splash.Splash                         -    DEBUG - Hide splash
[2018-06-29 12:12:04 PM] - oPB.gui.splash.Splash                         -    DEBUG - Hide splash
[2018-06-29 12:12:04 PM] - oPB.controller.main.MainWindowController      -    DEBUG - Dispatch job
[2018-06-29 12:12:04 PM] - oPB.gui.splash.Splash                         -    DEBUG - Show splash, parent: <oPB.gui.mainwindow.MainWindow object at 0x0000000004EFACA8>
[2018-06-29 12:12:04 PM] - oPB.gui.splash.Splash                         -    DEBUG - Show splash, parent: <oPB.gui.settings.SettingsDialog object at 0x0000000004F6A168>
[2018-06-29 12:12:04 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Executing action: OpEnum.DO_GETGROUPS
[2018-06-29 12:12:04 PM] - oPB.core.processing.OpsiProcessing            -      SSH - --------------------ACTION: GET GROUPS--------------------
[2018-06-29 12:12:04 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Processing action...
[2018-06-29 12:12:04 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Establishing ssh shell via user/password authorization
[2018-06-29 12:12:04 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Server IP: 192.168.1.250
[2018-06-29 12:12:04 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Port no: 22
[2018-06-29 12:12:04 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Username: adminuser
[2018-06-29 12:12:04 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Trying to execute command: opsi-***SECRET*** -r -d method group_getHashes
[2018-06-29 12:12:04 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Start SSH shell with full environment update / no pseudo TTY
[2018-06-29 12:12:06 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Return code from external command: 0
[2018-06-29 12:12:06 PM] - oPB.controller.main.MainWindowController      -    DEBUG - Exitcode after job processing: 0
[2018-06-29 12:12:06 PM] - oPB.gui.mainwindow.MainWindow                 -    DEBUG - Set button state
[2018-06-29 12:12:06 PM] - oPB.gui.splash.Splash                         -    DEBUG - Hide splash
[2018-06-29 12:12:06 PM] - oPB.gui.splash.Splash                         -    DEBUG - Hide splash
[2018-06-29 12:12:06 PM] - oPB.controller.main.MainWindowController      -    DEBUG - Dispatch job
[2018-06-29 12:12:06 PM] - oPB.gui.splash.Splash                         -    DEBUG - Show splash, parent: <oPB.gui.mainwindow.MainWindow object at 0x0000000004EFACA8>
[2018-06-29 12:12:06 PM] - oPB.gui.splash.Splash                         -    DEBUG - Show splash, parent: <oPB.gui.settings.SettingsDialog object at 0x0000000004F6A168>
[2018-06-29 12:12:06 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Executing action: OpEnum.DO_GETCLIENTGROUPS
[2018-06-29 12:12:06 PM] - oPB.core.processing.OpsiProcessing            -      SSH - --------------------ACTION: GET CLIENTGROUPS--------------------
[2018-06-29 12:12:06 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Processing action...
[2018-06-29 12:12:06 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Establishing ssh shell via user/password authorization
[2018-06-29 12:12:06 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Server IP: 192.168.1.250
[2018-06-29 12:12:06 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Port no: 22
[2018-06-29 12:12:06 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Username: adminuser
[2018-06-29 12:12:07 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Trying to execute command: opsi-***SECRET*** -r -d method objectToGroup_getHashes '[]' '{"groupType":"HostGroup"}'
[2018-06-29 12:12:07 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Start SSH shell with full environment update / no pseudo TTY
[2018-06-29 12:12:08 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Return code from external command: 0
[2018-06-29 12:12:08 PM] - oPB.controller.main.MainWindowController      -    DEBUG - Exitcode after job processing: 0
[2018-06-29 12:12:08 PM] - oPB.gui.mainwindow.MainWindow                 -    DEBUG - Set button state
[2018-06-29 12:12:08 PM] - oPB.gui.splash.Splash                         -    DEBUG - Hide splash
[2018-06-29 12:12:08 PM] - oPB.gui.splash.Splash                         -    DEBUG - Hide splash
[2018-06-29 12:12:09 PM] - oPB.controller.components.scheduler.SchedulerComponent -    DEBUG - Create client treeview model
[2018-06-29 12:12:09 PM] - oPB.controller.components.scheduler.SchedulerComponent -    DEBUG - Create client treeview model
[2018-06-29 12:12:09 PM] - oPB.controller.components.scheduler.SchedulerComponent -    DEBUG - Update model data: products
[2018-06-29 12:12:09 PM] - oPB.controller.main.MainWindowController      -    DEBUG - Dispatch job
[2018-06-29 12:12:09 PM] - oPB.gui.splash.Splash                         -    DEBUG - Show splash, parent: <oPB.gui.mainwindow.MainWindow object at 0x0000000004EFACA8>
[2018-06-29 12:12:09 PM] - oPB.gui.splash.Splash                         -    DEBUG - Show splash, parent: <oPB.gui.settings.SettingsDialog object at 0x0000000004F6A168>
[2018-06-29 12:12:09 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Executing action: OpEnum.DO_GETPRODUCTS
[2018-06-29 12:12:09 PM] - oPB.core.processing.OpsiProcessing            -      SSH - --------------------ACTION: GET PRODUCTS--------------------
[2018-06-29 12:12:09 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Processing action...
[2018-06-29 12:12:09 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Establishing ssh shell via user/password authorization
[2018-06-29 12:12:09 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Server IP: 192.168.1.250
[2018-06-29 12:12:09 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Port no: 22
[2018-06-29 12:12:09 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Username: adminuser
[2018-06-29 12:12:09 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Trying to execute command: opsi-***SECRET*** -r -d method product_getHashes
[2018-06-29 12:12:09 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Start SSH shell with full environment update / no pseudo TTY / no stdout hook
[2018-06-29 12:12:17 PM] - oPB.core.processing.OpsiProcessing            -  SSHINFO - Return code from external command: 0
[2018-06-29 12:12:17 PM] - oPB.controller.main.MainWindowController      -    DEBUG - Exitcode after job processing: 0
[2018-06-29 12:12:17 PM] - oPB.gui.mainwindow.MainWindow                 -    DEBUG - Set button state
[2018-06-29 12:12:17 PM] - oPB.gui.splash.Splash                         -    DEBUG - Hide splash
[2018-06-29 12:12:17 PM] - oPB.gui.splash.Splash                         -    DEBUG - Hide splash
[2018-06-29 12:12:17 PM] - oPB.controller.main.MainWindowController      -    DEBUG - Update table model data: model_products
[2018-06-29 12:12:17 PM] - oPB.gui.splash.Splash                         -    DEBUG - Hide splash
[2018-06-29 12:12:51 PM] - oPB.gui.splash.Splash                         -    DEBUG - Show splash, parent: <oPB.gui.scheduler.JobListDialog object at 0x0000000006DF9168>
[2018-06-29 12:12:51 PM] - oPB.gui.splash.Splash                         -    DEBUG - Show splash, parent: <oPB.gui.scheduler.JobListDialog object at 0x0000000006DF9168>
[2018-06-29 12:12:51 PM] - oPB.controller.components.scheduler.SchedulerComponent -    DEBUG - Update model data: jobs
[2018-06-29 12:12:51 PM] - oPB.controller.main.MainWindowController      -    DEBUG - Dispatch job
[2018-06-29 12:12:51 PM] - oPB.gui.splash.Splash                         -    DEBUG - Show splash, parent: <oPB.gui.mainwindow.MainWindow object at 0x0000000004EFACA8>
[2018-06-29 12:12:51 PM] - oPB.gui.splash.Splash                         -    DEBUG - Show splash, parent: <oPB.gui.settings.SettingsDialog object at 0x0000000004F6A168>
[2018-06-29 12:12:51 PM] - oPB.core.processing.OpsiProcessing            -    DEBUG - Executing action: OpEnum.DO_GETATJOBS
Ich bin für jede Hilfe dankbar!

Grüße
Uli
pandel
Beiträge: 830
Registriert: 25 Jan 2013, 16:47

Re: Keine Clients im Zeitplaner

Beitrag von pandel »

Hey sorry, bin derzeit im Urlaub und habe keinen Zugriff auf Rechner oder ähnliches... kann mich erst ab dem 15. wieder um irgendwas kümmern... Gruß Holger
edvtechniker
Beiträge: 7
Registriert: 29 Jun 2018, 12:05

Re: Keine Clients im Zeitplaner

Beitrag von edvtechniker »

Danke für die Info. Ich kann warten ;)

Schönen Urlaub noch,
Uli
edvtechniker
Beiträge: 7
Registriert: 29 Jun 2018, 12:05

Re: Keine Clients im Zeitplaner

Beitrag von edvtechniker »

Hallo nochmal,

leider habe ich noch keine Lösung gefunden.
Inzwischen habe ich auf einem anderen Server die aktuelle fertige VM von OPSI unter vmware installiert. Auch dort wird im Zeitplaner meines OPB kein Client angezeigt. Der Rest ist OK.
Bin ich der einzige mit dem Problem?

Falls jemand eine Idee zur Problemlösung hat, gerne her damit :D

Viele Grüße
Uli
pandel
Beiträge: 830
Registriert: 25 Jan 2013, 16:47

Re: Keine Clients im Zeitplaner

Beitrag von pandel »

Hi Uli!

So, ausm Urlaub zurück, frisch ans Werk und ungläubiges Staunen: bei mir werden Clients nachwievor angezeigt. oPB Version 8.3.0, Server ist opsi 4.1 VM, in den Einstellungen vom oPB ist das auch passend ausgewählt. Und technisch hat sich an der Art, wie Clients usw. ermittelt werden, nichts geändert.

Was passiert, wenn du dich via SSH auf dem opsi Server mit im oPB hinterlegte User anmeldest und folgenden Befehl ausführst:

Code: Alles auswählen

opsi-admin -d method host_getHashes '[]' '{"type":"OpsiClient"}'
Da müsste er eine Clientliste ausspucken...

Lieber Gruß
Holger
edvtechniker
Beiträge: 7
Registriert: 29 Jun 2018, 12:05

Re: Keine Clients im Zeitplaner

Beitrag von edvtechniker »

Hallo Holger,

ich nutze auch die oPB Version 8.3.0 bei den beiden betroffenen Servern.
Mit dem Befehl von Dir wird die Clientliste ausgespuckt.
Warum wohl nicht im Zeitplaner??? :?

Viele Grüße
Uli
pandel
Beiträge: 830
Registriert: 25 Jan 2013, 16:47

Re: Keine Clients im Zeitplaner

Beitrag von pandel »

Hi Uli!

Ich habe da so eine Vermutung. Wir haben unterhalb des Zweigs "DIRECTORY" (wenn du dir die Clientliste im configed anschaust), Untergruppen angelegt und die Clients da drin. Damit läufts. Rein zufällig habe ich drei Clients, die nicht in eine Grupe einsortiert sind. Die werden im configed unter "NICHT ZUGEWIESEN" einsortiert. Diese Clients tauchen auch bei mir nicht auf. Ich muss mir mal ansehen, was da genau via JSON rüberkommt. Ggf. werden die beim Auflisten irgendwie übersprungen. Wenn das so sein sollte und wenn du keine Gruppen hast (ist ja auch prinzipiell nicht nötig), dann ist mir auch klar, wieso du nix siehst

Ich bleib dran!

Lieber Gruß
Holger
pandel
Beiträge: 830
Registriert: 25 Jan 2013, 16:47

Re: Keine Clients im Zeitplaner

Beitrag von pandel »

So. Analyse abgeschlossen. Wenn deine Clients alle unter "NICHT ZUGEWIESEN" stehen, werden sie nicht angezeigt. Doof, ist aber so. Um das abzufangen muss ich eine umfangreiche Änderung durchführen. Ich werde mir das auf jeden Fall auf die Todo Liste setzen, kann aber nicht sagen, wann ich dazu komme. Ist nämlich wirklich nicht ohne...

Siehe auch: viewtopic.php?f=7&t=10445
pandel
Beiträge: 830
Registriert: 25 Jan 2013, 16:47

Re: Keine Clients im Zeitplaner

Beitrag von pandel »

Fehler gefixt :ugeek: :mrgreen: :twisted: - Release kommt.
pandel
Beiträge: 830
Registriert: 25 Jan 2013, 16:47

Re: Keine Clients im Zeitplaner

Beitrag von pandel »

Neue Version 8.3.2 online - bitte probier es mal damit!
Antworten