CHECKSUM in hardware table doesn't mark network changes

Bug #1191791 reported by Zelimir
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OCS Inventory: Server
Fix Released
Medium
mortheres

Bug Description

In hardware table a checksum is generated when changes occur. Exploring the code, I guess that depending on what has changed 18 bits can be positionned, and that the 13th bit should be set to 1 when a network change occurs. So the value of the checksum should be 13369 in that case.
In fact when a client's IP address changes, this value is not set. Tested with Windows agent 2.0.5. It's OK with unix agent.

Zelimir (micalvas)
description: updated
Zelimir (micalvas)
summary: CHECKSUM in hardware table doesn't mark network changes in OCS server
- 2.0.5
+ and agent 2.0.5
description: updated
summary: - CHECKSUM in hardware table doesn't mark network changes in OCS server
- and agent 2.0.5
+ CHECKSUM in hardware table doesn't mark network changes
affects: ocsinventory-server → ocsinventory-windows-agent
Revision history for this message
mortheres (mortheres) wrote :

Hi,

Thanks a lot for your report. I think the problem is due to OCS server and not OCS Windows agent. The bug comes from the NOTIFY mode that directly send new IP address to OCS server when it changes in real time and OCS server does not update CHECKSUM in hardware table :( :(.

I will solve the bug and let you know when it it will be fixed.

Kind regards.

Guillaume

affects: ocsinventory-windows-agent → ocsinventory-server
Changed in ocsinventory-server:
importance: Undecided → Medium
assignee: nobody → mortheres (mortheres)
milestone: none → 2.1
Revision history for this message
Zelimir (micalvas) wrote :

Hello,
Thanks for your reply. I first thought it was a server side problem too, but it seems to work with Unix clients. Does it means that server process data from windows agents differently than from Unix ones ?
Regards.

Revision history for this message
Didier Liroulet (dliroulet) wrote :

Hi,

Yes, there is a feature in Windows agent not implemented into unix agent.

Windows agent monitor every minutes if there is any changes on network config, and if it detects a change, it send a NOTIFY frame with only network config changes.

This feature was implemented because most of mobile computers runs Windows, and it allow to handle DHCP events on different networks.

Regards

Revision history for this message
mortheres (mortheres) wrote :

Hi,

Bug have been fixed in revision 712 of the stable-2.1 branch: http://bazaar.launchpad.net/~ocsinventory-dev/ocsinventory-server/stable-2.1/revision/712

It will be released in OCS 2.1 release :) :).

Kind regards,

Guillaume

Changed in ocsinventory-server:
status: New → Fix Committed
mortheres (mortheres)
Changed in ocsinventory-server:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.