Bug 1338628
Summary: | Accessing the 'cloud_subnet' and 'cloud_network' associations of a MiqAeServiceManageIQ_Providers_Openstack_NetworkManager_NetworkPort object gives a 'NoMethodError' | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Peter McGowan <pmcgowan> |
Component: | Automate | Assignee: | Lucy Fu <lufu> |
Status: | CLOSED ERRATA | QA Contact: | Dmitry Misharov <dmisharo> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.6.0 | CC: | jhardy, mfalesni, mkanoor, obarenbo, simaishi, tfitzger |
Target Milestone: | GA | ||
Target Release: | 5.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 5.6.0.8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-06-29 16:05:07 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-05-23 07:24:14 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/84a8e792d9414b65b2affdb56e8783088e649d6c commit 84a8e792d9414b65b2affdb56e8783088e649d6c Author: Lucy Fu <lufu> AuthorDate: Mon May 23 13:06:43 2016 -0400 Commit: Lucy Fu <lufu> CommitDate: Mon May 23 13:07:16 2016 -0400 Expose the associations of ManageIQ::Providers::Openstack::NetworkManager::NetworkPort to automate. https://bugzilla.redhat.com/show_bug.cgi?id=1338628 ...rvice_manageiq-providers-openstack-network_manager-network_port.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Verified in 5.6.0.8 p = $evm.vmdb(:ExtManagementSystem).find_by_guid(guid) port = p.network_manager.network_ports.last irb(main):014:0> port.cloud_subnets => [#<MiqAeServiceManageIQ_Providers_Openstack_NetworkManager_CloudSubnet:0x4f00b0 @object=..., @virtual_columns=["allocation_pools", "dns_nameservers_show", "host_routes", "ip_version", "region_description", "region_number", "subnetpool_id", "total_vms"], @associations=["availability_zone", "cloud_network", "vms"]>] irb(main):015:0> port.network_routers => [] irb(main):016:0> port.public_networks => [] 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 |