-
Notifications
You must be signed in to change notification settings - Fork 126
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
Support for running tmt
in tmt
#3298
Comments
This sums up the idea of "chained provisioning", e.g.
|
TBH, I wasn't thinking about provisioning those virtual guests by |
I am not saying this can't be true, but if I am not mistaken, for the minimal implementation we are speaking about a single ssh tunnel enabling tmt to connect to the guest. |
True, but it would have to stay up and running no matter what happens to the network stack on the host and guest. I mean, I don't know, maybe it's a moot point, I just heard users speaking about bridges and network interfaces and their setup so much that it got me worried that preserving the channel to get necessary info, especially when the test fails, might be way too much work :) |
There are use cases when a nested instance of
tmt
should be run under the parent instance. For example, reserving a bare metal host as a hypervisor and running several virtual machines as guests there. Currently it is possible but there is no support for test results aggregation from the child processes. It would be good to provide a comfortable way to see test results from the child plans as well.Also, an alternative approach was proposed by @kkaarreell today: The
provision
step phases describing the child guests would be included in a singleprovision
step config together with the phase describing the host. Once the guests would be started, their ssh connection details would be handed over to the parenttmt
process.There is also this idea of a
tmt go
command which would generate relevant combinations of environment dimensions, then schedule individualtmt run
commands to execute tests for each supported combination and finally gather the test results from all. This approach seems to be slightly consistent with the first option above.The text was updated successfully, but these errors were encountered: