[Reconciliation] How to restrict field update to a specific Data Source ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2017 02:01 AM
Hi all,
We're trying to set up a reconciliation rule to make the data source "ImportSet" updates only 1 field in the cmdb_ci_computer, so we created the following record the reconciliation rule table:
We also updated the transform map to make it go through Identification and Reconciliation rules (we put an onBefore script that calls the CMDBTransformUtil API ).
The identification works fine but not the reconciliation.
Indeed, some other fields still getting updated even if we've set ONLY the field Name in the Reconciliation rule for the Data Source ImportSet, it sounds like the reconciliation is not enabled...
We thought that, as explained in the wiki, it should prevent the data source ImportSet to update the other fields. Are we wrong ?
Thank you in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2017 05:19 AM
We thought that, as explained in the wiki, it should prevent the data source ImportSet to update the other fields. Are we wrong ?
My understanding is that if no rule exists, then no barrier exists. Hence your rule locks out any other data source for the "name" attribute, but there's nothing preventing import sets from touching other fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2017 06:16 AM
Thank you Dave.
Then, how can we prevent updating the other fields ?
We added another rule to restrict the fields OS Version to ServiceWatch data source, but the field still updated by the ImportSet data source.
Don't you think it's a bug ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2017 06:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2017 10:37 AM
Er.. yeah, that's not what I expected. According to that information, Import sets should be prevented from updating os_version.
Are there any other rules, mainly on parent tables? Have you checked the logs to see if the recon engine is logging any messages?