Bug 1391274

Summary: Recent changes to cidr field in subnets causes string conversion errors in Nuage network provider
Product: Red Hat CloudForms Management Engine Reporter: lokesh.jain
Component: ProvidersAssignee: lokesh.jain
Status: ON_QA --- QA Contact: Sudhir Mallamprabhakara <smallamp>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: cpelland, gblomqui, jhardy, simaishi
Target Milestone: GAKeywords: TestOnly
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:
: 1391975 (view as bug list) Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1391975    

Description lokesh.jain 2016-11-02 22:24:14 UTC
Changes to cidr field in subnets causes subnet inventory fetch to fail for Nuage network provider

Description of the problem: cidr field in subnets was of type variable before.
Changing the field to string requires to_cidr method modification. Without the changes subnet inventory collection for Nuage fails.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Add a Network Manager to CloudForms that has subnets
2. Wait for refresh cycle to execute
3. Last refresh error is seen in the summary page

Actual results:
Inventory refresh fails.

Expected results:
Inventory refresh should succeed and subnets should be visible

Comment 2 lokesh.jain 2016-11-02 22:27:46 UTC
The bug can be assigned to me.
I have a PR open to fix the issue at
https://github.com/ManageIQ/manageiq/pull/12380