I ran into an Inventory issue today. I don't know what is the expected behavior - I
hope what I saw isn't expected :)
I ran the agent and it added everything in inventory successfully.
I then shutdown the agent, added a new resource configuration property definition to a
resource in the agent configuration, then re-ran the agent.
The agent successfully found and attempted to add the new resource configuration property
via the inventory bulk/ API, but inventory never stored it. When I look in inventory, I do
not see my new resource configuration property attached to the already existing resource.
The resource config props that were on the resource originally are still there, but the
new one was never added.
The agent builds the bulk payload in its AsyncInventoryStorage class - specifically, you
can see adding the resource config props here:
https://github.com/hawkular/hawkular-agent/blob/master/hawkular-wildfly-a...
What is wrong?