Bug 1434334
| Summary: | [Java-SDK] VmsService.list doesn't provide collection of VMs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine-sdk-java | Reporter: | Lukas Bednar <lbednar> | ||||
| Component: | Core | Assignee: | Ondra Machacek <omachace> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Radim Hrazdil <rhrazdil> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.1.0 | CC: | bugs, gklein, juan.hernandez, lbednar, mperina, omachace, oourfali | ||||
| Target Milestone: | ovirt-4.1.1-1 | Flags: | rule-engine:
ovirt-4.1+
rule-engine: blocker+ omachace: devel_ack+ pstehlik: testing_ack+ |
||||
| Target Release: | 4.1.3 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | ovirt-engine-sdk-java-4.1.3 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-04-21 09:41:29 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
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 |
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: