diff --git a/ceilometer/storage/pymongo_base.py b/ceilometer/storage/pymongo_base.py index d45ae4fe6..ed8fe9c78 100644 --- a/ceilometer/storage/pymongo_base.py +++ b/ceilometer/storage/pymongo_base.py @@ -212,7 +212,7 @@ class Connection(base.Connection): def record_alarm_change(self, alarm_change): """Record alarm change event. """ - self.db.alarm_history.insert(alarm_change) + self.db.alarm_history.insert(alarm_change.copy()) def get_samples(self, sample_filter, limit=None): """Return an iterable of model.Sample instances.