Created attachment 732198 [details] ## Log Description of problem: oVirt API connection failure, [Errno -5] No address associated with hostname, during delete 400 VM's Version-Release number of selected component (if applicable): RHEVM 3.2 - SF12 environment: RHEVM: rhevm-3.2.0-10.17.master.el6ev.noarch VDSM: vdsm-4.10.2-13.0.el6ev.x86_64 LIBVIRT: libvirt-0.10.2-18.el6_4.2.x86_64 QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.355.el6_4.2.x86_64 SANLOCK: sanlock-2.6-2.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. Delete 400 VM's Actual results: Session disconnected and I get error oVirt API connection failure, [Errno -5] No address associated with hostname This happens during mass (more then 100) delete on VM's, mass creating a new VM's Expected results: Session continue till end running script Additional info: Traceback (most recent call last): File "scale-sprint-2.py", line 437, in <module> vmListObjectsContainer.append(API.vms.get(vmsList[m])) File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/brokers.py", line 8854, in get headers={}).get_vm() File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py", line 109, in get return self.request(method='GET', url=url, headers=headers) File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py", line 129, in request last=last) File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py", line 174, in __doRequest raise ConnectionError, str(e) ovirtsdk.infrastructure.errors.ConnectionError: [ERROR]::oVirt API connection failure, [Errno -5] No address associated with hostname /var/log/ovirt-engine/engine.log /var/log/vdsm/vdsm.log
i see few problems: 1. each call has own JSESSIONID (what sdk (version) you're using?) 2. "[Errno -5] No address associated with hostname" happens only when there is no route to the host at runtime, - this could be due to a race in your multithreaded test and execution environment, please make sure the environment that you use not get cleaned before you finish your test (backgrounds threads can run, but your testing environment can be not aware of them and start cleanup when main function is over) to isolate this possibility, please run vm.start() requests sequentially, and since you've mentioned that the issues happens after 100vms being triggered, this will be easy to reproduce.
After I upgrade my Python-SDK package to latest one (rhevm-sdk-3.2.0.8-1.el6ev.noarch) on my laptop, I still get same error, during creating VMs from Template: [vvyazmin@vvyazmin unittests]$ python scale-sprint-2.py Traceback (most recent call last): File "scale-sprint-2.py", line 387, in <module> runMultithreadingOperations(createVm, MAX_RANGE, MAX_PARALLEL, {"vmName": allVMsList[z], "templateName": namesTempplate_DC04}, memory=0.25 * GB, cluster = namesCluster[3], storage=namesSDs[3]) File "/home/vvyazmin/ART/art/tests/scale/unittests/function_scale.py", line 36, in inner result = func(*args, **kwargs) File "/home/vvyazmin/ART/art/tests/scale/unittests/function_scale.py", line 689, in runMultithreadingOperations raise ex ovirtsdk.infrastructure.errors.ConnectionError: [ERROR]::oVirt API connection failure, [Errno -5] No address associated with hostname PS. This error appeared after creating 120 VMs
No issues are found Verified on RHEVM 3.2 - SF15 environment: RHEVM: rhevm-3.2.0-10.21.master.el6ev.noarch VDSM: vdsm-4.10.2-17.0.el6ev.x86_64 LIBVIRT: libvirt-0.10.2-18.el6_4.4.x86_64 QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.355.el6_4.3.x86_64 SANLOCK: sanlock-2.6-2.el6.x86_64 Tested on environment with 400 VM's run on 4 hosts Tested with delete and create VM's
3.2 has been released