Comment 14 for bug 1433021

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/12341
Committed: http://github.org/Juniper/contrail-controller/commit/1be13eb4b1c22fd1ccbb6966bc854b01a2529409
Submitter: Zuul
Branch: R2.20

commit 1be13eb4b1c22fd1ccbb6966bc854b01a2529409
Author: Numan Siddique <email address hidden>
Date: Wed Mar 18 15:42:02 2015 +0530

Update the collector column families from Ascii to UTF8

Cassandra returns InvalidRequestException when collector
tries to add a column and if the column data contains
unicode characters.

The issue is seen when any resource is created or deleted and
the resource name has unicode characters.

This patch fixes the issue by changing the collector column
family validation types from AsciiType to UTF8Type.
The patch also takes care of upgrading the existing column families
if they exist in the db.

(cherry-picked from commit 358765ed4e89430414284185f0acd4f149aeba73)

Change-Id: I54ae9e756f7f67ce684ef9e3ba557038bc8f8731
Closes-bug: #1433021