Bug 1263744 - Cloud Tenants Description field length limit causes inventory collection to fail when OpenStack Tenant description is over 255 characters
Summary: Cloud Tenants Description field length limit causes inventory collection to f...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.4.0
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.5.0
Assignee: Greg Blomquist
QA Contact: Pete Savage
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-16 15:01 UTC by Josh Carter
Modified: 2019-09-12 08:55 UTC (History)
5 users (show)

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.
Clone Of:
Environment:
Last Closed: 2015-12-08 13:30:46 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

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


Note You need to log in before you can comment on or make changes to this bug.