#183: Write a script and a daemon to send signals between virt machine and host ----------------------------+----------------------------------------------- Reporter: kparal | Owner: Type: task | Status: new Priority: major | Milestone: Virtualization Component: infrastructure | Version: 1.0 Keywords: | ----------------------------+----------------------------------------------- We need to exchange some signals between virt machine and a host. For example "autotest job finished, need to revert to previous state". We need to write simple script that will send this signal for virt machine and a daemon that will receive this signal in the host machine and act accordingly.
#183: Write a script and a daemon to send signals between virt machine and host --------------------+------------------------------------------------------- Reporter: kparal | Owner: Type: task | Status: new Priority: major | Milestone: Virtualization Component: core | Resolution: Keywords: | --------------------+------------------------------------------------------- Changes (by kparal):
* cc: smferguson (added)
Comment:
Scott M Ferguson [https://fedorahosted.org/pipermail/autoqa- devel/2010-November/001287.html says] he's working on this, adding to CC.
I believe there is some inspiration to be found in the rats_install test (VM is communicating with the host) and also in the anaconda_storage test (currently in clumens branch, also VM communication with the host).
#183: Write a script and a daemon to send signals between virt machine and host --------------------+------------------------------------------------------- Reporter: kparal | Owner: Type: task | Status: new Priority: major | Milestone: Virtualization Component: core | Resolution: Keywords: | --------------------+------------------------------------------------------- Changes (by jlaska):
* cc: lmr (added)
Comment:
lmr pointed me to some examples where the KVM tests are responsible for creating guests, and running autotest's inside the guest. There is some code in the upstream KVM autotest suite (see http://autotest.kernel.org/browser/trunk/client/tests/kvm/tests/autotest.py and http://autotest.kernel.org/browser/trunk/client/tests/kvm/kvm_test_utils.py#...). I'm not sure how all the pieces fit together, but after a quick glance, it appears to mimic the autotest code paths when rsyncing tests+results to and from test clients, but using a VM instead.
#183: Write a script and a daemon to send signals between virt machine and host --------------------+------------------------------------------------------- Reporter: kparal | Owner: Type: task | Status: new Priority: major | Milestone: Virtualization Component: core | Resolution: Keywords: | --------------------+------------------------------------------------------- Old description:
We need to exchange some signals between virt machine and a host. For example "autotest job finished, need to revert to previous state". We need to write simple script that will send this signal for virt machine and a daemon that will receive this signal in the host machine and act accordingly.
New description:
We need to exchange some signals between virt machine and a host. For example "autotest job finished, need to revert to previous state". We need to write simple script that will send this signal for virt machine and a daemon that will receive this signal in the host machine and act accordingly.
An idea how this could work has been posted here: https://fedorahosted.org/pipermail/autoqa-devel/2010-June/000642.html
This is the concept: {{{ | |1.job | .-------------------------. v | Host | .----------. | ^ | | Autotest | | |4.signal | | server |^ | | | '----------'| 3.result | .----------------. | | '-------------| Autotest | | '------------------>| client | | 2.job | | (virt machine) | | | '----------------' | '-------------------------'
}}}
#183: Write a script and a daemon to send signals between virt machine and host --------------------+------------------------------------------------------- Reporter: kparal | Owner: Type: task | Status: new Priority: major | Milestone: Virtualization Component: core | Resolution: Keywords: | --------------------+------------------------------------------------------- Changes (by kparal):
* cc: smferguson (removed)
autoqa-devel@lists.fedorahosted.org