Skip to content

Timeout (or other errors) #1053

@EC2311

Description

@EC2311

Bug reporting acknowledgment

Yes, I read it

Professional support

None

Describe the bug

Sometimes, a timeout (or other error) may appear in log of agent.

The status of the inventory doesn't take care of error during inventory

-> and so : we think that inventory is complete, but it is not.

To reproduce

Do an inventory with timeout (on software for instance, but it can be other task)

The task may be either there, but not complete or maybe absent totally.

Expected behavior

There should be an information in the file (like partial = true) with the status of completion of inventory :
Partial = True (the same behaviour as actual, linked to postpone)
Inventory : Complete/Partial (new one linked to any error (timeout or other errors)) to inform that there is an inventory, but not full (an error happened)

Operating system

Windows

GLPI Agent version

v1.15

GLPI version

10.0.18

GLPIInventory plugin or other plugin version

GLPI Inventory v1.5.3

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions