Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add an openstack provider
2. Provision VM
3. Terminate VM outside of CFME(in OpenStack Dashboard)
[----] E, [2016-06-17T10:03:54.948161 #2976:bd798c] ERROR -- : Q-task_id([miq_provision_1]) MIQ(MiqQueue#deliver) Message id: , Error: [undefined method `state' for nil:NilClass]
[----] E, [2016-06-17T10:03:54.948495 #2976:bd798c] ERROR -- : Q-task_id([miq_provision_1]) [NoMethodError]: undefined method `state' for nil:NilClass Method:[rescue in deliver]
[----] E, [2016-06-17T10:03:54.948683 #2976:bd798c] ERROR -- : Q-task_id([miq_provision_1]) /var/www/miq/vmdb/app/models/manageiq/providers/openstack/cloud_manager/provision/cloning.rb:5:in `block in do_clone_task_check'
Marking as blocker for 5.6.1
So it looks like we can't make the error go away -- we don't support users deleting VMs outside CFME while provisioning is happening, but we should probably check for nil there and report a clearer error message "VM no longer exists" or something like that instead of choking on the nil. Since it's just an error message problem, it seems like this is probably not a blocker (and might need a lower priority).
Closing as worksforme. I tried to duplicate it many times, but I was unable to.