forked from redhat-openstack/packstack
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Refactor manifest execution
Previously, Packstack created many individual manifest files from smaller snippets (templates), and executed them following a certain order. This is sub-optimal, since it forces code duplication and goes against the Puppet design of running a single manifest. This patch refactors the manifest execution, following these principles: - Only 4 templates used, so max 4 Puppet executions on a host: controller manifest, network node manifest, compute node manifest, and a firewall manifest, which is still generated on the fly for simplicity. - The previous snippets are now part of the Packstack Puppet module, and included as needed by the controller/network/compute manifests. This concept is similar to the one used by the puppet-openstack-integration project. - The remaining Python code is left untouched, so we can keep complete compatibility with previous answer files. There are some missing features in the refactor (the most notable are VMware and Redis HA support), which will be fixed by upcoming patches.
- Loading branch information
1 parent
e640862
commit affad26
Showing
280 changed files
with
4,455 additions
and
4,481 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| The following items are still pending: | ||
|
|
||
| - VMware cluster logic for compute nodes | ||
| - Some logic in compute nodes when host is not in network_hosts | ||
| - Similar logic for compute nodes when using Nova Network | ||
| - Redis HA logic (ceilometer_800.py) | ||
| - Change message for plugins, when "creating manifests" | ||
| - Additional cleanup: remove unused functions in Python code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.