Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.8.1
-
Fix Version/s: 1.9.91
-
Component/s: Provisioning/Discovery/Capsd/Provisiond
-
Security Level: Default (Default Security Scheme)
-
Labels:None
-
Environment:Operating System: All
Platform: PC
-
Bugzilla Id:4012
Description
If I create a provision group with one node, and IP interface, and some services on that interface; but with a policy to not persist any IP address from this node, the expected behavior is that only the node and interfaces from the requisition should be added.
The policy looks like this:
<policy class="org.opennms.netmgt.provision.persist.policies.MatchingIpInterfacePolicy" name="noIPs">
<parameter value="DO_NOT_PERSIST" key="action"/>
<parameter value="NO_PARAMETERS" key="matchBehavior"/>
</policy>
After execute the import. The main address is added as expected, but after a couple of seconds, this address is removed by the policy. This should not happen.
The policy looks like this:
<policy class="org.opennms.netmgt.provision.persist.policies.MatchingIpInterfacePolicy" name="noIPs">
<parameter value="DO_NOT_PERSIST" key="action"/>
<parameter value="NO_PARAMETERS" key="matchBehavior"/>
</policy>
After execute the import. The main address is added as expected, but after a couple of seconds, this address is removed by the policy. This should not happen.
I've set this bug to critical for moving from 1.6 to 1.8 requires this feature to work as described in this bug.