Details
-
Type:
Bug
-
Status:
Reopened
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.10.0
-
Fix Version/s: 1.10.10
-
Component/s: Provisioning/Discovery/Capsd/Provisiond
-
Security Level: Default (Default Security Scheme)
-
Labels:
-
Environment:CentOS 5.7 64-bit
Oracle JDK 7u1 64-bit
Description
(Bug updated from the original submission - I can now reproduce this at will with a simpler test case without involving DNS import)
Here is my concept:
- Define a provisioning group/foreign source with associated policies that place imported nodes into categories
- Use the requisition to provision additional categories on some nodes as appropriate
Here's what's happening:
- I build the provisioning group, and define policies for category membership
- I import the nodes
- Everything looks OK, categories appear fine once the very first nodeScanCompleted event hits
- (BUG) At some later point, generally after adding some more nodes, all my policy-defined categories disappear
- (BUG) Editing the policy and/or manually synchronizing the group does not bring the categories back
Attached is a detailed set of evidence proving that the problem exists in my environment even after all provisioning has completed. (In an earlier discussion with Matt in the comments on my initial submission of this bug, I thought this might have been related to me simply not waiting for the nodeScanCompleted event, but the evidence disproves this.)
Here is my concept:
- Define a provisioning group/foreign source with associated policies that place imported nodes into categories
- Use the requisition to provision additional categories on some nodes as appropriate
Here's what's happening:
- I build the provisioning group, and define policies for category membership
- I import the nodes
- Everything looks OK, categories appear fine once the very first nodeScanCompleted event hits
- (BUG) At some later point, generally after adding some more nodes, all my policy-defined categories disappear
- (BUG) Editing the policy and/or manually synchronizing the group does not bring the categories back
Attached is a detailed set of evidence proving that the problem exists in my environment even after all provisioning has completed. (In an earlier discussion with Matt in the comments on my initial submission of this bug, I thought this might have been related to me simply not waiting for the nodeScanCompleted event, but the evidence disproves this.)
I looked recently at a bug similar to this and found that applying policies worked fine to add nodes to categories. However, it should be noted that the policies are applied during the 'scan' phase rather than during the 'import' phase so group membership may be delayed since it has to finish scanning.
Can you verify that you are not just looking 'too soon' and that the categories are added later?