Thank you guys for getting involved with this issue.

>>Yes, certain tests and
>> methods only support main_vm, and I'm not surprised unattended install
>> is one of them. If this was "fixed" would it be a better solution for
>> you?
I already thought about this and even did a fix using the "vms" parameter that 
made it possible. However, after rethinking what would be the best approach 
from the perspective of design and usability I removed this fix. The main 
reason for this is that targeting a single virtual machine while not others 
gives more freedom to everybody using this test. This is how I came to a 
conclusion that the best option would be not to touch the test itself but 
rather use the "main_vm" parameter. It is completely sequential approach and 
we can see the test results for each vm in an independent way.

So to recap, I am not really thinking about installing multiple vms in a 
single test, but they still need the install test performed on them at some 
time. And as mentioned in the previous e-mails, I get a few errors from which 
I could identify the following:


1) Some parameters of the VM are changed after installation forcing the cache 
to be reset. I don't know what could be changed and this occurs at least when 
multiple vms are active for each VM:

10/17 10:08:23 DEBUG|   virt_vm:0444| VM params in env don't match requested, 
restarting.

Solution: I guess we can live with a few extra restarts of each VM, especially 
if it is only during installation.


2) The nic of the second VM creates a warning while installing the first one 
and resetting.

10/17 10:15:20 WARNI|env_proces:0461| Could not verify DHCP lease: 
02:00:00:00:00:52 --> 172.16.1.172
10/17 10:15:20 DEBUG|    kvm_vm:1806| Destroying VM with PID 4708
10/17 10:15:20 DEBUG|    kvm_vm:1832| Trying to kill VM with monitor command
10/17 10:16:20 INFO |   aexpect:0786| [qemu output] (Process terminated with 
status 0)
10/17 10:16:21 DEBUG|    kvm_vm:1849| VM is down

Solution: The second VM still does not have OS installed on it, therefore a 
session to shut it down encounters problems. I guess some tweaking of 
parameters should do the trick.


@Lucas: You said you have never thought about installing multiple VMs in a 
single test until now. What is your usual way of installing them in seperate 
tests?

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to