Bug 1298844
Summary: | Attempting to set a VMware Custom Attribute using vm.ems_custom_set gives a stack strace | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Peter McGowan <pmcgowan> |
Component: | Providers | Assignee: | Adam Grare <agrare> |
Status: | CLOSED ERRATA | QA Contact: | Milan Falešník <mfalesni> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 5.5.0 | CC: | agrare, dajohnso, gblomqui, jfrey, jhardy, jprause, mkanoor, obarenbo, pmcgowan, tfitzger |
Target Milestone: | GA | ||
Target Release: | 5.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 5.6.0.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-06-29 15:30:39 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: |
Description
Peter McGowan
2016-01-15 09:12:42 UTC
Peter - What version of vSphere were you running against? It's vSphere 5.1 That last comment was incorrect, it's vSphere 5.5 u2. CloudForms reports ext_management_system.api_version as 5.5 Reassigning this issue to the provider group. The call initiates from automate to set an attribute in VMware, but the failure is in the VMwareWebService/MiqCustomFieldsManager.rb code. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/418969bd7f6a5a096fc7003e1d52c95783502eef commit 418969bd7f6a5a096fc7003e1d52c95783502eef Author: Adam Grare <agrare> AuthorDate: Mon Jan 18 14:46:22 2016 -0500 Commit: Adam Grare <agrare> CommitDate: Mon Jan 18 15:01:33 2016 -0500 Disable inheritance of method :key in VimHash The inherited Hash :key method is clashing with the behavior of VimHash to access a key using :method_missing and sym.to_s. https://bugzilla.redhat.com/show_bug.cgi?id=1298844 gems/pending/VMwareWebService/VimTypes.rb | 1 + 1 file changed, 1 insertion(+) Verified in 5.6.0.8. I have deployed a vSphere VM, set a custom VC custom attribute on it using vmware client. Then I opened rails console, created $evm and retireved the VM. the ems_custom_set was setting the value properly as I was watching the data in the vmware client. 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 |