make_test_event_data doesn't work with postgres

Bug #1386356 reported by gordon chung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Low
gordon chung

Bug Description

when running make_test_event_data against postgres, the following it always thrown:

DBError: (ProgrammingError) can't adapt type 'UUID' 'INSERT INTO event (message_id, generated, event_type_id) VALUES (%(message_id)s, %(generated)s, %(event_type_id)s) RETURNING event.id' {'generated': datetime.datetime(2014, 9, 27, 0, 26, 43, 272193), 'event_type_id': 100, 'message_id': UUID('eae6b1e8-6fea-4490-b306-99a31854fb14')}
DBAPIError exception wrapped from (ProgrammingError) can't adapt type 'UUID' 'INSERT INTO event (message_id, generated, event_type_id) VALUES (%(message_id)s, %(generated)s, %(event_type_id)s) RETURNING event.id' {'generated': datetime.datetime(2014, 9, 27, 0, 36, 43, 272193), 'event_type_id': 99, 'message_id': UUID('ec75f9d8-a8ff-4772-b505-46d0078135bc')}

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/131237

Changed in ceilometer:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ceilometer (master)

Change abandoned by gordon chung (<email address hidden>) on branch: master
Review: https://review.openstack.org/131237
Reason: i accidentally added this as part of https://review.openstack.org/#/c/106793/

Revision history for this message
gordon chung (chungg) wrote :

accidentally committed as part of: https://review.openstack.org/#/c/106793/

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

Other bug subscribers

Remote bug watches

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