Created attachment 1264996 [details] Program which reproduce problem Description of problem: When trying to obtain collection of VMs via Java SDK, VmsService.list returns collection which is not list of VMs, but some collection of other elements ... Version-Release number of selected component (if applicable): Latest SKD from maven repository: sdk-4.1.2.jar pom.xml snippet: """ <dependencies> <dependency> <groupId>org.ovirt.engine.api</groupId> <artifactId>sdk</artifactId> <version>4.1.2</version> </dependency> </dependencies> """ Engine: rhv-release-4.1.1-6-001.noarch.rpm How reproducible: Install engine and create at least one vm. See attached program (JavaSDK.java) which reproduce problem. Steps to Reproduce: 1. Install engine 2. Run attached program 3. See output Actual results: It prints multiple results, however I have only one vm in engine (my_vm). 1e56459f-036a-4738-b5e2-dd736f114459: my_vm null: null null: null null: null null: null null: null null: null null: null null: null null: null null: null null: null null: null null: null null: null null: null null: null null: null null: null null: null null: null null: null null: null null: null 9933671c-79af-4236-a5cf-3d1081c22025: null null: null null: null null: null null: null null: null null: null b92c90e6-cee1-44b7-8256-03fa5c6dec24: null null: null null: null null: null null: Etc/GMT null: null null: null 57fce760-0018-0232-0270-000000000246: null 57fce773-0031-03d2-02a4-000000000353: null 58c16a21-00c9-029f-02c0-0000000000c1: null null: null null: null null: null null: null null: null null: null null: null 601197ce-17cd-46af-b428-53fa796aa393: null 00000000-0000-0000-0000-000000000000: null 00000000-0000-0000-0000-000000000000: null Expected results: I would like to see only vms which are in my engine (my_vm) 1e56459f-036a-4738-b5e2-dd736f114459: my_vm Additional info:
Verified that JavaSDK 4.1.3 only shows actual vms. Tested on engine versions: 4.1.1.6-0.1.el7 and 4.1.1.3-0.1.el7