Comment 6 for bug 1447647

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/178435
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=35e574085dd1d9339e1bee770e12665a6b7228d8
Submitter: Jenkins
Branch: master

commit 35e574085dd1d9339e1bee770e12665a6b7228d8
Author: Rohit Jaiswal <email address hidden>
Date: Tue Apr 28 14:52:38 2015 -0700

    TraitText value restricted to max length 255

    Trait_text has a sqlalchemy model definition with
    value column as Text type, but the migrate scripts
    defined the column type as String(255) leading to
    Sqlalchemy exception when indexing trait with large
    text.

    This fixes the TraitText model value as String(255)
    to match the migrate script definition and crops
    the text input to 255 characters.

    Change-Id: I55eee4e9fcdee8d05f3598a9bc0368bc92a9b238
    Closes-Bug: 1447647