change resource.resource_metadata column type to Text

Bug #1220683 reported by Haomeng,Wang
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Medium
Haomeng,Wang

Bug Description

The existing resource.resource_metadata column size is 5k chars, which is not enough for some large JSON metadata payload, so change to as Text column to make sure store all JSON string without truncating.

Haomeng,Wang (whaom)
Changed in ceilometer:
assignee: nobody → Haomeng,Wang (whaom)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/45054

Revision history for this message
Haomeng,Wang (whaom) wrote :

Please use this Review link: https://review.openstack.org/#/c/45064/

Revision history for this message
Haomeng,Wang (whaom) wrote :
Revision history for this message
Haomeng,Wang (whaom) wrote :
Revision history for this message
Haomeng,Wang (whaom) wrote :

These days, the" gate-tempest-devstack-vm-postgres-full" build failed with timeout several times, looks like building system will hang at some point with unknow issue.
Opened tempest defect to track such timeout issue - https://bugs.launchpad.net/tempest/+bug/1225888

Revision history for this message
Haomeng,Wang (whaom) wrote :

Now, it depends on https://review.openstack.org/#/c/46841/ fix, will recheck once 46841 is merged.

gordon chung (chungg)
tags: added: havana-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/45064
Committed: http://github.com/openstack/ceilometer/commit/7f3e7cea0ec9d8eb7095c2790fe0ba327c2df242
Submitter: Jenkins
Branch: master

commit 7f3e7cea0ec9d8eb7095c2790fe0ba327c2df242
Author: Haomeng, Wang <email address hidden>
Date: Tue Sep 17 07:55:40 2013 +0800

    Change resource.resource_metadata to text type

    The existing resource.resource_metadata column size is 5k chars,
    which is not enough for some large JSON metadata payload,
    so change to as Text column to make sure store all JSON string
    without truncating.

    Fixes bug #1220683

    Change-Id: Ide8c6b94f1ae56d76fe3d5b6238d44e498e67c03

Changed in ceilometer:
status: In Progress → Fix Committed
Julien Danjou (jdanjou)
Changed in ceilometer:
milestone: none → havana-rc2
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/51141

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

Reviewed: https://review.openstack.org/51141
Committed: http://github.com/openstack/ceilometer/commit/351a2d1dea19f30b5ec1d94298408e9c7918d9d8
Submitter: Jenkins
Branch: milestone-proposed

commit 351a2d1dea19f30b5ec1d94298408e9c7918d9d8
Author: Haomeng, Wang <email address hidden>
Date: Tue Sep 17 07:55:40 2013 +0800

    Change resource.resource_metadata to text type

    The existing resource.resource_metadata column size is 5k chars,
    which is not enough for some large JSON metadata payload,
    so change to as Text column to make sure store all JSON string
    without truncating.

    Fixes bug #1220683

    (cherry picked from commit 7f3e7cea0ec9d8eb7095c2790fe0ba327c2df242)

    Change-Id: I898ff2706cbaccafec6060bbdb0bbf68a4209edd

Changed in ceilometer:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: havana-rc2 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.