Bug 1263744

Summary: Cloud Tenants Description field length limit causes inventory collection to fail when OpenStack Tenant description is over 255 characters
Product: Red Hat CloudForms Management Engine Reporter: Josh Carter <jocarter>
Component: ProvidersAssignee: Greg Blomquist <gblomqui>
Status: CLOSED ERRATA QA Contact: Pete Savage <psavage>
Severity: high Docs Contact:
Priority: high    
Version: 5.4.0CC: jfrey, jhardy, mfeifer, obarenbo, ssainkar
Target Milestone: GA   
Target Release: 5.5.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.5.0.8 Doc Type: Bug Fix
Doc Text:
Cloud tenants description field length limit causes inventory collection to fail when OpenStack tenant description is over 255 characters. As a result, during the initial discovery of an Openstack environment, CloudForms receives 404 error responses for different instances causing the inventory collection to fail. Since OpenStack allows a tenant description value larger than 255 characters, CFME OpenStack inventory collection now supports tenant descriptions larger than 255 characters and inventory collection succeeds without any errors.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-08 13:30:46 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:

Comment 3 Greg Blomquist 2015-09-30 20:23:17 UTC
https://github.com/ManageIQ/manageiq/pull/4603

Comment 5 CFME Bot 2015-10-26 19:45:41 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/dd3048b2bf88c988f081769507395c3c8d22d164

commit dd3048b2bf88c988f081769507395c3c8d22d164
Author:     Greg Blomquist <gblomqui>
AuthorDate: Wed Sep 30 16:12:19 2015 -0400
Commit:     Greg Blomquist <gblomqui>
CommitDate: Thu Oct 1 10:53:07 2015 -0400

    Change cloud tenants description to text
    
    The 255 character limit on the cloud tenant description field causes inventory
    collection to irreparably fail with the error:
    
    PGError: ERROR:  value too long for type character varying(255)
    
    Since OpenStack allows a tenant description value larger than 255 characters,
    openstack inventory collection must support tenant descriptions larger than 255
    characters.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1263744

 .../20150930201117_change_cloud_tenant_description_to_text.rb    | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 db/migrate/20150930201117_change_cloud_tenant_description_to_text.rb

Comment 7 Pete Savage 2015-11-09 19:30:12 UTC
Verified in 5.5.0.9

Comment 9 errata-xmlrpc 2015-12-08 13:30:46 UTC
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/RHSA-2015:2551