Bug 1305535
Summary: | unable to manage rhevm 3.6.2 | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Dave Johnson <dajohnso> |
Component: | Providers | Assignee: | Oved Ourfali <oourfali> |
Status: | CLOSED ERRATA | QA Contact: | Matouš Mojžíš <mmojzis> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 5.5.0 | CC: | gblomqui, jfrey, jhardy, jkrocil, juan.hernandez, masayag, nicolas, obarenbo |
Target Milestone: | GA | ||
Target Release: | 5.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | rhev | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-06-29 15:36:47 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1301992 | ||
Bug Blocks: |
Description
Dave Johnson
2016-02-08 14:28:54 UTC
Oved, can your team take a look at this? I wonder if something changed in the XML format recently from the rhevm API. This is caused by the bug 1301992, which will be fixed in 3.6.3. As a workaround you can apply the following change to the vm.rb file: -- /opt/rh/cfme-gemset/gems/ovirt-0.7.1/lib/ovirt/vm.rb 2016-01-26 15:32:22.436038845 +0100 +++ /opt/rh/cfme-gemset/gems/ovirt-0.7.1/lib/ovirt/vm.rb.new 2016-01-26 15:32:15.548038845 +0100 @@ -274,6 +274,8 @@ parse_first_node(node, :placement_policy, hash, :node => [:affinity]) + hash[:placement_policy] = {} if hash[:placement_policy].nil? + parse_first_node_with_hash(node, 'placement_policy/host', hash[:placement_policy][:host] = {}, :attribute => [:id]) Se also the following upstream issue: [Capablanca] - Refresh relationships fails for oVirt (RHEV) provider https://github.com/ManageIQ/manageiq/issues/5741 Please test with latest 3.6.3 build of RHEV. Verified in 5.6.0.4-beta2.3.20160421172650_719e256 + RHEVM 3.6.5. I was able to add rhevm 3.6.3 to providers and refresh it to get data about hosts/vms etc.. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1348 |