Menu

OCS Synchro Replica Error - Cant Create-Update Object

2024-09-19
2024-10-08
  • Taste-of-It

    Taste-of-It - 2024-09-19

    Hi,
    i test iTop (3.11.1) and latest OCS Inventory Integration. So far its working and i think i understand the configuration. For a test i have one virtual Machine in OCS and i want to send the Data over the DataCollector to iTop.
    I configure in the Data Collectors params.local.xml the value for "default_org_id" to 3. In iTop i got as data synchro source "OCSng:VirtualMachine" which has Virtual Machine as target class. The attribute org_id has as reconcilation key "name".

    The data files tmp-OCSVirtualMachineCollector-itop.txt, tmp-OCSVirtualMachineCollector-orig.txt and the .csv are writen and seems to be ok.

    In iTop i got this error under Synchro Data Source now:

    Unable to create destination object: Unexpected value for attribute 'Organization' (org_id) : Null not allowed: issues = {0=>Unexpected value for attribute 'Organization' (org_id) : Null not allowed}, class = VirtualMachine, id = -1
    

    Any idea where to look and solve this?
    thanks

     
  • Taste-of-It

    Taste-of-It - 2024-09-20

    Push

     
  • Taste-of-It

    Taste-of-It - 2024-09-30

    Push

     
  • Erwan Taloc

    Erwan Taloc - 2024-10-02

    Hello

    by default the mapping s done via the organization name even if the parameter is called org_id
    you should set the default_org_id to the name corresponding to 3 and this should fix the issue

    Cheers

     
  • Taste-of-It

    Taste-of-It - 2024-10-08

    Thanks that fixed it. The name of the parameter was missleading :).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.