Description of problem: """ api = API(url=self.url, kerberos=True, ca_file=self.ca_file, filter=True ) name = "some-vm-name" vm = api.vms.get(name) vm2 = api.vms.get(name) vm3 = api.vms.get(name) """ quite often(subjective, no real measurement) in can happen that one or more of vm, vm2 or vm3 contain None but others have the desired vm object. Version-Release number of selected component (if applicable): rpm -qa "*ovirt*" ovirt-engine-sdk-java-javadoc-3.5.1.0-1.fc22.noarch libgovirt-0.3.3-1.fc22.x86_64 ovirt-engine-sdk-python-3.6.0.3-1.fc22.noarch ovirt-engine-cli-3.6.0.2-1.fc22.noarch server is: Version 3.6.1-0.2.el6 How reproducible: not always Steps to Reproduce: 1. see description Actual results: api.vms.get(name) sometimes returns None when the vm exists Expected results: api.vms.get(name) always returns vm object if the vm exists Additional info: If it returns None because of some external error(network, auth issue). Then the API should raise an exception and not return None.
*** This bug has been marked as a duplicate of bug 1301067 ***