-
Notifications
You must be signed in to change notification settings - Fork 46
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
Create VM provisioning utility script #51
Comments
Indeed, currently While the Makefile is definitely super handy during development, I think what we'd eventually want for provisioning in
The target user here would be the admin but of course this would be useful for development as well (we'd want a This would make it easier for us to exert more control over the provisioning process, ensuring that each step executes, and produces the appropriate return code. For robustness, after provisioning each VM we could also explicitly check (instead of relying only on salt) that necessary files were created and
and parse the output - if the string Thoughts welcome |
I agree, having a script to manage SD VMs (including a more robust build process) is a great idea. It could be extended to include debugging and administrative functions like checking the version of the installed SD software, check the signature of the key in the GPG VM, etc. This may also inform some thinking about #73. |
We certainly have a "VM provisioning utility script" these days, namely |
Errors in the Salt provisioning flow (e.g.
make all
) often do not percolate up to cause themake
invocation to exit non-zero. This means that it can look like the testing VMs were created successfully, but some actually lack required files to operate as part of the SD workstation environment.One such example occurred during review of #47, when configuring the
sd-decrypt
:Note that I transcribed the error output above by hand, due to lack of copy/paste support from dom0, so there may be typos. The problem isn't so much the particular error, more that the
sd-decrypt
VM was not fully configured, and yetmake all
exited zero, implying no problems.The text was updated successfully, but these errors were encountered: