Purge deleted /etc/hosts entries for deleted ndoes
Deleted nodes now will get stored in a file
/etc/hiera/deleted_nodes.yaml and be inserted into
the hiera hierarchy.
host entries for any records present in deleted_nodes.yaml
will be purged when evaluating hosts task.
The source YAML for deleted nodes is generated on master
because nodes that are deployed from scratch or from Error
state will not be able to identify deleted nodes due to
certain orchestration limitations.
Change-Id: I01db215e77a3532a6fa7bf46ab7e20e281e8c165
Closes-Bug: #1513401
(cherry picked from commit eacb493e38a31747dc61a43a081adf00adbeb8eb)
Reviewed: https:/ /review. openstack. org/315684 /git.openstack. org/cgit/ openstack/ fuel-library/ commit/ ?id=c923fb21ef5 84e2e09bd4c514f 01872d3874abac
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit c923fb21ef584e2 e09bd4c514f0187 2d3874abac
Author: Matthew Mosesohn <email address hidden>
Date: Fri Apr 22 12:43:04 2016 +0300
Purge deleted /etc/hosts entries for deleted ndoes
Deleted nodes now will get stored in a file hiera/deleted_ nodes.yaml and be inserted into
/etc/
the hiera hierarchy.
host entries for any records present in deleted_nodes.yaml
will be purged when evaluating hosts task.
The source YAML for deleted nodes is generated on master
because nodes that are deployed from scratch or from Error
state will not be able to identify deleted nodes due to
certain orchestration limitations.
Change-Id: I01db215e77a353 2a6fa7bf46ab7e2 0e281e8c165 7dc61a43a081adf 00adbeb8eb)
Closes-Bug: #1513401
(cherry picked from commit eacb493e38a3174