-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build/Debug Python fault scripts - requirements.txt to build infra_agent.tar.gz #104
Comments
Create bundle for infra_agent using pyinstaller: We use pyinstaller to bundle the application(https://pyinstaller.readthedocs.io/en/stable/) Steps: |
I'll give that a try, thanks! Is there a way to run/test the Python scripts without first running pyinstaller? |
Yes.Each of faults present inside mangle/mangle-infra-agent can be run using the main method provided along with the arguements. |
I'm attempting to use Mangle to inject faults into a BOSH managed VM and I need to debug and modify the Python scripts that are running on the remote VM. The Python fault injection scripts that are dumped onto the VM look to be compiled so I've attempted to clone the repo to the target VM and modify them from there, however that raises the following issues:
infra_agent.py
script gets an error importing themangleinfraagent
module unless I moveinfra_agent.py
to the parent folder so thatmangleinfraagent
is a subfolder relative to the script.requirements.txt
or dependency docs so cloning the repo and attempting to manually run the scripts requires a lot of fail, pip install, try again.These appear to be the dependencies required to get the infra_agent to start.
The text was updated successfully, but these errors were encountered: