Use intersection of added vs deleted nodes instead of just deleted ones
There are cases when nailgun can send us data where there are nodes
included into list of added nodes and deleted ones. As a result, puppet
manifests failed with resource ensurance for present and absent hosts.
To avoid this situation, subtract added nodes from deleted prior to
actually deleting them from hosts.
Reviewed: https:/ /review. openstack. org/453147 /git.openstack. org/cgit/ openstack/ fuel-library/ commit/ ?id=21c7651fe55 d3737383de673d5 64b472da75e788
Committed: https:/
Submitter: Jenkins
Branch: master
commit 21c7651fe55d373 7383de673d564b4 72da75e788
Author: Stanislaw Bogatkin <email address hidden>
Date: Tue Apr 4 15:05:46 2017 +0300
Use intersection of added vs deleted nodes instead of just deleted ones
There are cases when nailgun can send us data where there are nodes
included into list of added nodes and deleted ones. As a result, puppet
manifests failed with resource ensurance for present and absent hosts.
To avoid this situation, subtract added nodes from deleted prior to
actually deleting them from hosts.
Change-Id: I515f7fae4bbe67 123d70572a4f861 e879ec580f6
Closes-Bug: #1679522