Bug 1410798

Summary: Fixed associations for network_port and openstack network_port service models
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: Peter McGowan <pmcgowan>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: cpelland, jhardy, mfalesni, mkanoor, obarenbo, tfitzger
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1410819 (view as bug list) Environment:
Last Closed: 2017-06-12 16:46:50 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:    
Bug Blocks: 1410819    

Description Satoe Imaishi 2017-01-06 14:22:45 UTC
From PR https://github.com/ManageIQ/manageiq/pull/12160:

The MiqAeServiceManageIQ_Providers_Openstack_NetworkManager_NetworkPort service model defined an association 'cloud_subnets' that was also defined in its superclass MiqAeServiceNetworkPort, so this appeared twice in its list of associations. The class MiqAeServiceNetworkPort defined an association 'cloud_subnet' that was not defined in the NetworkPort AR, so this gave a NoMethodError when accessed.

This PR removes the two erroneous lines from the service model definitions

Comment 3 Milan Falešník 2017-03-30 09:17:50 UTC
Verified in 5.8.0.8. cloud_subnet is not defined as expected and cloud_subnets works.