Bug 985842
| Summary: | RHEVM-JAVA-SDK: Host.getRebootAfterInstallation() returns False (null was expected) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Ilia Meerovich <iliam> |
| Component: | ovirt-engine-sdk-java | Assignee: | Juan Hernández <juan.hernandez> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilia Meerovich <iliam> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.3.0 | CC: | acathrow, bazulay, iheim, iliam, juan.hernandez, myakove, oramraz, pstehlik |
| Target Milestone: | --- | Keywords: | TestBlocker |
| Target Release: | 3.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | is14 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-21 22:18:03 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: | |||
| Bug Depends On: | 1001026 | ||
| Bug Blocks: | |||
the bug is in Apache's BeanUtils package, will try to find workaround. (In reply to Michael Pasternak from comment #1) > the bug is in Apache's BeanUtils package, will try to find workaround. btw it's true for any property that returns reference type not just getRebootAfterInstallation() Illia, What is the version of BeanUtils you have installed? apache-commons-beanutils-1.8.3-10.redhat_2.ep6.el6.noarch (In reply to Ilia Meerovich from comment #4) > apache-commons-beanutils-1.8.3-10.redhat_2.ep6.el6.noarch i see that apache-commons-beanutils-1.8.3-12.redhat_3.2.ep6.el6 already available, can you please try reproducing this bug using it? thanks. most resent version in rhn channel is: apache-commons-beanutils-1.8.3-10.redhat_2.ep6.el6:0.noarch (In reply to Ilia Meerovich from comment #6) > most resent version in rhn channel is: > apache-commons-beanutils-1.8.3-10.redhat_2.ep6.el6:0.noarch i know, but we can promote 1.8.3-12 if it works for you (this why i've asked to check) Host.getRebootAfterInstallation() returns null in is14. Closing - RHEV 3.3 Released Closing - RHEV 3.3 Released |
Build is5 Please run something like: import java.io.IOException; import org.apache.http.client.ClientProtocolException; import org.ovirt.engine.sdk.Api; import org.ovirt.engine.sdk.exceptions.ServerException; import org.ovirt.engine.sdk.exceptions.UnsecuredConnectionAttemptError; public class addVmdebug { private static final String URL = "https://vm-161-147.scl.lab.tlv.redhat.com:443/api"; public static void main(String[] args) throws ClientProtocolException, ServerException, UnsecuredConnectionAttemptError, IOException { Api api = new Api(URL, "admin@internal", "123456", null, 443, null, null, true, null, false); System.out.printf("Value of getRebootAfterInstallation() is %s", api.getHosts().list().get(0).getRebootAfterInstallation()); } } and see the output: Value of getRebootAfterInstallation() is false