forked from rackerlabs/genestack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ceilometer): tweak event_update processing
Do not use the instance_type_id field as that seems to unreliably represent the flavor_id. From what I have observed, some messages come through as a numerical value (the idx of the flavor in the flavors table), and some messages come through with the uuid of the flavor. Also, remove some attributes that should not be changing after a VM is built. This should make ops slightly more performant, and somewhat protect a few dates we don't want changed during an update event, deferring their modification to related create/update events.
- Loading branch information
Showing
1 changed file
with
21 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters