Comment 15 for bug 1433021

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

Reviewed: https://review.opencontrail.org/12342
Committed: http://github.org/Juniper/contrail-controller/commit/45e2ef0a8997cae84db2cf218ad2f46370972dad
Submitter: Zuul
Branch: R2.1

commit 45e2ef0a8997cae84db2cf218ad2f46370972dad
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