Mac user agent not generating UUID

Bug #1216935 reported by Daniel Rich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OCS Inventory: Unified Unix Agent
Fix Released
Medium
mortheres

Bug Description

None of the (few) Mac OS X systems we have in OCS Inventory are showing a UUID in the database. Since we use this for duplication detection, this means that we are getting duplicate entries for every Mac over time.

Here is what I currently see in the hardware table when I look for OS X:

+-----------------+----------+----------------+------+-----------------------------------+------+
| name | osname | osversion | type | useragent | uuid |
+-----------------+----------+----------------+------+-----------------------------------+------+
| goldencrab | Mac OS X | 10.7.5 (11G63) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| grove | Mac OS X | 10.7.2 (11C74) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| julyred | Mac OS X | 10.7.5 (11G56) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| macbronze | OS X | 10.8.4 (12E55) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| macdream | OS X | 10.8.3 (12D78) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| macduck | OS X | 10.8.4 (12E55) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| macfast | OS X | 10.8.4 (12E55) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| macfast | OS X | 10.8.4 (12E55) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| macfast | OS X | 10.8.4 (12E55) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| macfast | OS X | 10.8.4 (12E55) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| macgold | OS X | 10.8.4 (12E55) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| macjeep | OS X | 10.8.4 (12E55) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| macmustang | OS X | 10.8.4 (12E55) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| macnova | OS X | 10.8.4 (12E55) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| macnova | OS X | 10.8.3 (12D78) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| macspeedy | OS X | 10.8.4 (12E55) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| macvan | OS X | 10.8.4 (12E55) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| princess | Mac OS X | 10.7.5 (11G56) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| sandman | Mac OS X | 10.7.5 (11G63) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| sandman | Mac OS X | 10.7.5 (11G63) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| sunset | Mac OS X | 10.7.2 (11C74) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
| systems-macbook | Mac OS X | 10.7.5 (11G63) | 0 | OCS-NG_unified_unix_agent_v2.0.3 | NULL |
| York | Mac OS X | 10.7.5 (11G56) | 0 | OCS-NG_unified_unix_agent_v2.1rc1 | NULL |
+-----------------+----------+----------------+------+-----------------------------------+------+
23 rows in set (0.01 sec)

Tags: mac
Frank (frank-bourdeau)
Changed in ocsinventory-unix-agent:
assignee: nobody → mortheres (mortheres)
importance: Undecided → Medium
Revision history for this message
mortheres (mortheres) wrote :

Hi,

Thanks a lot for your report. Bug has been fixed in release 1168 of the ocsinventory-unix-agent/stable-2.1 branch: http://bazaar.launchpad.net/~ocsinventory-dev/ocsinventory-unix-agent/stable-2.1/revision/1168 .

You can test it by replacing /Applications/OCSNG.app/Contents/Resources/lib/Ocsinventory/Agent/Backend/OS/MacOS.pm file by the one from this revision.

The fix will be released in final OCS 2.1 release :D :D.

Kind regards,

--
Guillaume

mortheres (mortheres)
Changed in ocsinventory-unix-agent:
status: New → Fix Committed
milestone: none → 2.1
Frank (frank-bourdeau)
Changed in ocsinventory-unix-agent:
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.