chroot: add apply_, sls and highstate for state execution #55345
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
Some bug in Salt is preventing to use `archive.tar` inside chroot, we we want to untar the salt_thin.tgz. This bug is related with how much deep is the stack of __salt__ calls, and do not clossing some connections to the master. Tracking the AsyncZeroMQChannel connections to master:4506, we can see that one is not closed once the actions ends, hanging the salt-call CLI. This commit will be reverted once the root cause in found, and the bug fixed.
Based on the code from the SSH client wrapper, add apply_, sls and highstate for the execution of Salt states inside a chroot environment.
new functionality including changes to functionality and code refactors, etc.
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge.