db2 does not allow None as a key for user_id in user collection
Bug #1234165 reported by
Tong Li
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Medium
|
Tong Li |
Bug Description
mongodb allows None value as a key for _id field, but db2 does not.
in many of the openstack glance meters, the user_id was hard coded as None.
This causes problem for DB2 as the None value is not allowed for key field.
this patch will fix the problem when meters coming with user_id
being set to None.
Changed in ceilometer: | |
assignee: | nobody → Tong Li (litong01) |
status: | New → In Progress |
Changed in ceilometer: | |
importance: | Undecided → Medium |
tags: | added: havana-rc-potential |
Changed in ceilometer: | |
milestone: | none → havana-rc2 |
Changed in ceilometer: | |
milestone: | havana-rc2 → 2013.2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/49095 github. com/openstack/ ceilometer/ commit/ 77a0603bebcb25f ba94ddfb40e50ba ed46eb9384
Committed: http://
Submitter: Jenkins
Branch: master
commit 77a0603bebcb25f ba94ddfb40e50ba ed46eb9384
Author: Tong Li <email address hidden>
Date: Wed Oct 2 09:18:14 2013 -0400
db2 does not allow None as a key for user_id in user collection
mongodb allows None value as a key for _id field, but db2 does not.
this patch will fix the problem when meters coming with user_id
being set to None.
Change-Id: If48e5117198f3e 9ad834e4f7fa58e c27c57a8bc8
fixes: bug #1234165