Closed dani closed 2 years ago
Hi @dani
did you test with a GLPI Agent ? If the problem is also present in GLPI agent, I'will be able to quickly fix it in the agent.
It's also possible to define it as not required. I have no idea if it should be always present or not.
Haven't tried with the GLPI Agent yet. My goal is to first have all my inventories up and running again with my existing FusionInventory agents. Then I'll see if I can deploy GLPI Agent
I also think vmtype shouldn't be required, as the new integrated inventory is supposed to be a drop-in replacement for FusionInventory plugin
Code of Conduct
Is there an existing issue for this?
Version
10.0.1
Bug description
Some of my servers are running Proxmox VE, with FusionInventory Agent (version 2.4 or 2.6). When VM are running, they are added in the inventory like this
Note : there's not VMTYPE property. GLPI refuses such an inventory because of this missing property, as vmtype is defined in the schema as mandatory. FusionInventory plugin for GLPI used to accept those.
Relevant log output
No response
Page URL
No response
Steps To reproduce
inv_without_vmtype.xml.txt
Attached is a sample inventory. You can reproduce the issue by trying to import it in GLPI from the interface in Administration -> Inventory -> Import from file
Note : the error message is empty, which made debuging a bit harder. I had to comment lines 205 and 206 from src/Inventory/Conf.php to get the error displayed. Without commenting them, I had
in php-errors.log
Your GLPI setup information
Informations sur le système, l'installation et la configuration
Server
GLPI constants
Libraries
LDAP directories
SQL replicas
Notifications
Plugins list
Anything else?
No response