21 Commits

Author SHA1 Message Date
Sandy Walsh
eae07eecac Switched to Apache licensing 2014-03-28 11:47:16 -03:00
Manali Latkar
e77beaa30a stacktach accepts AH response code as a ping from yagi along with the name of the service and stores it accordingly and is also compatible with the earlier format. 2013-11-12 13:54:41 +05:30
Thomas Maddox
c07fcc9f3f unit test for when bandwidth is None 2013-10-24 10:49:50 -05:00
Anuj Mathur
5d65e5bad7 Added warning when invalid payload is encountered while saving exists notification 2013-10-15 19:22:27 +05:30
Anuj Mathur
8d11342c39 Modified glance worker to process the new exists notification 2013-10-15 19:22:27 +05:30
Souvik Basu
0399f2baf2 Added bandwidth_public_out field to stacktach.instanceexists table.
Public Outbound Bandwidth info is picked up from nova exists notification
and inserted into stacktach.instanceexists table.
2013-09-17 16:17:28 +05:30
Thomas Maddox
6162fafcdb store image_type from nova notifications 2013-09-05 13:41:13 -05:00
Anuj Mathur
4ebdd61ed0 Revert "Merge pull request #176 from rackerlabs/master_no_glance_verify"
This reverts commit ea0b42df4842449f99ccc022e5f79bff2ebc0ba6, reversing
changes made to 510cdda0d0c6688b0ec5e9712a8beac1b1a6cb31.
2013-08-22 16:28:13 +05:30
Andrew Melton
25dbb53d1f Revert "Merge pull request #171 from manalilatkar/GlanceVerifier_222"
This reverts commit 139f9cdbead8ae85af59206b1f14c9d4044da639, reversing
changes made to 06318c44e11c7bbf1b3f425670c1194e83762201.
2013-08-19 12:08:34 -04:00
Manali Latkar
2fb32e716b fixed merge conflicts 2013-08-16 01:04:45 +05:30
Andrew Melton
c5f3d7b15d Safely handling error notifications from glance 2013-08-13 16:30:42 -04:00
Andrew Melton
6ea311bea1 Fixing tests to work with python 2.6 2013-08-07 12:02:24 -04:00
Anuj Mathur
a1e4f87b66 Removed range check for fetching image usage while saving glance exists 2013-08-05 14:59:57 +05:30
Anuj Mathur
25baf82328 Removed image_type from GenericRawData
Added message_id to GenericRawdata
Regenerated migration
2013-07-18 13:52:58 +05:30
Anuj Mathur
7e44644790 - Removed duplicate stacktach/config.py
- Image usages are now created from image.activate instead of image.update
- Removed unneccessary fields from image_deletes
- Made image_usage.last_raw and image_deletes.raw nullable because
  the seed script will not populate these fields
2013-07-18 13:52:58 +05:30
Anuj Mathur
f227803dd5 Extracted save methods for image_usage and image_delete to glance_notification 2013-07-18 13:52:58 +05:30
Anuj Mathur
32a73158ef Extracted save method for image_exists to glance_notification 2013-07-18 13:52:58 +05:30
Manali Latkar
3f6542f049 - Added logic to populate generic rawdata and glance rawdata
- Moved the responsibilty to save rawdata to the notification classes
- Notification are now created based on exchange instead of routing_key since routing_keys
  may not be unique across services
- Separate consumers are now created for every exchange specified in the config
- Each consumer is started in a separate process
- Introduced notification factory and the config module
2013-07-18 13:52:58 +05:30
Andrew Melton
ab93976a43 Only populate from image_meta if available 2013-06-27 12:47:44 -04:00
Anuj Mathur
7168c5808f - Converted migration to South data migration
- Made a few changes to data migration migration error reporting
- Changed the way exists were being updated
- Removed ComputeUpdateInstanceNotification
- Ensured that exists events are considered when populating rawdata
but not while populating instanceusages
2013-06-24 20:23:32 +05:30
Anuj Mathur
9421e9be95 Increased list of fields that are verified
Moved _monitor_message and _compute_update_message code and
tests to MonitorNotification and ComputeUpdateNotification
2013-06-24 18:57:18 +05:30