Argonaut find always 2 computers with same Mac / IP ( was : cannot use OPSI plugins with argonaut server in order to setup OPSI profil)
Description
FD and argonaut server are installed from git and are successfully working with dns system. I setup an opsi server listening without ssl on the correct port When I tried to fetch opsi product I got the following error on argonaut-server.log
Nov 16 19:18:10 [NOTICE] Several computers matches (macAddress=08:00:27:72:da:55).
Nov 16 19:18:10 [INFO] sending action Argonaut.ClientDaemon.Modules.OPSI.get_netboots to 10.0.2.11
Nov 16 19:18:10 [ERROR] Error : No such a method : 'Argonaut.ClientDaemon.Modules.OPSI.get_netboots'.
2020/11/16 19:18:10 App::Daemon die handler triggered.
2020/11/16 19:18:10 Die handler called by eval. Ignored.
Nov 16 19:18:10 [DEBUG] Setting task error 'Error : No such a method : 'Argonaut.ClientDaemon.Modules.OPSI.get_netboots'.
' for task '0'
Nov 16 19:18:10 [DEBUG] deleting task
Server are setup with an network interface (mandatory for argonaut)
Distribution Name and Version
Debian 10
Argonaut Version
1.4-dev from git
PERL version used
v5.28.1 from Debian 10
Steps to Reproduce
- Fusion is installed from Git
- Argonaut is install from git (see install-argonaut.txt)
- opsi server is declared setup ( see opsi-server.txt to see the ldif )
Expected behavior:
I should be able to fetch all netboot and local producte from opsi server in order to create some software profile
Actual behavior:
Erreur occurs when trying tu communicate to the opsi server trough argonaut server
Error : No such a method : 'Argonaut.ClientDaemon.Modules.OPSI.get_netboots
Reproduces how often: 100%
Additional Information
After some search argonaut failed because it didn't only one computer with the correct Mac address, but 2 : the server himself and the network card assign to the server. I tried to restrict trough ldap request to request only server ( see argonau-common.pm.patch)
It seems to works, only one draw back : an error occurs when I try to "ping" aka check if host is alive with argonaut
Did not get DONE/CLOSE event for Wheel ID 11 from IP ::ffff:10.0.2.4 at /usr/share/perl5/POE/Component/Server/SimpleHTTP.pm line 226.
Cannot remove /var/run/argonaut/argonaut-server.pid at /usr/share/perl5/App/Daemon.pm line 212.
encountered object '1', but neither allow_blessed, convert_blessed nor allow_tags settings are enabled (or TO_JSON/FREEZE method missing) at /usr/share/perl5/POE/Component/Server/JSONRPC.pm line 223.
but I was able to restart start/stop service trough service tabs of the server