Bug 1209015
Summary: | Accessing the enabled_tcp_inbound_ports virtual column of a MiqAeServiceHostRedhat gives a <NoMethodError>: <undefined method `find_all_by_enabled_and_protocol_and_direction' for [ ]:ActiveRecord::Relation> | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Peter McGowan <pmcgowan> |
Component: | Automate | Assignee: | mkanoor |
Status: | CLOSED ERRATA | QA Contact: | Dave Johnson <dajohnso> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.3.0 | CC: | jhardy, mkanoor, obarenbo, psavage, tfitzger |
Target Milestone: | GA | ||
Target Release: | 5.4.0 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-06-16 12:56:52 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
2015-04-05 08:45:39 UTC
Migration 20140214191729_enhance_firewall_rules_for_neutron_networking.rb renamed the protocol column to host_protocol. The get_ports method in the host.rb file needs to be updated to use the new column name. New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/c3e0af2e291e001bc5590eb09440ad8510076efd commit c3e0af2e291e001bc5590eb09440ad8510076efd Author: Madhu Kanoor <mkanoor> AuthorDate: Mon Apr 6 14:16:56 2015 -0400 Commit: Madhu Kanoor <mkanoor> CommitDate: Tue Apr 7 12:28:05 2015 -0400 Fixed the function name to include _host Added a spec and fixed the function name https://bugzilla.redhat.com/show_bug.cgi?id=1209015 vmdb/app/models/host.rb | 6 +++--- vmdb/spec/models/host_spec.rb | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 3 deletions(-) Verified in 5.4.0.0.22.20150420163946 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://rhn.redhat.com/errata/RHBA-2015-1100.html |