main_vm = "rhel7-migration". This guest is currently in running state.

I use this in my script.

vm = env.get_vm(params["main_vm"]), it returns a null object, even though the
guest is listed and running.

Is Evn class broken? When I do vm.verify_alive() I get this error logged.

15:05:24 DEBUG| Running 'service libvirtd status'
15:05:24 INFO | Libvirtd service is running
15:05:25 INFO | VM Name = rhel7-migration
15:05:49 ERROR| FAIL -> AttributeError: 'NoneType' object has no attribute
'verify_alive'
1

As you can see above vm.verify_alive() fails with above message. As you can see
one line above the message, the vm_name is displyaed correctly, I have these 
lines of code in my module.

vm_name = params.get("main_vm")
logging.info("main vm value = %s" % params["main_vm"])

So looks like get_vm is broken. Am unable to debug this due to issue #554

-- 
        -prem

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

Reply via email to