commit 0ca8c83df916ff0fa62f9cb0aa1045c9097d32c8 Merge: 55cdc08 0d891c7 Author: Jenkins Date: Mon Nov 26 16:34:17 2012 +0000 Merge "Remove rickshaw subproject" commit 55cdc081304233de8721101bd2d03bf31027aff4 Merge: 45e573e 57bea4d Author: Jenkins Date: Mon Nov 26 16:32:23 2012 +0000 Merge "tools: set novaclient minimum version" commit 45e573e89024597a8b2c094b5f29ff51712b4a77 Merge: 9ef03b2 fb8d86e Author: Jenkins Date: Mon Nov 26 16:31:20 2012 +0000 Merge "Lower pymongo dependency" commit 9ef03b220cedad948c7aef3326d8af2818ac826d Merge: 3e3a303 36998cb Author: Jenkins Date: Mon Nov 26 16:29:28 2012 +0000 Merge "libvirt: fix Folsom compatibility" commit 3e3a30336f12da2e553971b77d5c15671b977dfb Author: Julien Danjou Date: Mon Nov 26 16:17:33 2012 +0100 network: remove left-over useless nova import Change-Id: I1845743343b9cb64a0d37547b9e9f76d5fdb7ef9 Signed-off-by: Julien Danjou commit 57bea4d4b789813d09dbe8143991fea81f03153b Author: Julien Danjou Date: Fri Nov 16 16:56:26 2012 +0100 tools: set novaclient minimum version This is set accordingly to - at least - the no_cache option used. This is likely to fix #1083104 Change-Id: I14d878cbeae84e40f2b81720d6d8dbee4a3278c3 Signed-off-by: Julien Danjou commit 36998cb142f11c2b2a372da7d3c33c622b44a714 Author: Julien Danjou Date: Mon Nov 26 15:52:40 2012 +0100 libvirt: fix Folsom compatibility Change-Id: I1b60add4dadf2eecfe582fceb18acb614b67f7f8 Signed-off-by: Julien Danjou commit fb8d86eead992ec31e93b6b109d6e99108872ba8 Author: Julien Danjou Date: Mon Nov 26 15:34:00 2012 +0100 Lower pymongo dependency Debian has only 2.2, and there's no reason it wouldn't work according to PyMongo changelog. Change-Id: I4ca3d79aa1845ee513d93b25afaa0d41fab4bf59 Signed-off-by: Julien Danjou commit 0d891c7d0f6d55c833eeca88824d1fc2e1da5a8b Author: Julien Danjou Date: Fri Nov 23 12:02:13 2012 +0100 Remove rickshaw subproject Change-Id: I6c8689ed9748a6f66d6f972c7cba623cc7ec8193 Signed-off-by: Julien Danjou commit c6502e119197ebaea707e9a62e93c9c983cd5d50 Author: Shane Wang Date: Thu Nov 22 21:02:54 2012 +0800 Remove unused rpc import commit 2789f144d4776a79551ec7603b292460e08f3518 uses service.py in openstack-common and changes the collector from a manager into a Service. The rpc connection creation in CollectorManager is not called any more. So, remove the unnecessary rpc import. Change-Id: I710e14beb3485661e8aeeae0792fae68cba48979 Signed-off-by: Shane Wang commit 9cd9e9522de077529185b4e9c1cc7486d2fe4a92 Author: Lianhao Lu Date: Thu Nov 22 11:39:59 2012 +0800 Adapted to nova's compute_driver moving. Nova moved the compute_driver into nova.virt.driver in recent changes. It also provided 2 new functions load_compute_driver() and compute_driver_matches(). Leveraging that change while still keeps folsom compatibility. Change-Id: I53f6f295cef6173aaea26c9bbac977b3ae66c6d2 commit 7f46361beec191fc598779cdf757334bfb632c90 Author: Julien Danjou Date: Wed Nov 21 16:36:54 2012 +0100 doc: fix cpu counter unit This fixes bug #1071461 Change-Id: I358f23d07df2f8123d52912a01a4d5a02ba22b77 Signed-off-by: Julien Danjou commit af7f5ce54974f7e8ce0ffa548f47fae42eeb608f Merge: c13231f 59a1937 Author: Jenkins Date: Wed Nov 21 13:19:32 2012 +0000 Merge "api: replace minified files by complete version" commit c13231f56d6bb7a20f9332a72fea102f027acfaa Author: Julien Danjou Date: Wed Nov 21 12:09:42 2012 +0100 tools: use tarballs rather than git for Folsom tests Change-Id: I84479f4dd5f49063e957f30d38ad079c40cdcfd7 Signed-off-by: Julien Danjou commit 1cc462843c9ac4aea2833748b80516d0f472bf39 Author: Lianhao Lu Date: Tue Nov 20 14:13:12 2012 +0800 Used auth_token middleware from keystoneclient. The auth_token middleware was moved from keystone to keystoneclient. Fixed the bug 1080990. Change-Id: I424489b73e420546df96a52f639d0ee1c8ee6287 commit a96e1a73cd548f51e4884a380c725c28cde188a1 Author: Julien Danjou Date: Tue Nov 20 16:01:12 2012 +0100 Remove cinderclient dependency Change-Id: I7c38be05e9288ad001aabf73a37824b19918c3a3 Signed-off-by: Julien Danjou commit 48d8f574e80b7dd0d14e4ee8e7ff3b5f37cebc6b Merge: 45da4ee a9e5f84 Author: Jenkins Date: Tue Nov 20 11:33:34 2012 +0000 Merge "api: add timestamp interval support in _list_events()" commit 45da4ee18b675d0d583fb4d19abfcc373281a684 Merge: 7fabd09 334bf86 Author: Jenkins Date: Tue Nov 20 11:18:10 2012 +0000 Merge "Provide default configuration file" commit 7fabd090675a0c258b2951101c637d2bea583d7d Merge: bbdd547 8d4287a Author: Jenkins Date: Tue Nov 20 11:16:28 2012 +0000 Merge "Add Folsom tests to tox" commit bbdd54766935af9eebd57bed21be02a71d37f85f Merge: 4641d34 a45e971 Author: Jenkins Date: Tue Nov 20 11:14:02 2012 +0000 Merge "api: add support for timestamp in _list_resources()" commit 4641d344a0c2a4c18d256bdeb6311e62c32496cf Merge: f918b5b f4f2ab3 Author: Jenkins Date: Tue Nov 20 11:11:13 2012 +0000 Merge "tests: simplify api list_resources" commit f918b5bfdf94899e70e07c310e53233843e87f8d Author: Julien Danjou Date: Tue Nov 20 09:52:30 2012 +0100 Fix latest nova changes Change-Id: I08fa2ce3fca4b5c66e77a42d00b94067abfef7c7 Signed-off-by: Julien Danjou commit fc826bcb3ee31daf783f3c3b33397cfeca680742 Merge: c942064 c5bf442 Author: Jenkins Date: Mon Nov 19 18:02:19 2012 +0000 Merge "Fix mysql_engine option type" commit 59a193789ddd7a700e8ab9e781da94997b65a99a Author: Julien Danjou Date: Mon Nov 19 16:04:30 2012 +0100 api: replace minified files by complete version Minified files are problematic at least for Debian because it's not free according to the DFSG. So let's replace them with full versions. This fixes bug #1078788 Change-Id: Id401feea7ed7d0a7861a44f9ccc294615617f928 Signed-off-by: Julien Danjou commit 8d4287ad8e5af46fde0625dbd18a8f5c67da061a Author: Julien Danjou Date: Mon Nov 19 17:49:35 2012 +0100 Add Folsom tests to tox Change-Id: I0cc43bc6a22e42f9bc9ad9cb9571e5391e4cd240 Signed-off-by: Julien Danjou commit c942064bbe21ffd7bbf4bb4352c4d6d6b3336682 Author: Julien Danjou Date: Mon Nov 19 16:22:16 2012 +0100 Handle nova.flags removal nova.flags has been removed and we're now supposed to use nova.config Put some compat code for Foslom. Change-Id: I53bd74310df35ba37fdaaf26139ab73a46bebd1f Signed-off-by: Julien Danjou commit 334bf8605285aeda23a9d16093c3e3ce9b0a70da Author: Julien Danjou Date: Mon Nov 19 12:18:43 2012 +0100 Provide default configuration file This fixes bug #1057473 Change-Id: I1ca0edd4eadaa166f9b807532cbaa058ba2b119e Signed-off-by: Julien Danjou commit c5bf44204d1c9e53686053d45006782e77305fab Author: Julien Danjou Date: Mon Nov 19 12:04:09 2012 +0100 Fix mysql_engine option type Change-Id: Ife965c9a8a9ef9fd3c2d28e9e98ec9add1334732 Signed-off-by: Julien Danjou commit 97c96f7ebfda6e98a4945c1cbf97e6e6c05ff8b0 Author: Julien Danjou Date: Fri Nov 16 17:22:57 2012 +0100 Remove nova.flags usage The only one left is now in libvirt for the compute driver. How to remove this and rewrite this pollster is still under discussion. This implements blueprint nova-flags-removal. Change-Id: Ife54e402cb307b9b4cb360d8ee54683ac1e73e1c Signed-off-by: Julien Danjou commit a45e9714e566c6a36ceb9daedfd170bf5526c7b5 Author: Julien Danjou Date: Fri Nov 16 15:32:30 2012 +0100 api: add support for timestamp in _list_resources() Change-Id: I683bcbc2072b782eb94739aaa99e151ee9d0df3e Signed-off-by: Julien Danjou commit a9e5f84e9a808d5401a39f1ec0f1b4557c6160c3 Author: Julien Danjou Date: Fri Nov 16 16:10:37 2012 +0100 api: add timestamp interval support in _list_events() We also remove test_all() because it's already tested in test_list_resources, where it belongs. This fixes bug #1079235 Change-Id: Ib57fad688c09b38944c0129ede68b9620f074a1d Signed-off-by: Julien Danjou commit f4f2ab3b795bc477c48fb771e98340bc4544c913 Author: Julien Danjou Date: Fri Nov 16 15:05:47 2012 +0100 tests: simplify api list_resources Change-Id: I1ab962ca381cfcddb13a87013bca471d69ee8bd0 Signed-off-by: Julien Danjou commit 26c5ce081a8bfa2f6c7d6200426787ec94aea7d7 Author: Lianhao Lu Date: Thu Nov 15 18:38:36 2012 +0800 Update openstack.common(except policy). Fixed bug 1078190. Change-Id: I293f1888362c64b0af3f9c66e4ebea94d987e59a commit 2b30965869701fbbb5ed03b020820f7e04274748 Author: Lianhao Lu Date: Thu Nov 8 16:28:16 2012 +0800 Adopted the oslo's rpc.Service change. This fixes the collector part of the bug 1075463. Declaring a consumer topic on the same rpc connection after the consume thread has started would result the eventlet raise RuntimeError exception. So all the declaring work should be done before calling rpc.conn.consume_in_thread(). Using the hook 'initialize_service_hook()' provided by rpc.Service in oslo to decalre the collector's specific topic consumers before starting the consuming thread. Change-Id: I33a98c228d45f7716e46d40d9203188f4e827c11 commit 7e595e8f2885fc706230ba4145b76405bdeec36b Author: Eoghan Glynn Date: Wed Nov 14 14:35:58 2012 +0000 Use libvirt num_cpu for CPU utilization calculation. Previously we used the vcpus count for the corresponding flavor, but this can be incorrect if the instance type was deleted and re-created with a different number of cores after the instance was booted. Also the total number of CPUs on-host is dropped from the formula as this is not relevant to the CPU util for the instance. Change-Id: I23e2ad30696f11f413fd1570fe85c3a12fb0bf1e commit cdc962dffb378366f0bc2591a1ed926e4503175c Merge: 5aac98a e4d170a Author: Jenkins Date: Wed Nov 14 10:14:13 2012 +0000 Merge "Change references of /etc/ceilometer-{agent,collector}.conf to /etc/ceilometer/ceilometer.conf" commit 5aac98a2bde475fc5a94ba889cfe8d1366b45a89 Author: Eoghan Glynn Date: Wed Nov 14 09:22:12 2012 +0000 Remove obsolete reference to instance.vcpus Left in place as an oversight in: https://github.com/openstack/ceilometer/commit/5d00eb39 Change-Id: I156d5bd0df2eec1fe75845cfb8d3395f3897ba09 commit e4d170a57c76ee83c858372a79ae7a43b32b6968 Author: Angus Salkeld Date: Wed Nov 14 15:50:19 2012 +1100 Change references of /etc/ceilometer-{agent,collector}.conf to /etc/ceilometer/ceilometer.conf Complete the change to the global config file. So by adding the project name to the call to cfg.CONF() we go from the following search dirs: cfg_dirs: ['/home/asalkeld', '/etc'] to: cfg_dirs: ['/home/asalkeld/.ceilometer', '/home/asalkeld', '/etc/ceilometer', '/etc'] So you can end up with multiple configs loading like this: DEBUG ceilometer.openstack.common.service [-] config file: ['/etc/ceilometer/ceilometer.conf', '/etc/ceilometer-collector.conf'] Change-Id: I8e75facb5f1dc7e3e66493824a2da15a5b9ab311 commit 6d72e832fd52927c238209c5a7797ef22868c11b Merge: a09096b 0909643 Author: Jenkins Date: Wed Nov 14 00:51:41 2012 +0000 Merge "Avoid TypeError when loading libvirt.LibvirtDriver" commit a09096bf619076a5b03032b63e0208f39bb868a7 Merge: f13593c d57c5b5 Author: Jenkins Date: Tue Nov 13 22:43:46 2012 +0000 Merge "Add keystone requirement for doc build" commit f13593caa50c48e5e0d4ed1e13183ee4b49238b3 Merge: 5d00eb3 8bcc13c Author: Jenkins Date: Tue Nov 13 22:43:33 2012 +0000 Merge "Add comment about folsom compatibility change" commit 5d00eb39f20201c9d2c8d05e44e69db8f644f917 Merge: 89d536b 454c486 Author: Jenkins Date: Tue Nov 13 21:37:03 2012 +0000 Merge "Determine instance cores from public flavors API" commit 89d536b19534986f37730e1a71f34475a4598b62 Merge: 2a39164 f3641de Author: Jenkins Date: Tue Nov 13 21:36:35 2012 +0000 Merge "Determine flavor type from the public nova API." commit 454c486e01b7782d5e01ed45dca00528865d929f Author: Eoghan Glynn Date: Tue Nov 13 20:20:19 2012 +0000 Determine instance cores from public flavors API Fixes bug 1078371 Previously the flavor vcpus used in the CPU utilization metering was available from the nova DB instance representation. Now that we retrieve the on-host instances from the public nova API as opposed to the DB, we need to retrieve the flavor vcpus from the flavors API. Note that it's a known issue with nova that a flavor associated with a running instance can be deleted and re-created with the same ID but a different resource configuration (in this case, a different number of cores would led to an incorrect CPU util calculation). This will be addressed in a future nova patch. Change-Id: I093acb94a4818f671782a3cb4e2c846f29b8cec5 commit f3641de37fbcb36dddc15d4a918ff771a07b5702 Author: Eoghan Glynn Date: Tue Nov 13 14:01:58 2012 +0000 Determine flavor type from the public nova API. Fixes bug 1078298 Previously the flavor name used in the flavor-specific instance meter was available from the nova DB instance representation. Now that we retrieve the on-host instances from the public nova API as opposed to the DB, we need to retrieve and cache the flavor name separately. Change-Id: Ifd15eedd34e4128d5f9bdaa9318049e973dac9ed commit 8bcc13c082fd366b3e4f7e93d4cf31a99846418d Author: Doug Hellmann Date: Tue Nov 13 15:11:56 2012 -0500 Add comment about folsom compatibility change Provide inline documentation explaining the change in https://review.openstack.org/#/c/15778/ as requested. Change-Id: I70c8420ddd9956d90e20449f4c7509db40b50a8e Signed-off-by: Doug Hellmann commit d57c5b5f4cd71678d812cfb55fb122c26382df3a Author: Doug Hellmann Date: Tue Nov 13 14:42:55 2012 -0500 Add keystone requirement for doc build In order to create the app to pass through the autodoc directives in sphinx we need to have the keystone middleware installed. Change-Id: Ib78ac6bedca33628f139a922a438944e5763e6f3 Signed-off-by: Doug Hellmann commit 090964310b2eb57874edfd81001b75c7cb42c096 Author: Eoghan Glynn Date: Tue Nov 13 16:31:00 2012 +0000 Avoid TypeError when loading libvirt.LibvirtDriver Fixes bug 1078304 The libvirt.LibvirtDriver.__init__() signature has changed since: https://github.com/openstack/nova/commit/081b652c to take a new virtapi parameter. This is not required by any ceilometer usage of the driver, however the absence of a corresponding argument causes importutils.import_object_ns() to fail with TypeError. For testing the nova fake.FakeVirtAPI still uses the old signature, hence we try both. Change-Id: I05a9728ceb435a72f5fa8a648cd70b079126396e commit 2a391644c0618ab0bf9eaba44a9619ac083d8f44 Merge: e478328 566f4cc Author: Jenkins Date: Tue Nov 13 15:55:45 2012 +0000 Merge "Fix pymongo requirements" commit e478328d46980d70642313c91895a86388db11be Merge: 77b2d35 325715c Author: Jenkins Date: Tue Nov 13 15:51:44 2012 +0000 Merge "doc: rename stackforge to openstack" commit 77b2d355993facae064d808b933b2fd1840edf0c Author: Endre Karlson Date: Tue Nov 13 12:06:54 2012 +0100 Don't re-import flags and do parse_args instead of flags.FLAGS() Change-Id: I8f1a4e8eae0fddc011fcc12957f58001a00722b0 commit 325715c01f72a43f22b973439ef5d3d0560961a5 Author: Julien Danjou Date: Tue Nov 13 10:08:41 2012 +0100 doc: rename stackforge to openstack Change-Id: I31b0b7107742950e82473a9e776461994ab342f7 Signed-off-by: Julien Danjou commit 566f4ccd6511b82a2b31ce51ab6e83deca5f613e Author: Julien Danjou Date: Mon Nov 12 20:16:13 2012 +0100 Fix pymongo requirements This fixes bug #1077104 Change-Id: Ib2d936d71d6c253a141abed65794ea800d0c8354 Signed-off-by: Julien Danjou commit 171b1ce4495c104b8cf19f0a7609a71a354446ba Merge: 1226dbf b595728 Author: Jenkins Date: Mon Nov 12 17:22:28 2012 +0000 Merge "Update use of nova config to work with folsom" commit 1226dbf9577d31f67610cafac8cfc78fde5dcb37 Author: Jeremy Stanley Date: Sun Nov 11 19:11:23 2012 +0000 Update .gitreview for openstack. Following a successful incubation period, the Ceilometer project is moving from the StackForge ecosystem organization to become an official OpenStack project. This handles the necessary update to .gitreview reflecting the new remote name. Change-Id: Iac0e2525df805e96ddff15cbe776603a7aabcf76 commit b595728df9be4f241893e56c21e8e632ec0298a5 Author: Doug Hellmann Date: Thu Nov 8 17:06:08 2012 -0500 Update use of nova config to work with folsom The configuration API for nova changed between folsom and grizzly. This change uses the folsom API if necessary, allowing the trunk version of ceilometer to continue to work with folsom. Change-Id: Ib59649ed6c04ea7218efa245dea428e0db4a16d0 Signed-off-by: Doug Hellmann commit 62c30ec42670217763dafb75525dcdf281e66598 Merge: 46f3c01 12184dc Author: Jenkins Date: Fri Nov 9 16:50:20 2012 +0000 Merge "Use openstack versioning" commit 46f3c01dc76fbb35dabd3018df0490541c586a17 Merge: 4d08816 4a31748 Author: Jenkins Date: Fri Nov 9 16:50:12 2012 +0000 Merge "Fix documentation build" commit 4d088162c3816a2041d0e8fd5dd28377d926ec4d Author: Julien Danjou Date: Thu Nov 8 23:12:34 2012 +0100 compute: remove get_disks work-around The bug referenced on get_disks in nova has been fixed and the fix released in Folsom. Change-Id: I5443bb918166b71b6af2216776044c2a76cee704 Signed-off-by: Julien Danjou commit cd02257cc9e22feac57090302591c80a56653514 Merge: a5f966c c9247f1 Author: Jenkins Date: Thu Nov 8 22:04:51 2012 +0000 Merge "Remove database access from agent pollsters" commit 12184dc5c5de8689dc02ccc1271880eb520dcca8 Author: Doug Hellmann Date: Thu Nov 8 15:43:24 2012 -0500 Use openstack versioning 1. Add the version module from openstack.common. 2. Create a ceilometer/version.py to set up the version info. 3. Update setup.py from openstack.common. 4. Update documentation build to use the version module directly instead of running setup.py to get the version. 5. Update setup.py to use the new version module. Change-Id: I9d8be62b8ece75090bf335d27adb59a46e3d6263 Signed-off-by: Doug Hellmann commit 4a31748b306f546a01608268f1c339d27c30a14d Author: Doug Hellmann Date: Wed Nov 7 16:38:32 2012 -0500 Fix documentation build Re-establish the static "app" instance for the autodoc code and fix a formatting problem with some of the RST. Change-Id: I16f7db1ed66081305097b5ecf931b461347f6299 Signed-off-by: Doug Hellmann commit a5f966c5fb873fde9122e30b37dfde685d596e10 Merge: 2a82834 f2230c5 Author: Jenkins Date: Wed Nov 7 18:29:46 2012 +0000 Merge "document utc naive timestamp" commit f2230c51762328441535a1a36d84634029fce24b Author: John Tran Date: Tue Nov 6 18:23:14 2012 +0000 document utc naive timestamp Fixes bug #1048647 Change-Id: I611e28054d8e0d08b1b4a5343c7f586db7b6fdbb commit c9247f10698b017ca33ca99010e3d69719019905 Author: Julien Danjou Date: Mon Oct 8 22:14:46 2012 +0000 Remove database access from agent pollsters Fixes bug #1012242. Patch stolen from John Tran Change-Id: Iab59eb752199e0cd3c8134a29e05b53356a30d75 commit 2a82834fb92b40bdbadb668df4130b1d544db8e1 Author: Angus Salkeld Date: Wed Nov 7 10:42:31 2012 +1100 Fix merge error in central/manager.py We should not be using nova's manager. Change-Id: I36af1b1aaa11a41545fa8f67a3c084cc3150641b commit 5009e425f324bdc59e0a5281367383887a4eb99c Author: Julien Danjou Date: Tue Nov 6 17:17:34 2012 +0100 Fix nova config parsing Change-Id: Iafa3cdc2a83ccc5deb13a0718c96cf1a876d5e96 Signed-off-by: Julien Danjou commit d78e202b580e39a1bc9c1fea4d031379bc62bc0f Merge: baa8dcf f15892f Author: Jenkins Date: Mon Nov 5 22:49:08 2012 +0000 Merge "pollster trap error due to zero floating ip" commit f15892f229f3909dc1e3d5baa1cc5f95e172cc93 Author: John Tran Date: Fri Nov 2 16:44:42 2012 +0000 pollster trap error due to zero floating ip fixes bug #1056087 when nova doesn't have any floating ip addresses defined causes a db exception instead of raising it should be trapped Change-Id: Iea441fb8bcd720339b2446525a6202941c33a1ec commit baa8dcffbaad986aa5a14b59b8a487be566826f4 Merge: ce853d0 2789f14 Author: Jenkins Date: Mon Nov 5 11:32:27 2012 +0000 Merge "Use the service.py in openstack-common" commit ce853d09773358c2af59853c81a6dfec6a97fb63 Merge: 4c50ad1 445d711 Author: Jenkins Date: Mon Nov 5 10:58:39 2012 +0000 Merge "Allow no configured sources, provide a default file" commit 4c50ad1a7b3d9e5ad4e08e55ec391426072356fe Merge: 0a36c4c 5b2b2da Author: Jenkins Date: Sun Nov 4 22:34:42 2012 +0000 Merge "pin sqlalchemy to 0.7.x but not specifically 0.7.8" commit 2789f144d4776a79551ec7603b292460e08f3518 Author: Angus Salkeld Date: Mon Nov 5 08:28:59 2012 +1100 Use the service.py in openstack-common Also change the collector from a manager into a Service to make it easier to access the rpc connection. Change-Id: I1d79abb1db087110d565a9673a48de0502ac2a2b commit 445d711dd0e4fe59d7787fcea12d6024434c61aa Author: Julien Danjou Date: Wed Oct 31 18:29:52 2012 +0100 Allow no configured sources, provide a default file This fixes bug #1073654 Change-Id: I7cfb5016ab8a70bf9738baa497f6fe173f307242 Signed-off-by: Julien Danjou commit 0a36c4c73880cd625020359503bca052c99e620e Author: Angus Salkeld Date: Thu Nov 1 13:28:47 2012 +1100 Add service.py from openstack-common and all it's deps Change-Id: I9932a12bb011c86479b363b6e5a591969f77582b commit 4c43441d9dafedbc1b73cf8abdec32b1ccb65a71 Author: Angus Salkeld Date: Thu Nov 1 13:28:20 2012 +1100 Update common (except policy) Change-Id: I17a89a15ff3af5b9f31bf14b1bbe29b024cfc8c1 commit 415453bfe817aaf2849dbd7b71c33fabde6136fb Author: John Tran Date: Fri Nov 2 20:52:18 2012 +0000 nova fake libvirt library breaking tests fixes bug #1074488 Nova libvirt fake library was updated to include additional 'virtapi' arg required and our tests do not pass any args to it therefore breaking them. dansmith recommended to change fake.FakeDriver to Fake.FakeVirtAPI which will replicate the old functionality. Change-Id: Iedcd32cd038c6043d782565312adf5fcba8d9b7a commit 5a21eee3c6e80eb63420a033f53568d641800179 Merge: 2206ed8 b631dc3 Author: Jenkins Date: Fri Nov 2 15:25:03 2012 +0000 Merge "Move db access out into a seperate file." commit 2206ed8ee76500ab8beab7dfa40f08a910fdd27b Merge: 5aa0374 15eeeb9 Author: Jenkins Date: Fri Nov 2 15:24:18 2012 +0000 Merge "Add new cpu_util meter recording CPU utilization %." commit b631dc3a7ec4567da37407559c5fc3dad404e736 Author: Angus Salkeld Date: Thu Nov 1 13:27:56 2012 +1100 Move db access out into a seperate file. This is in preparation for using the openstack.common Service classes. Change-Id: I5ac78202199217387b91685e9d0409ae08cc18e0 commit 5aa03745eb77496a2e4738afbda1ac9a66614bf5 Author: Doug Hellmann Date: Thu Nov 1 14:00:50 2012 -0400 Remove invalid fixme comments These comments should have been removed in the changeset that introduced the ActiveExtensionManager. Change-Id: If69d0fe0d73be3efd75fb36e4d691fdf78942781 Signed-off-by: Doug Hellmann commit 15eeeb9fc16996ccf667f60752fead99597c983f Author: Eoghan Glynn Date: Fri Oct 26 21:33:36 2012 +0000 Add new cpu_util meter recording CPU utilization %. The existing cpu meter records cumlative time, which is not the most useful measure in all cases. We now also estimate the CPU utilization % based on sampling the time over subsequent polling cycles, and correcting for the fraction of host cores available to the instance. The usefulness of the util estimate depends in part on the polling period, which is assumed will be short (of the order of 1s) when this measurement is used in anger (for example to drive alarming). Change-Id: Icd7de1b2cbce12396a82a3f34acb6c39c1120992 commit fce52207a0ca94ebb641dbf81c25673082597cb8 Merge: 2b92c67 085fa79 Author: Jenkins Date: Thu Nov 1 16:27:15 2012 +0000 Merge "Fix auth middleware configuration" commit 2b92c67c9a9179263ed15ac4cca5ed4436e12f6c Merge: ec1fd77 e71000b Author: Jenkins Date: Thu Nov 1 12:28:54 2012 +0000 Merge "add mongo index names" commit ec1fd77660bb4b3806d89e074be563a6194265ac Merge: b9ab2c5 22cf0dd Author: Jenkins Date: Thu Nov 1 10:28:17 2012 +0000 Merge "Add basic text/html renderer" commit b9ab2c5cc4155a9f020c080885d6f83de80d278c Author: Eoghan Glynn Date: Wed Oct 31 15:28:15 2012 +0000 Fix TypeError from old-style publish_counter calls Fix calls to publish_counter() that didn't specify the source explicitly, to avoid the following error since the function signature has changed: TypeError: publish_counter() takes exactly 5 arguments (4 given) Change-Id: Ief05842be7b9c815a60827f6356f9064fef8182c Signed-off-by: Doug Hellmann commit 085fa79ec0240751be1bbd3c0025097970319a8e Author: Doug Hellmann Date: Wed Oct 31 15:24:42 2012 -0400 Fix auth middleware configuration Initialze the configuration object before initializing the middleware, and pass the resulting config in to the middleware so it can get the configuration settings. addresses bug #1071047 Change-Id: I2a487d2a2f2d3467e522868ac78dc4645bf7d643 Signed-off-by: Doug Hellmann commit 5b2b2daffe65dffeebba77e03a5eb918eb8680b3 Author: John Tran Date: Wed Oct 31 18:11:39 2012 +0000 pin sqlalchemy to 0.7.x but not specifically 0.7.8 last night's release of sqlalchemy 0.8.0b1 broke our build we need to stick to 0.7.x however a quick patch put us strictly on 0.7.8. The nova guys put out a more elegant patch so I'd like to incorporate. Change-Id: Ibf2a09826ed175f844be8551d68b5420aa132f6f commit 39d854330e346f9ec1668ff433e6d2a8f261dc6c Merge: e1eb5d9 05d6992 Author: Jenkins Date: Wed Oct 31 18:08:58 2012 +0000 Merge "Provide a way to disable some plugins" commit e1eb5d98bfb58c2a36f4b1b300ba8a0661f4a34a Merge: 015c7cd ae64a79 Author: Jenkins Date: Wed Oct 31 18:02:42 2012 +0000 Merge "Use stevedore to load all plugins" commit e71000be85b9321ed7b88345671a6648bff89e91 Author: John Tran Date: Wed Oct 31 17:38:34 2012 +0000 add mongo index names fixes bug #1028485 Change-Id: Iccdda933ebe574db2927a62516cf7e1189dac6eb commit 015c7cdc92902afa3103af3896d91b15341d2542 Merge: 2aec7f1 9902daf Author: Jenkins Date: Wed Oct 31 17:14:51 2012 +0000 Merge "implement get_volume_max for sqlalchemy" commit 2aec7f16f9b541673f8114d2402c24a35965d536 Author: John Tran Date: Tue Oct 30 23:39:00 2012 +0000 set tox to ignore global packages Ran into problems with Ming and stevedore which tox will look at the global installed pkg instead of the virtualenv pkg Change-Id: Ie1a834dce51fc916f1f3c3c1abd95d080ff1c9cd commit 05d6992ad778e802ef3aa1e406dce7d18606c3a1 Author: Doug Hellmann Date: Mon Oct 29 11:41:53 2012 -0400 Provide a way to disable some plugins Provide configuration options for the three plugin sets users may want to manage (compute pollsters, central pollsters, and notification listeners). Extend the plugin API so the extension manager can ask each plugin if it should be enabled. This allows, for example, the libvirt pollster to be loaded but then recognize that it should not be used and disable itself. Addresses bug #1021350 Change-Id: I82da823845ec49c1a93272411c43073bd4954377 Signed-off-by: Doug Hellmann commit ae64a792f8ac9a1e0969b205018d219fbaea05db Author: Doug Hellmann Date: Mon Oct 29 09:31:52 2012 -0400 Use stevedore to load all plugins Move away from calling pkg_resources directly to use stevedore to load plugins. This lays the ground work for handling disabled plugins during the loading phase. addresses bug #1021350 Change-Id: I94c2d0da2a6f9222611716b96455104a71564f29 Signed-off-by: Doug Hellmann commit 9902dafc548ec069e2d4094eb93d186bf56cfec6 Author: John Tran Date: Fri Oct 26 03:16:54 2012 +0000 implement get_volume_max for sqlalchemy Fixes bug #1057679 Change-Id: I0034bec7b5da23496ac04224013e571f7ea82abc commit 22cf0dd36e4195927dd3b60032050e90bc2003cb Author: Julien Danjou Date: Thu Oct 11 17:57:44 2012 +0200 Add basic text/html renderer Change-Id: I929d3fe0aed37bd3722f6a7dc96210a03668c87f Signed-off-by: Julien Danjou commit b937aa509ba1036bfc0df6965235c63cca3202cb Merge: 924eea2 42fdf1f Author: Jenkins Date: Tue Oct 30 14:34:56 2012 +0000 Merge "add unit test for CPUPollster" commit 924eea2e9bf6342b032d0b2f1a146d10717b3cf6 Merge: d42e267 320ef64 Author: Jenkins Date: Tue Oct 30 14:21:47 2012 +0000 Merge "Fix sqlalchemy performance problem" commit d42e267ce526574821b16f07f275e30a680eeb3a Merge: aae8428 6ddc415 Author: Jenkins Date: Tue Oct 30 14:18:28 2012 +0000 Merge "sqlalchemy record_meter merge objs not string" commit aae84287b05b46dcc27ddd7ea2a33f55e7fcab3c Merge: be425c1 dff3bd6 Author: Jenkins Date: Tue Oct 30 14:15:51 2012 +0000 Merge "Clean up context usage" commit be425c1f3412c2cc382ba17ccf8235f9fcb99807 Merge: 1f377c1 7b13db7 Author: Jenkins Date: Tue Oct 30 13:58:07 2012 +0000 Merge "add ceilometer-send-counter" commit 1f377c1cc00a0394817fd8e0eb0a1d32ddde2d30 Merge: dfa64ff e74b647 Author: Jenkins Date: Tue Oct 30 13:53:54 2012 +0000 Merge "Update openstack.common.cfg" commit dfa64ff99b959be21589689228955c079aea4b38 Merge: d1e3bfa 55d52ba Author: Jenkins Date: Tue Oct 30 13:42:36 2012 +0000 Merge "network: floating IP account in Quantum" commit d1e3bfad7984734e4e72326a70d956c48d107e2f Merge: 16c892b 5512992 Author: Jenkins Date: Tue Oct 30 13:39:00 2012 +0000 Merge "timestamp columns in sqlalchemy not timezone aware" commit 55d52bab01d10d0b1a70e91401b53f04ae27efbf Author: Julien Danjou Date: Thu Oct 25 12:16:41 2012 +0200 network: floating IP account in Quantum Change-Id: I0e4a8245bd524dd2073f52f7a808e9456816c4df Signed-off-by: Julien Danjou commit 42fdf1f3bdd75229de0ffa360889097eb4335e89 Author: John Tran Date: Tue Oct 30 02:39:33 2012 +0000 add unit test for CPUPollster Fixes bug 1064126 Change-Id: Ib5b39f77da02550829b6184462920b49c648dc12 commit 16c892bbfa605aef6c80226c3198e997930cc973 Merge: 70eab31 b47591a Author: Jenkins Date: Mon Oct 29 21:34:46 2012 +0000 Merge "Remove obsolete/incorrect install instructions" commit dff3bd6dcd1b3ba7f95656a334f236e0472d21bc Author: Julien Danjou Date: Mon Oct 29 15:15:07 2012 +0100 Clean up context usage Don't use nova context where openstack.common is enough. Change-Id: Ide2198758faece70fc8cd44ffd9a46d0972e423e Signed-off-by: Julien Danjou commit 70eab31d43966003bf57eaa11c280bd8942c1831 Author: Doug Hellmann Date: Mon Oct 29 11:53:51 2012 -0400 Add dependencies on clients used by pollsters Move the test requirement for glanceclient to an installation requirement, since the central pollster uses it. Add an installation requirement for cinderclient, since there is also a central pollster that needs it. Change-Id: I01fcc7c1d69a02b6ebf62b2c851e0e862f3439d9 Signed-off-by: Doug Hellmann commit 7b13db7aef253c4a2fc6b7c641dbbd73c12ef5b3 Author: Julien Danjou Date: Fri Oct 26 15:44:05 2012 +0200 add ceilometer-send-counter This program can be used to send counter manually. Change-Id: I11a7b7b99cf9aea6b6885cdc4640b8c2da54a564 Signed-off-by: Julien Danjou commit e74b647d6529e1b7a216ae986c73212fd838db64 Author: Julien Danjou Date: Fri Oct 26 22:32:47 2012 +0200 Update openstack.common.cfg Change-Id: Icde2348837fe35275900e00974dce24b901ec866 commit d72d3a9e17532df253b04b4d0c9c46ca02942415 Author: Doug Hellmann Date: Fri Oct 26 12:43:01 2012 -0400 Fix tests broken by API change with Counter class A previous change moved the "source" field from the Counter to the function that creates meter messages. These tests are not run in the CI environment because they depend on having spidermonkey installed, and it is not available on that server. Change-Id: I1e34ce087ae56bc18875ebe28b9cdf48ce8f493c Signed-off-by: Doug Hellmann commit acf8fb88d56b776cf0b83041f5e87e1b6ee88fd2 Author: Julien Danjou Date: Fri Oct 26 14:34:01 2012 +0200 api: add source detail retrieval Change-Id: I031d237f870172e87b9bcb413573a0ad5c18afca Signed-off-by: Julien Danjou commit f6868e5e4827e96754f832a0eae4c4210ea41df7 Author: Julien Danjou Date: Thu Oct 25 18:38:52 2012 +0200 Set source at publish time We stop putting the source in the Counter, but we set it via the configuration file and use it as a source. Change-Id: I82c00ac5e55e09ab38de9364cda3194beb35e3c4 Signed-off-by: Julien Danjou commit 365c7a849a4c3333e40c944ce021263280eb2149 Author: Eoghan Glynn Date: Thu Oct 25 21:00:29 2012 +0000 Instance pollster emits instance. meter Fixes bug 1071486 Previously the instance pollster emitted only the instance meter, whereas the notification handler for the instance.exists event emitted both instance and instance.. Since the pollster & handler would generally be triggered at different frequencies (e.g. every 600s versus once an hour) this led to an imbalance in the metering store whereby the instance counters didn't match the sum of the per-flavor counters as expected. Change-Id: Ic76a645f150a87bc92b4ccfc7a777dfe13502467 commit 55129929e19164526512e1aaedbd17e9374a8053 Author: John Tran Date: Tue Oct 23 21:49:47 2012 +0000 timestamp columns in sqlalchemy not timezone aware Fixes bug # 1066148. Sqlalchemy schema timezone fields are not timezone aware therefore the timestamps need to be adjusted as such Change-Id: I0979fe3b9487257f988790ddb23a317a3df7a19d commit 3deb7628fcbbcf090ac366d1a19420c255bcfac7 Merge: 1472d59 52eed63 Author: Jenkins Date: Thu Oct 25 20:50:44 2012 +0000 Merge "network: emit router meter" commit 1472d594becd655ffa695a93030d483bd2da6d68 Merge: 70442dc 6dfb634 Author: Jenkins Date: Thu Oct 25 20:44:17 2012 +0000 Merge "Change default API port" commit b47591a3c12879a659fdb08638e854b24dd82922 Author: Eoghan Glynn Date: Thu Oct 25 18:23:28 2012 +0100 Remove obsolete/incorrect install instructions Remove obsolete installation instructions for devstack, and added corrected versions for manual install. Change-Id: I7b9f8d8c508406ba432d41b0ef58c4f407551395 commit 52eed63c656fc4d15d0ee7c528d39023b6204698 Author: Julien Danjou Date: Wed Oct 24 15:31:27 2012 +0200 network: emit router meter This fixes bug #1070009 Change-Id: Ica5611d00984c8ca25e382bb8b54fbe9c87f5282 Signed-off-by: Julien Danjou commit 320ef645c84fbebdfd216574f0ff1b5623b26acc Author: John Tran Date: Wed Oct 24 00:06:53 2012 +0000 Fix sqlalchemy performance problem Fixes bug #1070074 too much lazy loading on the default model. Removed those and only added lazy loading to queries that specifically need eager loading Change-Id: Ifa7446bddef855ae8e8b76040ba3336a53606215 commit 70442dc8da560d3ccbd077e8a0faa4d4d8f1c525 Merge: 75adc8b 4d648d7 Author: Jenkins Date: Wed Oct 24 18:14:27 2012 +0000 Merge "Add OpenStack trove classifier for PyPI" commit 75adc8b779b8b3b63969712963a7692c7c7c78a4 Merge: 1d7e928 052e2cf Author: Jenkins Date: Wed Oct 24 18:10:56 2012 +0000 Merge "Added a working release-bugs.py script to tools/." commit 052e2cf7e7c18466f36617fc342b143173b7aacd Author: Graham Binns Date: Fri Oct 19 12:33:42 2012 +0100 Added a working release-bugs.py script to tools/. Change-Id: Ia6359aa485e8cd606e58589b6ad8b4cc2d629029 commit 6dfb6347606b07728ed86d35b650b69602250ba7 Author: Julien Danjou Date: Wed Oct 24 14:02:29 2012 +0200 Change default API port Change-Id: I16a7a97a32705f7db9e9f60e2f4b975b0682fd7e Signed-off-by: Julien Danjou commit 6ddc4159d557aefd517cd9c2712c14e5b86ed707 Author: John Tran Date: Tue Oct 23 20:46:30 2012 +0000 sqlalchemy record_meter merge objs not string Fixes bug # 1066145. Models expecting String Change-Id: Idbf39c29267f7d82f28cb22e5353415f6acb738e commit 1d7e928322ba2cc643870c2fe78fa50e63c6df61 Merge: 9425fcc c01c66c Author: Jenkins Date: Tue Oct 23 08:37:06 2012 +0000 Merge "Use glance public API as opposed to registry API." commit 9425fcc577b1c4fb5d607443cfe64e0a43cc037c Merge: 6bc3a13 1f2f5de Author: Jenkins Date: Mon Oct 22 22:18:15 2012 +0000 Merge "API: add Keystone ACL and policy support" commit c01c66c10fe8e78883664def0604158b7b77b7c9 Author: Eoghan Glynn Date: Mon Oct 8 18:26:32 2012 +0000 Use glance public API as opposed to registry API. Fixes bug 1064008 The motivation for switching over to the public API: - the registry API is more of an artifact of the internal glance architecture than a true public API - the registry API exposes internal attributes such as the backend store image location, which is stripped from the API-provided image representation for security reasons (hence should not bleed into metering) - the internalURL should be available from the keystone service catalog, so we can get rid of the registry host/port config Change-Id: I0d75392066a020c608a67f1ecf0e8dba15aa48f0 commit 4d648d7380526572353066b86853c5b30edaec76 Author: Doug Hellmann Date: Thu Oct 18 06:13:51 2012 -0700 Add OpenStack trove classifier for PyPI Add "Environment :: OpenStack" classifier for the PyPI catalog. Change-Id: I1ebbc684853203abba72ef72d63999be58870f3e Signed-off-by: Doug Hellmann commit 6bc3a13d931a49ae6cf9330872e032798a4ddbd1 Author: Doug Hellmann Date: Fri Oct 12 10:11:55 2012 -0400 bump version number to 0.2 Change-Id: I9b812e4b150bacc05d354e16e3089f70eae152d6 Signed-off-by: Doug Hellmann commit 424c544770cb52fb0bfe3e0c24015418e50bdcc4 Merge: 4cc7bfb 3557ac3 Author: Jenkins Date: Fri Oct 12 12:17:07 2012 +0000 Merge "Update metadata for PyPI registration" commit 4cc7bfb6c761e4faac494c9dcac5f5c86c46c922 Author: Nicolas Barcet (nijaba) Date: Fri Oct 12 12:28:52 2012 +0200 Nova libvirt release note Add note to specify that Nova meters are mostly working with libvirt Change-Id: I9ecc6953d7909f39e9bb84a4709db9414c40629d commit 3557ac32d5c65dd9ef6704becf768bc12d9f01ed Author: Doug Hellmann Date: Fri Oct 12 06:49:16 2012 -0400 Update metadata for PyPI registration Add trove classifiers and a download URL to setup.py to complete the data needed to register the project on PyPI. Change-Id: I3cbe50dfd2002e5946022507a18d6e36e34b46e0 Signed-off-by: Doug Hellmann commit fa52074c32c8d43a71f30d3af182437140b9f3bb Author: Julien Danjou Date: Fri Oct 12 11:20:53 2012 +0200 tox: add missing venv At least used for tarballs creation Change-Id: I4a50781ba930454480f4c35dd66494f892ac5985 Signed-off-by: Julien Danjou commit 0ada5607be59b1e6e5bac5dd1f083c6b9b11c674 Author: Nicolas Barcet (nijaba) Date: Fri Oct 12 11:07:28 2012 +0200 Fixes a couple typos Change-Id: Ic7363f336b544bea6d0dc93a6aec5df5320cdaca commit f8620ebe5ec24fe67ab1f8db3c54a20970567335 Merge: ac23afa 7b95818 Author: Jenkins Date: Thu Oct 11 19:02:16 2012 +0000 Merge "Set correct timestamp on floatingip counter" commit ac23afa9393ad6b60ceb3f01d9192c9335d0d089 Author: Nicolas Barcet (nijaba) Date: Thu Oct 11 18:38:44 2012 +0200 Counter renaming Add naming rules to doc Rename root_disk_size -> disk.root.size Rename ephemeral_disk_size -> disk.ephemeral.size Rename floating_ip -> ip.floating Rename volume_size -> volume.size Change-Id: I4f99dd12efeea3acffbb79b551246b9e506d82a4 commit 7b95818699217ed3f6de28c3bc485e31fcbeb716 Author: Julien Danjou Date: Thu Oct 11 18:52:16 2012 +0200 Set correct timestamp on floatingip counter Change-Id: Ifda6a9c4a62cce19cdf9f924a8fa8ee7f74a27ba Signed-off-by: Julien Danjou commit 898016cbde52392d6e85156f8e7f7084698475f1 Author: Julien Danjou Date: Thu Oct 11 17:44:51 2012 +0200 Fix API change in make_test_data.py Change-Id: I8fa874b4ae5fe189b52f87bb55acbc8463bf8872 Signed-off-by: Julien Danjou commit f2aee4b75d07a5f4d8ecf381934452e2a8dc9a3d Author: Julien Danjou Date: Thu Oct 11 14:41:05 2012 +0200 Fix Nova URL in doc Change-Id: I7837e80940e7ee9622bdcd3b1f253d582f383d1a Signed-off-by: Julien Danjou commit ae1d3d5821e7a537d6fd09d09e7f35164ddb262c Author: Nicolas Barcet (nijaba) Date: Tue Oct 9 17:17:13 2012 +0200 Some more doc fixes There was a spurious = at the end of a line in install.rst that made the TOC go bad. Updated the link to the new dev mailing list areas.rst - testing was mentioning a pre-release, changed to first version. Reformated (again) the release notes, hoping it will render better. Updated the ReleaseNotes file to now point to the rst Change-Id: Iabf03772498094b0b7e1014abb7fa56547feb636 commit fe3be9bacde27f29269d78826f59fc4ea40532ef Merge: 47c27cd a58a9ee Author: Jenkins Date: Tue Oct 9 20:35:44 2012 +0000 Merge "image: handle glance delete notifications" commit 47c27cd5860b5fdd1ecb9fda7857b8c71104615f Merge: c77b60e fb870c3 Author: Jenkins Date: Tue Oct 9 20:33:26 2012 +0000 Merge "image: handle glance upload notifications" commit c77b60ed1bd1d3a589d3c7ae19ffcb8f96254c90 Merge: 0ba7773 7873fd8 Author: Jenkins Date: Tue Oct 9 20:32:59 2012 +0000 Merge "image: add update event, fix ImageServe owner" commit 0ba777301999506dbfc27601515ddf9e3baa877f Merge: fc1b5cd e4ad2ce Author: Jenkins Date: Tue Oct 9 18:30:26 2012 +0000 Merge "Ignore instances in the ERROR state." commit e4ad2ce4ad9dfe139d9f9b2cd3fd9f8d37e74517 Author: Eoghan Glynn Date: Tue Oct 9 16:12:28 2012 +0100 Ignore instances in the ERROR state. Fixes bug 1064472. The compute pollster should not query libvirt for instances that are ERROR'd out. Change-Id: I8748694453ba6d9d58dc0555ed996fcd9400ad05 commit fc1b5cdd973ceb6b9b284267b15595b792b1012b Author: Doug Hellmann Date: Tue Oct 9 11:53:33 2012 -0400 Use the right version number in documentation Get the version number from the setup.py file. Change-Id: I50efc125c8857d9a531d7a00dba53b67baf7496b Signed-off-by: Doug Hellmann commit 57f353541f07039ee7ebadd4de2fd26514c6a36d Author: Julien Danjou Date: Tue Oct 9 16:54:05 2012 +0200 doc: fix network.*.* resource id Change-Id: I4402c5027c9ad10a7ac464fbda54e5596f0ea0e7 Signed-off-by: Julien Danjou commit a58a9eefaf66eb1f0cec198b33b5816fd92d3800 Author: Julien Danjou Date: Tue Oct 9 11:04:40 2012 +0200 image: handle glance delete notifications This fixes bug #1056982 Change-Id: Ica181bf8ee6f2952cf5e8c761768a58325ce802d Signed-off-by: Julien Danjou commit fb870c3a7b8c841fb477759fb37e5fdbda95a0b1 Author: Julien Danjou Date: Tue Oct 9 11:03:19 2012 +0200 image: handle glance upload notifications This fixes bug #1056983 Change-Id: I7af63a92c1181a371788d73bc0d3d79c1c9cadeb Signed-off-by: Julien Danjou commit 7873fd8bfda91170f15293e0cab6e59073d0574b Author: Julien Danjou Date: Mon Oct 8 16:26:09 2012 +0200 image: add update event, fix ImageServe owner This adds handling of image.update events and create 2 counters for it: Image, counting images, and ImageSize, counting images size. This fixes bug #1056981. This also fixes ImageServe owner which was set wrongly to user rather than project, and fixes counter type for ImageServe and ImageDownload to delta. Change-Id: I2512cdfc37f17c425f49a5e5d6d2e25ccb59a3ca Signed-off-by: Julien Danjou commit a725f64f3c7af81b96d1b5f2bcab6e6b8c70cf44 Author: Julien Danjou Date: Mon Oct 8 16:55:00 2012 +0200 network: fix create/update counter type & doc Change-Id: I96e662663c8d14a6d841746033be0b57d23ee9ee Signed-off-by: Julien Danjou commit 919b907bda1016bc708232730e236443ad142d70 Merge: f08f28a d0776d1 Author: Jenkins Date: Tue Oct 9 11:49:40 2012 +0000 Merge "compute.libvirt: split read/write counters" commit f08f28a26615add3f2ab819ab4bc1e592e87ce41 Merge: bdbfea3 7f9264b Author: Jenkins Date: Tue Oct 9 08:07:58 2012 +0000 Merge "Assorted doc fixes" commit 7f9264b1948aa60796d675db998c7abc301c4215 Author: Nicolas Barcet (nijaba) Date: Tue Oct 9 02:28:12 2012 +0200 Assorted doc fixes Remove FIXME:... and move to LP as 1064126 Reorganize Install section TOC Fix little gnats in configuration.rst Change-Id: I005574054ccdcfc293e7b2cbb29fbffae8e7ef51 commit bdbfea33278f385e029d797ddd682259caceb19f Author: Steven Berler Date: Fri Oct 5 15:13:26 2012 -0700 add max/sum project volume and fix tests Adds api calls to get the max or sum volume for a specific project. Moves the logic for deciding when to skip a test that needs the Mongo map-reduce feature into a new test db module. Adds TestConnection class to avoid recreating the underlying Database object when using mim. This is necessary because spidermonkey can only create a limited number of instances per process. Change-Id: Idefc01978e41ec823533b7dbb164319a916b155c Signed-off-by: Steven Berler commit ef6ba4b6a0f07820f74f709e5e162857986e32c5 Author: Nicolas Barcet (nijaba) Date: Mon Oct 8 15:29:09 2012 +0200 Add general options Add general openstack-common options to the documentation. Fixes Bug #1063709 Add missing references and fix formatting in folsom.rst. Change-Id: Idccc32db021e85c70e9d377c8988e94d8a84b5d0 Signed-off-by: Doug Hellmann commit d0776d148b31eecc3be12a75796e7129b853a14a Author: Julien Danjou Date: Mon Oct 8 15:09:22 2012 +0200 compute.libvirt: split read/write counters This fixes bug #1062219 Change-Id: I87486b99a8c4d132a1fe8660d669d3f884ed7883 Signed-off-by: Julien Danjou commit 1f2f5dea5fef70fe688fab6bcd04f52eac89ca4c Author: Julien Danjou Date: Wed Oct 3 18:03:01 2012 +0200 API: add Keystone ACL and policy support This fixes bug #1060919 Change-Id: I5257acc5eeace7f3ff38785223b1eaa7a3711d17 Signed-off-by: Julien Danjou commit 55e13884edd38d85f1c290f4394077e3c8601d42 Merge: 6a44602 56a3112 Author: Jenkins Date: Mon Oct 8 12:08:19 2012 +0000 Merge "Add documentation for configuration options" commit 6a446022d79d23cfd411e9553396f2f2eb53bc72 Merge: f3e7d2a 51550f2 Author: Jenkins Date: Mon Oct 8 11:59:37 2012 +0000 Merge "Move net function in class method and fix instance id" commit 56a31124829154d1fcb2e0c37afb7219687e8152 Author: Nicolas Barcet (nijaba) Date: Mon Oct 8 13:35:30 2012 +0200 Add documentation for configuration options Solves bug Bug #1021439 Change-Id: Icf9cea5bf5285923a0442386f788660bca918409 commit f3e7d2a611f54749d4cd6dc4250e566a38b40321 Author: Julien Danjou Date: Mon Oct 8 12:04:33 2012 +0200 network: do not emit counter on exists event, fix resource id We only emit resource counters like "network.create" when the event is not something like "network.exists", and we now emit it on the resource itself, not on 'network'. This fixes bug #1062949 Change-Id: Id36bc3818107bf7b806096b7aee670d7b18215a4 Signed-off-by: Julien Danjou commit 4a82b98ca7451e9abce443132bd6e2240933c39b Merge: ef10895 678f5bf Author: Jenkins Date: Mon Oct 8 11:30:17 2012 +0000 Merge "Prime counter table" commit 51550f2fdfe24f255c49be0d9e8a2d7091efc142 Author: Julien Danjou Date: Mon Oct 8 12:31:15 2012 +0200 Move net function in class method and fix instance id The instance id copied is not the UUID, so it's useless because it does not help to associate network with instances. Also, move make_vnic_counter function into a class method since it's not used anywhere else. This fixes bug #1063693 Change-Id: I31366d0edaf1f2768a9b7fe349faae2cc5c99e3e Signed-off-by: Julien Danjou commit ef10895ffaf3754e58b04c54814e3a0f3dc5978f Merge: 6e634ab 1b5eb0b Author: Jenkins Date: Mon Oct 8 09:39:45 2012 +0000 Merge "Fix the configuration for the nova notifier" commit 6e634ab55e29598f03f7d5661c804d897d31a536 Merge: cfe484d 3bce0da Author: Jenkins Date: Mon Oct 8 09:36:12 2012 +0000 Merge "Initialize the control_exchange setting" commit 678f5bfa957cf18991ad7833212ac2343f097b39 Author: Nicolas Barcet (nijaba) Date: Sat Oct 6 16:56:56 2012 +0200 Prime counter table Document the list of counters which are currently implemented. Specify meter type, volume and resource in the table Addresses bug #1030120 Change-Id: Id2e454144194a1a33534e6e74f60b4f8a5fd3e6f commit cfe484dc4895d2d491cd9cf999aa78e5b567c7a0 Merge: e8c4cc2 1a387d2 Author: Jenkins Date: Mon Oct 8 09:14:22 2012 +0000 Merge "Make the instance counters use the same type" commit 1b5eb0bad44430d27815814ac483c319a3aabc90 Author: Doug Hellmann Date: Sun Oct 7 18:30:20 2012 -0400 Fix the configuration for the nova notifier The global config object inside the ceilometer copy of openstack.common.cfg was not being configured, which meant the RPC code in openstack.common.rpc was not set up. That lead to an infinite loop when the notifier was invoked, since it tried to connect to the message bus over and over and over. This change forces the configuration object to be loaded from the ceilometer agent configuration file, assumed to be in /etc/ceilometer/ceilometer-agent.conf. It also changes the notifier to do that initialization the first time it is used, rather than when the module is imported. This prevents the tests from loading the module and initializing the config object, causing exceptions in any subsequent code that tries to add new configuration options. Also folded into this changeset is a fix to use the right db method to load the instance. Notification messages contain the UUID of the object, not the numerical key from the id column of the table. Therefore, we need to use db.instance_get_by_uuid() instead of db.instance_get(). Change-Id: I45719ab879ae6163329b6a886dee3e82ed4bc260 Signed-off-by: Doug Hellmann commit 3bce0da4cdd8b153d4df386e9a13dbb4f75f8295 Author: Doug Hellmann Date: Sun Oct 7 18:26:00 2012 -0400 Initialize the control_exchange setting The definition of the control_exchange option was commented out in openstack.common.rpc because each application needs to set its own default. Adding the value here puts ceilometer on the "ceilometer" exchange, just as the other OpenStack projects are on their own project-specific exchange. Change-Id: If420422f0c65f6c579827c59504c936bc7c926a8 Signed-off-by: Doug Hellmann commit e8c4cc271209621034e214bd22199d08e3e411fe Author: Doug Hellmann Date: Sun Oct 7 16:55:45 2012 -0400 Set version 0.1 Update the version number in setup.py to the first release number in preparation for the release. Change-Id: Ic16da1041ed92fb2a7ed5b30f5f5f80adc28bd78 Signed-off-by: Doug Hellmann commit 1a387d26a3d5d29fb3292634a6c34a10d9f23538 Author: Doug Hellmann Date: Sun Oct 7 16:27:46 2012 -0400 Make the instance counters use the same type The version of the counter emitted by the pollster in the compute agent and the version produced by the notification handler use a different "type" value. Make them both gauge. Change-Id: I40c21b458c2e3bf945b08bbed1ae962c20b15795 Signed-off-by: Doug Hellmann commit 262ef977c4fbbf43c4f01ecd6e0c37db856527e0 Merge: d3867e1 9884c39 Author: Jenkins Date: Sat Oct 6 17:59:50 2012 +0000 Merge "add quantum release note" commit d3867e167115969fc47e0a526a1e0fd4da755c80 Author: Nicolas Barcet (nijaba) Date: Fri Oct 5 22:41:12 2012 +0200 Restore manual install documentation The manual install documentation was accidentally removed when the devstack instructions were added. This commit restore these instructions alongside devstack. Update the devstack instruction to start the api server. Create an manual installation section for the API server. Change-Id: Ib037cfe61b9da5ea72851214d6e905246050f38d commit 9884c39d9d3487192e77309b2ed0bc26e9489a12 Author: Nicolas Barcet (nijaba) Date: Sat Oct 6 17:12:31 2012 +0200 add quantum release note Found this note in the quantum notification code, think it is worth being in the release notes. Change-Id: I6e30d47e1f50fb0f7fda6e0923d5836a2b133110 commit 3259347490ab95b86fb8bd5c28a9cf7b4340b1cd Merge: 9c5020c 2586f28 Author: Jenkins Date: Sat Oct 6 12:51:09 2012 +0000 Merge "Add release notes to docs" commit 2586f28b95fbac623619c44a871e1631912cd609 Author: Nicolas Barcet (nijaba) Date: Fri Oct 5 22:31:32 2012 +0200 Add release notes to docs The release notes should also appear in the documentation, one file per release. Change-Id: Iec34a15c9646f21dad0cf176f9607f0e5eee0c94 commit 9c5020cd4354201b525a7f3b6f3d2cccdfce7adf Author: Nicolas Barcet (nijaba) Date: Fri Oct 5 20:16:43 2012 +0200 Update readme and create release notes This is a first stab at the release notes which will need to be completed before release. Change-Id: Iecc5ebf5c7b23165b861d678ee97a7392099a7a2 commit 1a81c607181ed2312ee7fe9cc91a0d2b481a0ab4 Author: Julien Danjou Date: Thu Oct 4 16:41:24 2012 +0200 Remove duration field in Counter This fixes bug #1039069 Change-Id: I17b5188d1cab08369599b1c936ab8d00b96dcf67 Signed-off-by: Julien Danjou commit f1ecbcc829bcb8793d1d38a9ed746358a9795e57 Author: Julien Danjou Date: Thu Oct 4 16:33:16 2012 +0200 Add counter for number of packets per vif Change-Id: Ie1ef833998f4e706a2292614fbac33ec409bfe70 Signed-off-by: Julien Danjou commit 8ae8584f99df900c23c1f12b820881de74dcfc9c Author: Julien Danjou Date: Thu Oct 4 16:28:56 2012 +0200 Move instance counter into its own pollster There's no need to emit a counter in a specific pollster doing something else like CPU polling. Change-Id: If2adc861be4fec3b414d9688cf36219f6a7b04e8 Signed-off-by: Julien Danjou commit 07a90a2290d31b70906eeb887b68ddfb7d73fb6d Author: Julien Danjou Date: Thu Oct 4 16:27:27 2012 +0200 Add a request counter for instance I/O Change-Id: Ic34a38e9576278aada5270a6cfd3f9890c8e901d Signed-off-by: Julien Danjou commit ed8d845b492d0b069caeb69df89b166aa131a782 Author: Julien Danjou Date: Thu Oct 4 16:21:18 2012 +0200 Rename instance disk I/O counter This fixes bug #1060939 Change-Id: I0dc233a9143d64897ef1ad8e3d215f9c0974a432 Signed-off-by: Julien Danjou commit 23d587945a014f705f3dc16237e897ee6b6c5c8a Author: Julien Danjou Date: Thu Oct 4 16:19:18 2012 +0200 Rename instances network counters This fixes bug #1060918 Change-Id: I614c69b7a714f9256781f1f3afb1e90065abd84d Signed-off-by: Julien Danjou commit 972cbe74d0ee4547660a5c627a800e20feea63c9 Merge: 94ce128 8389e82 Author: Jenkins Date: Thu Oct 4 18:15:59 2012 +0000 Merge "network: listen for Quantum exists event" commit 94ce1286b4507af980dd5d7a4ed1b3a9e110b7e3 Author: Julien Danjou Date: Thu Oct 4 15:43:10 2012 +0200 Use constant rather than string from counter type Also fixes the type for floatingip counter. This fixes bug#1059765 Change-Id: I367303e3d6b4cdf53d3f60222a922d3ccc8190b5 Signed-off-by: Julien Danjou commit 7b8d9dfd91c294bdf9e077e44a39d4cbcf879b38 Author: Nicolas Barcet (nijaba) Date: Wed Oct 3 22:06:04 2012 +0200 Update the architecture diagram * adds consistency on daemon reprensentation (rectangle) * remove misleading link between colector and keystone * refine how central agent and event listener post back event to the ceilometer bus * glance is sending strandard events we collect * we do not poll quantum * clarify that swift is not implemented yet Change-Id: I434db9f7f08150e39c723bc084d28a377ac2b1ce commit bcbf3635f25306b8935123b306b4a6ca75aa04e6 Merge: 1ff7a0a 3e5a36c Author: Jenkins Date: Wed Oct 3 16:48:50 2012 +0000 Merge "Increase default polling interval" commit 3e5a36c5f96d8f6c513484fe6a855787f765fff7 Author: Doug Hellmann Date: Wed Oct 3 11:44:56 2012 -0400 Increase default polling interval The polling interval was set to 60 seconds for testing and development. This changeset increases it to 600 seconds, which should be more reasonable for production deployment. Change-Id: I45d834098194e39bab06fe6e18a2eb72e1e077a9 Signed-off-by: Doug Hellmann commit 1ff7a0a4f842450b9b9f5f50ce5aa8ee7dc35804 Author: Doug Hellmann Date: Tue Oct 2 22:31:25 2012 -0400 Fix compute agent publishing call The compute agent was not updated to use the right arguments when the publish module API was changed. Change-Id: I82df05b2a9897a536c09b55600f2b8c3ac05ae9e Signed-off-by: Doug Hellmann commit 8389e826032bc91cbc96f768bc9a82903a10951b Author: Julien Danjou Date: Tue Oct 2 17:30:23 2012 +0200 network: listen for Quantum exists event This fixes bug #1057589 Change-Id: Ia1a88e3b053e7c36b443d248e48034f24d639b03 Signed-off-by: Julien Danjou commit 16d8b439ecabc4f567d15796a507816f5a6b8286 Merge: 17e824e 63ad96f Author: Jenkins Date: Tue Oct 2 11:10:04 2012 +0000 Merge "Fix notification subscription logic" commit 17e824e035d20330c0e4f01651be98611b5cb79f Merge: 658ea8e a84edc2 Author: Jenkins Date: Tue Oct 2 11:07:01 2012 +0000 Merge "Correct requirements filename" commit a84edc22beac1352e320b052dbe97bb3594c6530 Author: Doug Hellmann Date: Tue Oct 2 06:37:45 2012 -0400 Correct requirements filename The pip requirements file does not have an extension. Change-Id: Id4efcbd24eb057c2811dd4c2390dd65f1bd8a1c9 Signed-off-by: Doug Hellmann commit 63ad96f19e458c374a13918a29f38eebe4df60aa Author: Doug Hellmann Date: Mon Oct 1 15:40:28 2012 -0400 Fix notification subscription logic We need to funnel all messages from all exchanges through the same function to dispatch them to the handlers. If we don't do that, we have multiple subscribers, each configured to be interested in different events but that do not all receive all events. The result is events being discarded. Change-Id: I31daa204c5ee13e8e5f767e0f5e61e2e7eafe624 Signed-off-by: Doug Hellmann commit 658ea8ed33c183c7ccfffe33227f3151878a723e Author: Doug Hellmann Date: Mon Oct 1 15:44:23 2012 -0400 Fix quantum notification subscriptions Correct a problem with the way the notification event_type names were constructed in get_event_types() and ignore delete events for now since they do not include the relevant metadata. Change-Id: I313727203a215118d3b9faabdd3f7600efb7be32 Signed-off-by: Doug Hellmann commit 3cdac9f3d09118483e54c1348be1ba933e25e451 Author: Doug Hellmann Date: Wed Sep 26 17:31:48 2012 -0400 Split meter publishing from the global config obj The meter signing and publishing code was tightly coupled to the global configuration object, making it more difficult to reuse in an outside project. This change adds arguments for the configuration settings actually being used in those libraries and moves use of the global configuration object higher up the stack to the manager. It also organizes the definition of the options related to signing and publishing metering messages so they can more easily by registered on other configuration objects. Change-Id: I8b1df0f228d0c2658841c4b7f7f4527414efc9a6 Signed-off-by: Doug Hellmann commit 0d4d97047cb0c6f3628fc1647b628cce978b2e7c Author: Julien Danjou Date: Mon Oct 1 15:36:09 2012 +0200 network: add counter for actions We also count creation, update and deletion of things. Change-Id: Iccc161a36b6332a077ef6f146e2c84d38f47c316 Signed-off-by: Julien Danjou commit fad2201a3072b338634c0a2ad4b901af11a76980 Merge: 7c72293 2004b59 Author: Jenkins Date: Mon Oct 1 14:11:14 2012 +0000 Merge "Rename absolute to gauge" commit 7c722937c1fad7161c0d9c3dfb0e3438bc0096a4 Author: Julien Danjou Date: Thu Sep 27 17:22:14 2012 +0200 network: listen for Quantum notifications This fixes #1021775 Change-Id: I62d6ea6522afe15ffde731b0e8d8a37e4596fd70 Signed-off-by: Julien Danjou commit 2004b5964e40a96fff98d5a5fddb2eda4a32b78b Author: Julien Danjou Date: Mon Oct 1 15:46:21 2012 +0200 Rename absolute to gauge After discussion with people outside of Ceilometer, it seems that absolute is a confusing name. For example, what we call currently 'delta' is called 'absolute' in RRD. Using gauge seems to be clearer. Change-Id: I1b686e34a1294cbdd35cdb84e3ab9c6c78df04dd Signed-off-by: Julien Danjou commit 162206793d3694f2f0dffe05e5fa276eb2da1abd Author: Julien Danjou Date: Mon Oct 1 15:31:17 2012 +0200 Fix typo in control exchanges help texts Change-Id: I5389dcb1fb1bdc533572bc9da0a7fd8f43b33689 Signed-off-by: Julien Danjou commit 6ddde20759eebc3d261b19ca03605832517d46a5 Author: Julien Danjou Date: Fri Sep 28 10:47:06 2012 +0200 Rework RPC notification mechanism We allow plugin to specify clearly which exchange and topic there are interested in, and we call directly the handler process notification without looking in a dict to be faster. Change-Id: I867f0b2568d140bfc0dae63163fd02c8c080d8d1 Signed-off-by: Julien Danjou commit cafeb43f28bd167a4dc4fcb913fe758ed4305e7e Author: Doug Hellmann Date: Fri Sep 28 15:44:29 2012 -0400 Update packaging files - Update the openstack.common.setup module - Update our openstack-common.conf to include setup.py in future updates - Use the common setup command class so the sdist command generates an AUTHORS file and ChangeLog Change-Id: I4469f0feaea5bb67022c6077bbea43110384f31b Signed-off-by: Doug Hellmann commit 150436ac2106b0cc55cbc013cc858face7a71051 Merge: d63eca3 d2e29db Author: Jenkins Date: Fri Sep 28 16:55:02 2012 +0000 Merge "Fix dependency on anyjson" commit d63eca399b8bd8dae251572b937f27179cc4966b Merge: ba0b9be c346258 Author: Jenkins Date: Fri Sep 28 11:05:12 2012 +0000 Merge "Update openstack.common" commit ba0b9bec041c0452defaab46e8f05c347bad122c Author: Doug Hellmann Date: Fri Sep 28 06:14:22 2012 -0400 Update URL list Update the progress list showing which endpoints have been implemented to include the /volume/sum endpoint for meters on a resource. Change-Id: I0e7663c985d7d188adcf5bbcdd8b7bc2da216783 Signed-off-by: Doug Hellmann commit c3462589f7082bac7c6cc9d264d6479a151b0c85 Author: Julien Danjou Date: Fri Sep 28 10:07:45 2012 +0200 Update openstack.common Change-Id: Ia231577cd6d0763db127337c6f3138d34be312d9 Signed-off-by: Julien Danjou commit 0796d18f1efa5c03a3cc81b83b61b8886ecd2bc2 Author: Doug Hellmann Date: Thu Sep 27 15:17:35 2012 -0400 Add volume/sum API endpoint for resource meters Provide an API for querying the total volume from a meter for a given resource. Change-Id: I5ee28fc2db7fd05f8259a4727c32a3c45507c855 commit dc466535d45cf5e0fbe468aa963e6fdffb8fc3b7 Merge: 6d00e73 d8d2fe6 Author: Jenkins Date: Thu Sep 27 18:14:46 2012 +0000 Merge "implement sqlalchemy dbengine backend" commit 6d00e7353c440b69eaf1f9a14ad61c8a0189c7e9 Merge: fa44e31 9855ffc Author: Jenkins Date: Thu Sep 27 18:11:39 2012 +0000 Merge "Add resource volume/max api call" commit 9855ffc36cc85c9384902661d4f8c78360ca1391 Author: Steven Berler Date: Wed Sep 26 16:42:50 2012 -0700 Add resource volume/max api call Adds the ability to get the max volume for a given resource and meter using the api. Change-Id: I0afed2904864522f0d428b678e9d56d7fee0a72b Signed-off-by: Steven Berler commit d2e29db5d94e0a41e118d4d9567a6027976feb6b Author: Doug Hellmann Date: Thu Sep 27 13:26:01 2012 -0400 Fix dependency on anyjson The main requirements.txt and the one for documentation had different specification for anyjson. This change also makes explicit the fact that we do not require anything other than what is listed in pip-requires to install. The library function looks at requirements.txt, too, which we don't have and should not use. Change-Id: I8e79ad0803e3a9ebeb2a1dae30b2e5abdbbe8276 Signed-off-by: Doug Hellmann commit fa44e3167c562b2e771bae214396d58d63b6e2cd Author: Eoghan Glynn Date: Thu Sep 27 12:01:00 2012 +0100 Listen for volume.delete.start instead of end Fixes bug 1057462 Register interest in volume.delete.start events instead of volume.delete.end so that the owner isn't charged for time taken to tear down the volume. Change-Id: Idf27876aff8a3ccb2a6f76679744c8513783d523 commit edaf8cf28e6b5322db3274c31fa96eece00212bb Merge: 40376ef c5ae3f1 Author: Jenkins Date: Wed Sep 26 22:16:46 2012 +0000 Merge "Add a notification handler for image downloads." commit d8d2fe6990e69de938da580d43401fee970796fd Author: John H. Tran Date: Fri Aug 31 11:17:43 2012 -0700 implement sqlalchemy dbengine backend implements bug #1021767 To sync db migration, for now use temporary script tools/dbsync. Modify it to point to your db url (example 'sqlite:///ceilometer.db' or 'mysql://user:mypass@localhost/ceilometer'). Also ensure the database_connection= in conf files point to same db url. Change-Id: I1c72b0a6b860738e94cf19666cb47db88ac9b251 commit c5ae3f1c16371568e1166f91207ba9a0a40306a6 Author: Eoghan Glynn Date: Wed Sep 26 10:23:07 2012 +0100 Add a notification handler for image downloads. Addresses bug 1004462 This patch requires https://review.openstack.org/13666 to have landed in glance, so that queue durability matches up in order to avoid precondition failures from rabbitmq. Change-Id: I18ba7d58625ef89e75d4e6b8896505ed11a1afb4 commit 40376ef9199034e9078333565863cff9f8228667 Merge: 625ba68 c4648ff Author: Jenkins Date: Wed Sep 26 13:04:20 2012 +0000 Merge "Create tox env definition for using a live db" commit 625ba68218785f9de5ef4c6ae6aa082f7a265574 Author: Eoghan Glynn Date: Wed Sep 26 10:20:02 2012 +0100 Allow glance pollster tests to run. Without the module __init__, we do not see these glance tests running under tox. Change-Id: Iaf974aaa0c1fbffb1e1c4d1685fd062c78890a5d commit c4648ff057c9525bf99f9a16262bfac331addc39 Author: Doug Hellmann Date: Tue Sep 25 18:04:29 2012 -0400 Create tox env definition for using a live db Set the environment variable to make the tests use a live database instead of the mock in memory version. Change-Id: I3d6be4f5d72aa59d5a4c19271f015d06b3e9c7ae Signed-off-by: Doug Hellmann commit 49209f45f6e70939bdb016e4195d6f75671d0816 Author: Surya Prabhakar Date: Fri Sep 21 14:24:04 2012 +0530 Picking up dependencies from pip-requires file. Also, removing pip-requires_essex and test-requires_essex https://bugs.launchpad.net/ceilometer/+bug/1055319 Change-Id: Ifec6b8fe5b53b45d8c94fbc87110f20541e9f3d0 commit 913c33c341609925d2dc93825142d50bc5f6f8c6 Author: Julien Danjou Date: Tue Sep 25 15:57:30 2012 +0200 Specify a new queue in manager We don't want to pull messages from the default existing queues and treat messages that other might expect, or miss some messages because they have been treated by others listening to the default queue. So we rather use our own queue where we expect messages to be routed from the subscribed topic. Change-Id: Ibeda4ca1deb4db6eaecf49998b96e6ceb1087e77 Signed-off-by: Julien Danjou commit 69d3b91a0c2471d5b24ff438123f5081d7876594 Merge: 40ef8d4 93ef06d Author: Jenkins Date: Tue Sep 25 13:50:37 2012 +0000 Merge "Add configuration script to turn on notifications" commit 40ef8d455efa2d4b9d8da7fa9b25fdbd1d1e0e73 Author: Julien Danjou Date: Mon Sep 24 19:04:34 2012 +0200 Rework RPC connection We are now able to listen to multiple topics, we don't use Nova RPC anymore and we have a single namespace for all collector plugins. Change-Id: I23603601cb285e9bd71beabfd9558fe903c24308 Signed-off-by: Julien Danjou commit 6ae7e3203eee34937f40cda07c634d7c36972159 Merge: 463d3e6 5f0bc1a Author: Jenkins Date: Tue Sep 25 11:07:03 2012 +0000 Merge "Pep8 fixes, implement pep8 check on tests subdir" commit 463d3e67abd4fbde08b893b7f178ecc1556f98fe Merge: b6f9b35 b1baf00 Author: Jenkins Date: Tue Sep 25 10:42:55 2012 +0000 Merge "compute: remove get_metadata_from_event()" commit b6f9b359fa05210dea94b74481f6c6556f698649 Merge: d481510 70c73db Author: Jenkins Date: Tue Sep 25 10:27:25 2012 +0000 Merge "Use standard CLI options & env vars for creds." commit d481510c1f59a113ac662a4be35b48732365d754 Author: Doug Hellmann Date: Mon Sep 24 19:50:45 2012 -0400 Stop using nova's rpc module Switch the import for the rpc code from nova to our copy of openstack.common.rpc. Change-Id: Id3bca93948ae079ff9ba11b5eeaf21ccb040aec2 Signed-off-by: Doug Hellmann commit 93ef06d2cb86a0583f3992576a25fcc6432d866b Author: Doug Hellmann Date: Mon Sep 24 19:24:52 2012 -0400 Add configuration script to turn on notifications Ceilometer depends on having notification messages enabled in the services being monitored. This script demonstrates one way to configure those notifications. Change-Id: I0310b6bafd999b7818e347d25bc4be168fdcfe7e Signed-off-by: Doug Hellmann commit 5f0bc1a6f13e13c7dd214c7169d90847f7857f93 Author: John Tran Date: Thu Sep 20 17:38:01 2012 +0000 Pep8 fixes, implement pep8 check on tests subdir Fixes bug #1053515 Change-Id: I2b886528c86e0ad5bdae5abf73890366f084e225 commit 70c73dbf9a0961e336c3546933aa30ef350ae85e Author: Eoghan Glynn Date: Mon Sep 24 10:52:41 2012 +0000 Use standard CLI options & env vars for creds. For consistency with the standard openstack CLIs, we use the same set of config/command line/env var options to provide credentials for the glance pollster's interaction with the glance-registry. (The exception here is the ability to pass in a previously acquired authentication token via --os-auth-token/OS_AUTH_TOKEN, as this would not make sense for a long-lived service given the limited lifetime of keystone tokens.) As well as having the advantage of familiarity, this approach allows users to avoid encoding sensitive credentials in config files (instead environment variables or command line options may be used). Also, if future non-glance pollsters need authenticated access to other openstack services, more generic naming of the config options would be preferable. Change-Id: I7505c3f668262951c034f36ccd15ce706f06bf0f commit b1baf00d1c530c24cb0df5ef085241a0c895d131 Author: Julien Danjou Date: Fri Sep 21 15:51:16 2012 +0200 compute: remove get_metadata_from_event() Use the notification_to_metadata() method from plugin.NotificationBase instead of our own copy, but enhance it with instance_type handling. Change-Id: I9c860435915a64d347c06956409db1c9e9a587ec Signed-off-by: Julien Danjou commit b0eb0b091e8f1ad9b2a566e0c802ba4dd398d8c8 Author: Julien Danjou Date: Fri Sep 21 12:01:23 2012 +0200 Listen for volume notifications This implements bug #1021772 Change-Id: Ic0292e8bdc20668abd331f4f03b06b9d1496217a Signed-off-by: Julien Danjou commit 50da744ed52dc909e203f21bcabf101256de46d2 Author: Julien Danjou Date: Tue Sep 18 20:27:05 2012 +0200 Add pollster for Glance This adds a pollster for Glance, polling for all images present via the Glance registry. Using the registry is obligatory because the Glance API would not let a user see all images. This fixes #1051335 Change-Id: I0c5afba8e3f1caf314b8dd95875fbe60b4c07f82 Signed-off-by: Julien Danjou commit 90a20dc7ba7df4ff778538c870a574fb8413165d Merge: 1b46ecb 0e9518e Author: Jenkins Date: Thu Sep 20 19:53:19 2012 +0000 Merge "Fix nova flag parsing" commit 1b46ecbd026f08a54cb71b2283bfc3b4ec63c23a Author: Julien Danjou Date: Thu Sep 20 15:41:32 2012 +0200 Fix Nova notifier test case Nova internal changed, and we don't need to stub this anymore for test to work. Change-Id: Id2946f37e790f333497a781fe2f7fbc358f351eb Signed-off-by: Julien Danjou commit 0e9518e9a9ce46602a3aeae228f1df3ce94c4d65 Author: Julien Danjou Date: Tue Sep 18 21:24:14 2012 +0200 Fix nova flag parsing We need to use parse_args() so the default config file is used. Change-Id: I7af19d77477e98b8181b1bce3d9cea1e86fca160 Signed-off-by: Julien Danjou commit 8229941dcf8dcd92ebc27171d76d626707ec1902 Author: Julien Danjou Date: Mon Sep 17 16:46:54 2012 +0200 Add nova_notifier notification driver for nova This adds a new notification driver to be used by nova in order to intercept instance deletion message before the instance is deleted. With this, we are able to poll an instance about to be deleted before it disappers and therefore not miss any meter. This fixes bug #1005944 Change-Id: Ie039681e8e440cb9be2f30e3d72d9a2bc4ddf5ba Signed-off-by: Julien Danjou commit 16b9f9006a0250ce61a81c053536335af181a8bc Author: Julien Danjou Date: Mon Sep 17 12:08:19 2012 +0200 Split instance polling code This just split the polling code for one instance out of the periodic task function to be able to use this code for only one instance. Change-Id: I4ec0ab3870410f0b6c7e44857a9dede60fb6d50b Signed-off-by: Julien Danjou commit 06b2207ef7fb8946ee377576ff0bbefb786ab373 Author: Doug Hellmann Date: Sat Sep 15 16:28:26 2012 -0400 Use stevedore to load storage engine drivers Use the stevedore library to load the storage engine plugins. Change-Id: I491317e64e4fa50340e16b0f67783bfeca09c979 Signed-off-by: Doug Hellmann commit 0a431b2e7c7e156a38d94272f6060db7bd0a5a8f Merge: a24e404 2d0da07 Author: Jenkins Date: Tue Sep 11 02:55:52 2012 +0000 Merge "Update openstack-common code to latest." commit a24e404aef3bab489e9c6f7034e7c6710e3c94f7 Merge: cb7eb6e d25a314 Author: Jenkins Date: Thu Sep 6 03:56:54 2012 +0000 Merge "Implement duration calculation API" commit cb7eb6e75fedec2eb00e15533b3bbbb5bf066ef3 Merge: 1af59e1 fbe59cf Author: Jenkins Date: Thu Sep 6 03:56:19 2012 +0000 Merge "Create tool for generating test meter data" commit d25a3147c14520ec48b41d87ddd7df945135bbb9 Author: Doug Hellmann Date: Fri Aug 31 10:15:52 2012 -0400 Implement duration calculation API Add the API for calculating the duration for a series of events from a given meter for a given resource. Replace the old duration calculation in the storage engine API with get_event_interval(). Change-Id: I54952e760fc5e108fa25d71b601b7ef2a4937e9e Signed-off-by: Doug Hellmann commit 1af59e12ad2babc36e6e407bdde8e3263fd526c9 Merge: d21f082 c237210 Author: Jenkins Date: Wed Sep 5 11:51:58 2012 +0000 Merge "Add timestamp parameters to the API docs" commit d21f0820200af1e16f02c929be2d2640b670842f Merge: 731d3fc b3c187a Author: Jenkins Date: Wed Sep 5 11:51:31 2012 +0000 Merge "Check for doc build dependency before building" commit fbe59cfa342ab44973e8de4d81abc607cd8f8eed Author: Doug Hellmann Date: Tue Aug 28 14:52:28 2012 -0400 Create tool for generating test meter data This new command line tool creates meter events and writes them directly to the database to make functional testing of the API easier. Change-Id: I23145da75dd6d671a36fa6cf8e5e613edabbb01e Signed-off-by: Doug Hellmann commit 2d0da07be277ac2a9b411ecec3c88633ee5d5c5d Author: Angus Salkeld Date: Mon Sep 3 13:55:35 2012 +1000 Update openstack-common code to latest. Change-Id: I63d32f70176af7ea6accf4c48c4fc8b646a7e31e Signed-off-by: Angus Salkeld commit 731d3fce5eff0bb377ec1f2d8ffb108b87889d2a Author: Angus Salkeld Date: Mon Sep 3 13:51:12 2012 +1000 Add bin/ceilometer-api for convenience This is a bit more obvious than running the module. I have basically just moved api/__main__.py into bin/ceilometer-api. Change-Id: I50d614ea98b278563b576e0b3b9df03b391e2152 Signed-off-by: Angus Salkeld commit 4b8a56f89accabb4512a76ba597a8c9f84376cdb Author: Nicolas Barcet (nijaba) Date: Fri Aug 31 09:21:25 2012 -0700 Add local copy of architecture diagram Replace the link to the google png export by a local png file as discussed during the last irc meeting. Place link to google doc as a comment. Change-Id: I03234cc9ed29ba385b2bda934ac3396cf1b76c15 commit c23721080476809736e12f4064c636c1ed9482e1 Author: Doug Hellmann Date: Fri Aug 31 12:05:55 2012 -0400 Add timestamp parameters to the API docs List the optional timestamp parameters to the API endpoints so they show up in the documentation. Change-Id: I6717dc91d1257ef6c738d8a407b88e31f5b78a2a Signed-off-by: Doug Hellmann commit b3c187aea9c4ed3f06873072f9e888d5a6496966 Author: Doug Hellmann Date: Fri Aug 31 12:04:26 2012 -0400 Check for doc build dependency before building The import error produced when the sphinxcontrib-httpdomain package is missing is for sphinxcontrib.autohttp.flask, but the package to install is sphinxcontrib-httpdomain. This check produces a more useful error message than allowing Sphinx to report the import error by itself. Change-Id: I2f53761da47b593e74d12c7dd213e69e4d71db21 Signed-off-by: Doug Hellmann commit e9852781398d023662f6e17c2928e5b5a0829f45 Merge: 113439d 27ba0bb Author: Jenkins Date: Fri Aug 31 15:42:07 2012 +0000 Merge "Fix PEP8 issues ." commit 113439da10628a210e3109ac672162aeba92ace6 Author: John H. Tran Date: Tue Aug 21 00:57:02 2012 -0700 Pollster for network internal traffic (n1,n2) Implements bug 1004449 Change-Id: I9ca8a19ec6b5635868cff1628a169faf2ff87331 commit fdcd37f6a37d74325411bf1e2e1c8d974f955088 Merge: 10c74a2 480052f Author: Jenkins Date: Thu Aug 30 14:22:50 2012 +0000 Merge "added mongodb auth" commit 27ba0bb324a0fe136f5fee4c205ad18aab8c638d Author: lrqrun Date: Thu Aug 30 11:17:56 2012 +0800 Fix PEP8 issues . Fix some pep8 issues in modified: doc/source/conf.py modified: tests/api/v1/test_list_resources.py modified: tests/collector/test_dispatcher.py modified: tests/compute/test_notifications.py make the code looks pretty. Change-Id: I50c167b457b18f3789a3f8d470faa2754a77b604 commit 10c74a2d79a0104e21a883f4f4ef26cd841a07f8 Author: Nicolas Barcet (nijaba) Date: Wed Aug 29 20:13:21 2012 -0700 Add archicture diagram to documentation Add the ceilometer architecture diagram to the documentation and fixes a few mistakes in the components description. Change-Id: I37efea3d313a250fbac3e0fe74a5b8ea2a0a96d9 commit 480052fc16d87b51dc7777401327c8a6cd30d19c Author: John H. Tran Date: Tue Aug 28 09:37:13 2012 -0700 added mongodb auth Implements bug 1022679. mongodb needs auth=true to be turned on, and user accounts in the appropriate dbs would need to be created. Add to ceilometer conf: 'database_connection=mongodb://username:password@:/' Change-Id: I6fbe563cb5660e2374edfe39b325a68c56ccd39a commit 029ee373378d8f4acf9351b7acda99932d340718 Author: Doug Hellmann Date: Tue Aug 28 16:32:51 2012 -0400 Change timestamp management for resources When saving an event, update the timestamp on a resource to the event timestamp instead of the current timestamp on the collector host. Change-Id: Ice378cb5be0820d8b817b7c4f635b8a5a8eef3b5 Signed-off-by: Doug Hellmann commit 5b153d5a8caec87a09e6ba01a0806d339c43254b Merge: 31453b1 f48b6ee Author: Jenkins Date: Tue Aug 28 13:21:35 2012 +0000 Merge "Log the instance causing the error when a pollster fails" commit 31453b1541a52ebd4efae53784304de9db538ec0 Merge: 2163a16 04bc720 Author: Jenkins Date: Tue Aug 28 13:21:27 2012 +0000 Merge "Document how to install with devstack" commit f48b6ee9340dc3212c6312827ecd3afa50071dec Author: Doug Hellmann Date: Thu Aug 23 13:17:13 2012 -0700 Log the instance causing the error when a pollster fails If a pollster fails, such as when libvirt cannot find an instance that nova thinks still exists, report the instance that caused the error. Change-Id: I7a42ed12954265c29b476f99d9f18db50d3b553d Signed-off-by: Doug Hellmann commit 04bc72023ff4dc223a896e0da7ac47aa2813ae69 Author: Doug Hellmann Date: Mon Aug 20 15:36:54 2012 -0400 Document how to install with devstack Update our developer installation instructions to reflect the fact that ceilometer can be installed via devstack. Change-Id: Id0b01bab7e688306832dd425e30119424c47c7f3 Signed-off-by: Doug Hellmann commit 2163a1689e959e37d4b35eb1220478dc5ce2a3d9 Author: Doug Hellmann Date: Thu Aug 16 11:29:15 2012 -0400 Remove test skipping logic. We have a patch going into MIM to support the type of query that made us need a real MongoDB so we can remove these skips. Change-Id: Ieb481492d654031edddfc7506e404fa0e0f2c2f0 Signed-off-by: Doug Hellmann commit 7eaf0247c745345926763bf2e0a016ebae5ce13b Author: Doug Hellmann Date: Mon Aug 20 17:30:20 2012 -0400 Remove dependency on nova test modules Replace all nova test module calls with stubs or mocks to avoid issues caused by changes in the nova test framework or nova itself. Change-Id: I07248b64cc5c30c90c5e68df09ae8dfc2875c279 Signed-off-by: Doug Hellmann commit 74239d9a83a6002e6112f5dd2b29eaf0ac62509c Merge: 7b18eef a08368e Author: Jenkins Date: Sat Aug 18 10:47:09 2012 +0000 Merge "Add setuptools-git support" commit 7b18eef52169196c6ec33355e0b4c6b9d8a1ef95 Author: Doug Hellmann Date: Wed Aug 15 20:18:44 2012 -0400 Add date range parameters to resource API Allow the caller to query for resources updated within a certain time range. Changes the storage engine API as well as the web API. Also includes a fix for the event date range query, which was broken when both start and end values were used. Change-Id: Ic482ea647ad07553a6621ba84ed76cf10d534652 Signed-off-by: Doug Hellmann commit a08368e574f37c0e91d8feb9a85e7729db7bcf82 Author: Chuck Short Date: Tue Aug 14 14:26:08 2012 -0500 Add setuptools-git support Standard way of generating tarballs across the openstack project. Change-Id: I9aede3008df212ff6b0191c2152137d131e96e4b Signed-off-by: Chuck Short commit 039f3d893dae74f1d3b3b0bca6f60904ae4a9b15 Author: Doug Hellmann Date: Mon Aug 13 12:28:31 2012 -0400 Add separate notification handler for instance flavor This notification handler records a meter event with the instance flavor included, making it easier to query for the amount of time an instance existed as a specific flavor. Change-Id: Ic162ac021f864c2a98c47127288867e940469ceb Signed-off-by: Doug Hellmann commit 867f168f615b995143e5a748ac833d2e9ed5f35b Author: Doug Hellmann Date: Mon Aug 13 12:27:23 2012 -0400 Change instance meter type The instance meter type was set to "cumulative" but it should be "absolute" so the aggregation code in the API knows how to reduce the values. Change-Id: I5bd44958c86d0431d2b0e427c75be92cfecdb28b Signed-off-by: Doug Hellmann commit a8ff8fe0c3cea6244a5f6003e39e9215f005812b Author: Doug Hellmann Date: Mon Aug 13 12:25:58 2012 -0400 Split the existing notification handlers up We want to be able to enable and disable the handlers for notification events individually. This change splits them up so they are registered with separate names to allow that. This change also adds python-glanceclient as a test dependency so we can import the test code from nova. Change-Id: Icc07baba3f00294d8ee505a2cc82f65c0c7f4fc9 Signed-off-by: Doug Hellmann commit 25d9bdb6ab12fc9fc31deee04be929eb00f4609e Merge: d8fafb2 384e6ca Author: Jenkins Date: Thu Aug 9 12:57:12 2012 +0000 Merge "Remove redundancy in the API" commit d8fafb2ef1f7c3fe8e7cf096098dc6c2d3de9917 Merge: 25bd337 43bdc45 Author: Jenkins Date: Thu Aug 9 12:56:55 2012 +0000 Merge "Separate the tox coverage test setup from py27" commit 25bd3376533b884aed6fbd8c7481359431331826 Merge: 57fbc98 06f9bc8 Author: Jenkins Date: Thu Aug 9 12:54:31 2012 +0000 Merge "Do not require user or project argument for event query" commit 384e6cafd3319dc19e3175e200423e54b7f8801c Author: Doug Hellmann Date: Tue Aug 7 12:42:12 2012 -0400 Remove redundancy in the API Clean up the API a bit based on the discussion we had on the mailing list about removing redundant URLs and queries. This changeset also ensures that each URL matches one function so that the automatically generated documentation will be accurate. Change-Id: I0a9ddd3c096919366492dfdfb78a462f34b0f85d Signed-off-by: Doug Hellmann commit 43bdc452dfd844bb704eae4a65c74cdb3740940e Author: Doug Hellmann Date: Tue Aug 7 12:22:09 2012 -0400 Separate the tox coverage test setup from py27 Change-Id: I0d60b182afe2e0b7cf4964bd4e8f3229373868ea Signed-off-by: Doug Hellmann commit 06f9bc8b740011ff22f1ead4816e1c074e449449 Author: Doug Hellmann Date: Tue Aug 7 12:21:05 2012 -0400 Do not require user or project argument for event query When we query for events by resource we do not need to provide a user or project because the resource is only owned by one entity. Change-Id: I32b3d8a6ed9f1d9de58565b13c9de12f3658326d Signed-off-by: Doug Hellmann commit 57fbc9838fb791822df99766ba196164506ca753 Author: Doug Hellmann Date: Tue Aug 7 11:32:32 2012 -0400 Add pymongo dependency for readthedocs.org build Change-Id: I85ee7a01f69273f1720eae39b80509578cb2d45b Signed-off-by: Doug Hellmann commit 536488ae6baaa02aacede1153bd964cd7913f982 Merge: 093c39b 01f4f47 Author: Jenkins Date: Tue Aug 7 15:24:00 2012 +0000 Merge "Update openstack.common" commit 01f4f4717ddd66cf7870695924819a5fa1b41161 Author: Julien Danjou Date: Wed Aug 1 12:42:34 2012 +0200 Update openstack.common This fixes #1031508 Change-Id: I2134b97615f87aa982dbbcc877e2d87c8c497244 Signed-off-by: Julien Danjou commit 093c39b9524acab9bbbde5dce7efa9752822c5d9 Author: Doug Hellmann Date: Tue Aug 7 10:17:47 2012 -0400 Add API documentation Use sphinxcontrib-httpdomain to produce documentation for the web API. Add docstrings to the exposed functions. See http://packages.python.org/sphinxcontrib-httpdomain/ for details about the format of the auto-generated output. Change-Id: I62edd1d00c048c4bce34711a23686f0089bbf4e7 Signed-off-by: Doug Hellmann commit 779dcde0db7fc8b672e76c375d951aeae17e47fb Author: Monty Taylor Date: Tue Aug 7 08:33:36 2012 -0500 Be explicit about test dir. Change-Id: I3516b5d58f58bfeac32a06317b0b3d0704d449f8 commit 3909b9d3882ae568edff9014286ad08628f9db92 Merge: bbb5a83 c966205 Author: Jenkins Date: Tue Aug 7 10:34:49 2012 +0000 Merge "Add list projects API" commit bbb5a8365ce616f97b972e107e11bfa0e97b4c75 Merge: c0bf81f fc2cb21 Author: Jenkins Date: Tue Aug 7 10:29:16 2012 +0000 Merge "Sort list of users and projects returned from queries" commit c0bf81fe1b55995af36b371a4b2ed7be4ce0d5ac Merge: a38b5cb fd6348d Author: Jenkins Date: Tue Aug 7 10:23:48 2012 +0000 Merge "Add project arg to event and resource queries" commit a38b5cb6e03a40ce23d46f29c85981129d6097a4 Merge: 275bb1b 1c92548 Author: Jenkins Date: Tue Aug 7 10:18:14 2012 +0000 Merge "Fix "meter" literal in event list API" commit c96620525ca4d9d7d458ea2fbbde9028f8b2e4f2 Author: Doug Hellmann Date: Mon Aug 6 16:44:47 2012 -0400 Add list projects API Change-Id: I7d7c62c540f0a57dbd192c08d4d1fe8aa2ea3312 Signed-off-by: Doug Hellmann commit fc2cb2177175895367ba65f620f8fa91bb94d3d4 Author: Doug Hellmann Date: Mon Aug 6 16:44:17 2012 -0400 Sort list of users and projects returned from queries Change-Id: Ic41d303d332ccb47907450027f5a09a825cc522f Signed-off-by: Doug Hellmann commit fd6348d363f20f4f9e276acad8979f209e9504fd Author: Doug Hellmann Date: Mon Aug 6 16:14:47 2012 -0400 Add project arg to event and resource queries Change-Id: Idfb39d02e8af2b00f6f14520b5219f48dcf8fe8a Signed-off-by: Doug Hellmann commit 1c92548c5a5dfb649e2cc48db1ed95e79aabade8 Author: Doug Hellmann Date: Mon Aug 6 15:49:18 2012 -0400 Fix "meter" literal in event list API Change-Id: I55dd108bab9a5aed9730d2c81ecab3a4ed909189 Signed-off-by: Doug Hellmann commit 275bb1be6d999c5a6137bc5a5b9a0ab559d84bb7 Author: John H. Tran Date: Sun Aug 5 23:53:28 2012 -0700 collector exception on record_metering_data Fixes bug 1033413 Change-Id: I7f5ba8fb32ac21e0e7cb3c83c27e9b41beac4a29 commit e24300b7995e5bb428494de63d621247dd1c9fe1 Merge: faf8139 74e381f Author: Jenkins Date: Wed Aug 1 10:40:21 2012 +0000 Merge "Add API endpoint for listing raw event data" commit faf81392095611789ebf6c15abe53e45ce2d4bc5 Merge: ffa4f93 8034b27 Author: Jenkins Date: Wed Aug 1 10:39:20 2012 +0000 Merge "Add {root,ephemeral}_disk_size counters" commit ffa4f93c9ce97899ffb55b64d811fa07063caf20 Merge: dbccbb5 3228eac Author: Jenkins Date: Wed Aug 1 10:38:22 2012 +0000 Merge "Implements vcpus counter" commit 74e381fc9d0adb17034f9eb8467b8ca4934020c3 Author: Doug Hellmann Date: Mon Jul 30 17:49:33 2012 -0400 Add API endpoint for listing raw event data This change adds some of the endpoints for listing raw event data from the database. It does not yet support listing events by project id. It also fixes a problem with the MongoDB driver returning Mongo's ObjectId instances in the results of the event query, which makes them impossible to serialize via JSON. Change-Id: I08d122ecd2f726fb1b2880bc22e28113f6a3aeb1 Signed-off-by: Doug Hellmann commit dbccbb5cb97c62ec6d87892cb0aa7b864bc27548 Author: Doug Hellmann Date: Mon Jul 30 14:42:00 2012 -0400 Change compute pollster API to work on one instance at a time We will eventually need the compute agent to accept instructions to poll the status of an instance before nova deletes it (for details see bug 1005944). This change prepares for that fix by making the compute agent pollsters take an instance as an argument provided by the caller, instead of accessing the database directly to look up the instances known to be running on the current host. Change-Id: I6a16405fd65bfb3c190d02f3d70b2bde7fc0fc83 Signed-off-by: Doug Hellmann commit 0e8f2359d9d1b5fc02fbc0fe92e788eb757feaa5 Author: Doug Hellmann Date: Mon Jul 30 12:44:16 2012 -0400 Create "central" agent This changeset is phase one of changing the pollster API to support polling individual instance resources. In this change, the single compute agent is divided into two separate daemons. The compute agent, for polling instance data, is still meant to run on the compute server. The new "central" agent, for polling resources not tied to a compute node, is meant to run on a management server (probably the same place the collector runs). The configuration of the pollsters is updated so that they are loaded by the appropriate agent. New base classes are introduced for each of the types of pollsters. For now, the APIs remain the same. The code implementing the agent and plugins has been moved around to reflect the new logical relationships, and the documentation is updated (including new installation instructions). Change-Id: Ica6e947b2e457f7db6672147af1369a24066037d Signed-off-by: Doug Hellmann commit 2eebd4a8bd5c868df2e316b5bc72ebca45dddce4 Author: Doug Hellmann Date: Wed Jul 25 14:09:34 2012 -0400 Skeleton for API server This changeset introduces a framework for the API service, including the dependency list, a couple of simple API methods, a test suite, and documentation for starting the development server. Change-Id: I4a496c600b7e6a0a8c70113b1d099614febd899d Signed-off-by: Doug Hellmann commit ab1437fbbc9781bedf3dea53d39f0498990b267d Author: Doug Hellmann Date: Thu Jul 26 15:39:57 2012 -0400 fix use of source value in mongdb driver Change-Id: I00b3c1c8af7b154516fea4ddb3f588ce2df5e46c Signed-off-by: Doug Hellmann commit 8034b27272bc8101f926319dbe3a4f7c57e1d070 Author: Julien Danjou Date: Thu Jul 26 13:28:14 2012 +0200 Add {root,ephemeral}_disk_size counters Change-Id: Ia4b9a9048df5cfca7cb868ee518297de86c78b71 Signed-off-by: Julien Danjou commit 3228eac892473aa87b2f82f240a4336fa320ef24 Author: Julien Danjou Date: Thu Jul 26 13:13:49 2012 +0200 Implements vcpus counter This is the same kind of counter of memory. Change-Id: If2e3a0e9c958f1c147ad1cbabcd25539d5b8b68f Signed-off-by: Julien Danjou commit 2fe0a3c3ef15b163310abda879ddb18b022fbd1a Author: Doug Hellmann Date: Wed Jul 25 15:07:01 2012 -0400 Fix nova configuration loading It seems some option handling within nova has changed, so we need to update our use of the configuration object. These changes ensure that the options we care about are registered before they are used. Change-Id: I0dd34f620eed5f43af6da5b02f9c41d35287c275 Signed-off-by: Doug Hellmann commit 344ad3eef063243dc5241b8700595927174534f3 Author: Julien Danjou Date: Thu Jul 19 17:13:29 2012 +0200 Implements memory counter This adds a memory counter, that is emitted at the same time than instance counter. It is the first counter implementing the 'absolute' counter type. Change-Id: I3bfd57da61029d43ba4f731f98dc58f790f9f8cd Signed-off-by: Julien Danjou commit dcce2c7323c0e8c9426604bc15a7e8f6ee70b86d Author: Julien Danjou Date: Thu Jul 19 17:01:34 2012 +0200 Fix and document counter types Document each counter type available and fixes the various counter already implemented. This fixes bug #1023969. Change-Id: Ibc8b726d59c3f9433109096958b1d40db043e70d Signed-off-by: Julien Danjou commit 6b9bd89649f7d436a8fb9d4db03b7b6e80432aaa Author: Julien Danjou Date: Thu Jul 19 14:51:16 2012 +0200 Merge c1 function into process c1 does not mean anything, so it seems better to merge it in the method its used. Change-Id: I51a953062d450ac4b392d0f86acc9a415b7b22af Signed-off-by: Julien Danjou commit 5affdd159a08f81b33a595fa51ed0cb63aaa70f2 Author: Julien Danjou Date: Wed Jul 11 17:11:34 2012 +0200 Check compute driver using new flag nova.common.deprecated: WARNING: Deprecated Config: Specifying virt driver via connection_type is deprecated. Use compute_driver=classname instead. Change-Id: I9c4e8e6abbf49f7b351b0f501f3e7aafa8d98896 Signed-off-by: Julien Danjou commit 8aaa93484b81c8599f3603471210858cad7e9cfe Merge: ebc0d76 fd86091 Author: Jenkins Date: Wed Jul 11 11:16:59 2012 +0000 Merge "Update review server link" commit ebc0d76c6ab9f15f95d30bac025c2118f09eab6a Merge: a985eaf 4bf8558 Author: Jenkins Date: Wed Jul 11 11:13:50 2012 +0000 Merge "Add link to roadmap" commit a985eaf359e431bba174d55262b3c87956f65316 Author: Julien Danjou Date: Wed Jul 11 12:32:03 2012 +0200 Add openstack.common.{context,notifier,log} and update .rpc Change-Id: I04e47ffc2eed86483e0c902532f20ef02d1d0641 Signed-off-by: Julien Danjou commit fd86091c6914c5fc2ab99223022761ca360e2afc Author: Nicolas Barcet (nijaba) Date: Tue Jul 10 19:10:28 2012 +0200 Update review server link Since we switched to another gerrit review server, the link needs. to be updated in doc/source/contributing/source.rst. As suggested by dhellmann, also updated the list ordering in the file. Bug #1023061 Change-Id: I46d8483966670de78dd468624a3a3cce62ffd1ea commit 4bf8558e0cf8be440a6e6a6634dbce8d41a84933 Author: Nicolas Barcet (nijaba) Date: Tue Jul 10 18:57:32 2012 +0200 Add link to roadmap It seems to make sense to have a link to the roadmap in the areas to contribute section. Bug #1023054 Change-Id: I5f97c440f794bc58fc38a648a39122b923e3335a commit 7526cf6aff81242c8b30c7fd812aadb8814d30a8 Author: Doug Hellmann Date: Mon Jul 9 10:49:52 2012 -0400 Add indexes to MongoDB driver Add some compound key indexes for the typical queries run by the engine. Separate variations are used for queries with user_id and project_id because they are usually mutually exclusive and because of the way the indexes are computed and stored the database won't take advantage of an index using both. bug 1021324 Change-Id: I9d6bbd1e7ac5a633fa3ead131a4ebc0a83226633 Signed-off-by: Doug Hellmann commit 1f9bce260993d714dc17ec24fd484332b783c0ef Author: Doug Hellmann Date: Thu Jul 5 11:08:01 2012 -0400 extend developer documentation - Add information about the system architecture (modified from the wiki to reflect what was implemented). - Add information about where we want contributions. - Add information about how to sign up to participate in the project and how to be a part of the community. - Add more detailed instructions for installing the development version from git. - Add a placeholder for documenting the configuration options. - Add instructions for running the tests after getting the source code. - Add a glossary and index. tags: DocImpact bug 1006366 Change-Id: I8927c55e77cdd31804249d101575f9e174e6232d Signed-off-by: Doug Hellmann commit fec72610abfbd32480dae73a93f566cbec050b5b Author: Julien Danjou Date: Tue Jul 3 13:04:07 2012 +0200 Reset the correct nova dependency URL This fixes bug #1019423 Change-Id: I8dd36926aa3457a9b985b5b98d7201383ec03518 commit 50aa91f5a5cd9147ed88920c8c3000be63556aa2 Author: Andrew Hutchings Date: Wed Jul 4 13:30:32 2012 +0100 Switch .gitreview to use OpenStack gerrit Change-Id: I868226291db9741c9e28c60ee0d3ddd21b042fd3 commit 4ee4a6895f873ef9864db243f96e0be3d4d10006 Author: Doug Hellmann Date: Fri Jun 29 15:17:06 2012 -0400 Add MongoDB engine. This change implements the first storage backend for ceilometer using MongoDB and makes it the default (instead of 'log'). - require pymongo and ming for tests - clean up entry point registration using textwrap - sketch in a simple data dump tool (tools/show_data.py) Change-Id: I0e3763749e88a71bc57b263ea79fff8d065c03ce Signed-off-by: Doug Hellmann commit 022ecffe56c1e607d76840200023998153ea4b42 Author: Doug Hellmann Date: Fri Jun 29 15:02:12 2012 -0400 Convert timestamps to datetime objects before storing Parse the incoming timestamp strings into datetime objects before passing them off to the storage backend. Change-Id: I42d825c9633fa2c120409d79883756d23b045a60 Signed-off-by: Doug Hellmann commit b345efa0be2dc21aa8ba8114611f877955468950 Author: Doug Hellmann Date: Fri Jun 29 15:15:20 2012 -0400 Reduce complexity of storage engine API In the process of implementing the first storage backend I realized that the proposed API was much more complicated than necessary. This changeset streamlines the API to make it easier to implement the plugins. - add ceilometer.storage.get_connection() convenience function - add get_volume_max() method - clean up query arg handling by using EventFilter - tighten up the DB query API by removing separate "by_user" and "by_project" methods Change-Id: Id4dffcc59dbee44fd4670bbe55b5e3380ea240e5 Signed-off-by: Doug Hellmann commit b40ac5f32bb356f238bdeb7eb0a7224d62f13a8d Merge: 378b856 2f630d9 Author: Jenkins Date: Thu Jun 28 11:26:07 2012 +0000 Merge "Documentation edits:" commit 378b856a9b803783d26efec140d1e817819b2473 Author: Julien Danjou Date: Thu Jun 28 13:01:38 2012 +0200 Remove usage of nova.log Change-Id: Iea9ca7cfbf6bd46aa2918c7fe1c54a44bd3f38d2 Signed-off-by: Julien Danjou commit 2f630d95e568e807960aadc05d3fd2e19031bc2c Author: annegentle Date: Wed Jun 27 12:29:52 2012 -0500 Documentation edits: * Fixes index.rst to include the writing_agent_plugin page * Minor typo fixes * Adds more links so devs can see what usage data already exists * Addresses review comments Rebase against master. Change-Id: I62160e1f5583ad540d940e1c44dbd8c6cf460e67 commit 158ed6b568e08d3de9463b82a301f3f7cf08ca3c Author: Doug Hellmann Date: Tue Jun 26 16:36:58 2012 -0400 fix typo in instance properties list Change-Id: Ib09f4ab8db06d024ff863b54702a36f6ef77698b commit 77958016aa113209502323c97674ef5982443b40 Merge: 8232832 4bcd1c4 Author: Jenkins Date: Wed Jun 27 16:07:00 2012 +0000 Merge "Add Sphinx wrapper around existing docs" commit 4bcd1c46a01b21b2c19b9e10f69ca5477ab49607 Author: Doug Hellmann Date: Wed Jun 27 11:39:37 2012 -0400 Add Sphinx wrapper around existing docs bug 1018443 This patch sets up a basic Sphinx project to allow us to build the documentation. It also moves the "dev" docs into the new doc source directory. Change-Id: Ie2ad0f2e4ed237f1373c4357d5763fd5218d738a commit 8232832bbae07c485b5600542c09c5eb5adef7ff Author: Doug Hellmann Date: Tue Jun 26 15:25:12 2012 -0400 Configure nova.flags as well as openstack.common.cfg Because we are using nova classes directly (Service, Manager, etc.) we need to initialize the configuration modules that those classes use. Change-Id: Idafd4a8346fc59332114ea7536893470bf9eaff8 commit 1b7b651d860a8fe38d523f67cb229302159d0872 Author: Nicolas Barcet (nijaba) Date: Wed Jun 27 12:04:28 2012 +0200 First draft of plugin/agent documentation. Fixes bug 1018311. Change-Id: I5723ab7cdf3f552b23927380a764c53f7beb4f10 commit d179cbf4ef5d6211f182c6a578895a1dd1897650 Author: Julien Danjou Date: Wed Jun 27 12:26:27 2012 +0200 Essex: update Nova to 2012.1.1, add python-novaclient Change-Id: I6881bdb8064df4e88a37ead3426d9666c0f77278 Signed-off-by: Julien Danjou commit b3a11dbf7b20aebf3937bd81d5ce6f65178c4be2 Merge: 3c01cce ffea2f5 Author: Jenkins Date: Tue Jun 26 18:01:03 2012 +0000 Merge "Fallback on nova.rpc for Essex" commit 3c01ccefd52a24bf112691d0273c0cbd465733ff Author: Julien Danjou Date: Tue Jun 26 14:26:57 2012 +0200 Split service preparation, periodic interval configurable Change-Id: I71d1e81e2b2347fb7e3ba2edfa7f21eb9cffb401 Signed-off-by: Julien Danjou commit 5d90f057cb923a07214e4753d0d6296805197e88 Merge: e162877 a4a15e7 Author: Jenkins Date: Tue Jun 26 06:06:08 2012 +0000 Merge "Use the same instance metadata everywhere" commit a4a15e732bc65e75eccaea91b7778deab9bba566 Author: Doug Hellmann Date: Mon Jun 25 19:06:46 2012 -0400 Use the same instance metadata everywhere Update the code that generates the instance metadata used in the pollsters so that it includes all of the values pulled from the notification messages. This keeps the metadata for an instance consistent for all metering messages. Change-Id: I74534e5236fd6580fad42ae4e1c7321dc880bc8f commit e16287766dbf9497b0a9ecae852ebcb26308f980 Author: Doug Hellmann Date: Mon Jun 25 16:52:08 2012 -0400 Emit meter event for instance "exists" bug 1005941 As we check the CPU utilization for an instance also emit a meter message indicating that the instance still exists. Change-Id: I7a592efc750c6e0a9a24394e05bd2d75da3377b6 commit a78f2f447fadce834f02ead9a2a04511ac97d687 Author: Doug Hellmann Date: Mon Jun 18 19:01:23 2012 -0400 Start defining DB engine API Sketch in API to support queries defined in http://wiki.openstack.org/EfficientMetering/APIProposalv1 Change-Id: I282f1d5893c55fca684a74395a82e603c799343f commit ffea2f5cd77bd7914fd1f9ffe2eaf4ae3836ca26 Author: Julien Danjou Date: Mon Jun 25 14:47:48 2012 +0200 Fallback on nova.rpc for Essex Change-Id: I2a1ca5a0c77900d2310b4534f92da885fa27f430 Signed-off-by: Julien Danjou commit bf555549df9bb668d0a049d333a0e36994847a1b Author: Doug Hellmann Date: Mon Jun 18 12:28:06 2012 -0400 Add instance metadata from notification events bug 1006120 This change depends on a change to nova to include the extra data in the outgoing notifications. Change-Id: Ieaee00f5f6c0a9f6d00843adbcc2cd995334bbd1 commit d9faf1c20476e1dd2a12b389eda25d0c439074a5 Author: Julien Danjou Date: Fri Jun 15 15:04:09 2012 +0200 Combined fix to get past broken state of repo This patch includes several separate sets of changes which have been reviewed individually but must be submitted together to get past the newly updated version of pep8 and changes to the nova code base. 1. Replace our CONF object with the one from openstack.common.cfg. There's no need to use our own, especially since some option are already registered on it for us. Signed-off-by: Julien Danjou 2. Instead of importing the RPC code from nova, use the openstack.common.rpc package. This change copies that code in from openstack-common, changes the imports throughout ceilometer, and fixes the way the configuration settings are initialized. 3. Resolve PEP-8 issues introduced by an even more pedantic version of pep8 (1.3.1). Some of the changes are fixed, and some warnings/errors are suppressed. 4. Ignore import errors in impl_qpid because the qpid package is not installed on the stackforge test server. 5. Fix missing imports from gettextutils in openstack.common. Change-Id: I0ee7d4b3278d8ff1951ca27592e3be8a87fe4854 commit 3f68534579e1a99558cbdfff90fffeffc1226284 Author: Julien Danjou Date: Tue Jun 12 13:50:10 2012 +0200 Add more metadata to instance counter This fixes #1006120 Change-Id: Iba774d6ffbcceb7c35da48c103c7907af175e64e Signed-off-by: Julien Danjou commit 8d47e17f354a5afe592b94cce348782d353bb036 Author: Julien Danjou Date: Mon Jun 11 15:43:37 2012 +0200 Register storage options on import We already does this for other module, so continue. Change-Id: I1e38fd0eddd41b9e4e239c0b5fbbaf31ebf4d599 Signed-off-by: Julien Danjou commit a5b73215791b39f7dd2a6cf96583799d87fa995a Author: Julien Danjou Date: Mon Jun 4 16:46:26 2012 +0200 Add Essex tests Change-Id: I098888c9d011819a6bca4df532534a39da67e9eb Signed-off-by: Julien Danjou commit 5705468da291df255619f2d7e13d2abb5c2624a2 Merge: 6a7c935 9823714 Author: Jenkins Date: Mon Jun 11 16:35:52 2012 +0000 Merge "fix message signatures for nested dicts" commit 6a7c93574b3a75447188ed53f18ff9c77b32266b Merge: 68d0fac 8101f52 Author: Jenkins Date: Mon Jun 11 16:34:09 2012 +0000 Merge "log more than ceilometer" commit 68d0faccc8eb53cc38896ff5d1e89055ca4602cf Merge: c9aae11 3b075dc Author: Jenkins Date: Mon Jun 11 16:31:59 2012 +0000 Merge "Remove event_type field from meter messages" commit 8101f52ed788ad41c41c644c9a20912cb99abd96 Author: Doug Hellmann Date: Mon Jun 11 11:32:42 2012 -0400 log more than ceilometer The default logging configuration does not include output from packages other than 'ceilometer'. Since we depend on nova services, we want to have those messages logged, too. Change-Id: I4f67b61d3990a0667ee91e32c77ab909f600d451 commit 3b075dc7afda3be874af503e07d3a4ac1d296870 Author: Doug Hellmann Date: Mon Jun 11 11:10:53 2012 -0400 Remove event_type field from meter messages The event_type field is made up of the meter exchange name and the counter name. That information is available elsewhere, so the field is redundant. bug 1006995 Change-Id: I37ed14e469bc146017ecceedd6539d61eb7823e1 commit 9823714e9e5cfdab55514a760149c6985052480e Author: Doug Hellmann Date: Mon Jun 11 11:12:11 2012 -0400 fix message signatures for nested dicts The order of iteration for dictionary keys is not guaranteed, so we need to address nested dictionaries directly. Change-Id: Iebfaa11d9edea3749ce7b86b5f723f955c535057 commit c9aae1118f09a498ee000adec26a8045b63734da Author: Julien Danjou Date: Mon Jun 11 15:43:15 2012 +0200 Remove nova.flags usage There's no need to use nova.flags here, we can use our cfg module. Change-Id: Ia6ecbf48a89a07b702d2955f89851b5c188a62fd Signed-off-by: Julien Danjou commit f413db8a2ae33ab3f58b22bc764b819855397941 Author: Julien Danjou Date: Thu Jun 7 14:44:21 2012 +0200 Copy openstack.common.cfg This fixes bug #1009586 Change-Id: If188709510ac98413e8c568d5a9e8c5f758c8497 Signed-off-by: Julien Danjou commit d01b964becfec5146f3e6a3873dea32bec58ab59 Author: Doug Hellmann Date: Thu Jun 7 18:00:49 2012 -0400 check message signatures in the collector bug 1006990 add verify_signature function check the signature before calling the storage engine to save the data add coverage to py27 environment by default fix use of mox in existing test Change-Id: I6666ea117fb66526ee187b168eca88e4b0092a23 commit 1bd1fd6846a50d439242e1d7c6c5cbc63f5b5a88 Author: Doug Hellmann Date: Wed Jun 6 15:32:42 2012 -0400 Sketch out a plugin system for saving metering data. Change-Id: Ib91213ac78fd5e3baf7200849b4fa8554c652a99 commit 0767165ebcefc217257c7914854050bff54c85f1 Author: Doug Hellmann Date: Wed Jun 6 16:25:49 2012 -0400 refactor meter event publishing code There were two places that had all of the logic for constructing a metering message and sending it to the appropriate exchanges. This changeset combines those into one function and invokes the function from the old locations. Update tox.ini to work around an issue with providing access to the global site-packages (https://bitbucket.org/hpk42/tox/issue/32). Change-Id: If2b01edbc0c372907a04baf69f1137575b6921bd commit 0c80375984504e0c12090d61cfd8cce74c7d32f7 Merge: c491a93 966af69 Author: Jenkins Date: Thu Jun 7 17:06:22 2012 +0000 Merge "Use timestamp instead of datetime when creating Counter" commit c491a93a3983b3d6d7b2090033c6a441858a5dd4 Merge: 8780157 f5b0842 Author: Jenkins Date: Thu Jun 7 17:06:01 2012 +0000 Merge "add counter type field" commit 8780157755de98914a0abd90d5d2475227ab91e6 Author: Julien Danjou Date: Wed Jun 6 11:02:20 2012 +0200 Add and use ceilometer own log module This fixes bug #1004130 Change-Id: I143124ad411d5efefa604e831173dca87548bd7f Signed-off-by: Julien Danjou commit f5b08423b913043891a956ad1dd92a553c24d557 Author: Doug Hellmann Date: Wed Jun 6 16:11:07 2012 -0400 add counter type field bug 1006425 Rename the existing counter "type" field to "name" and add a new field with values of "cumulative" or "delta". Change-Id: I459049bab28c3e2146b7a1b2e134dddabe381a6a commit 966af691276cc7f3eaccae4518d0d8b09dde2a75 Author: Doug Hellmann Date: Tue May 29 10:01:48 2012 -0400 Use timestamp instead of datetime when creating Counter Change-Id: I444b96196107383840c6c9ac070492ecf34079f2 commit 14c068d2e83ca0ee4a1de6c9a83338bf93a157e6 Merge: 6fa69bb 3fcb8da Author: Jenkins Date: Wed Jun 6 17:48:53 2012 +0000 Merge "Make the stand-alone test script mimic tox" commit 6fa69bbdccb9273ef1e55f08dc3db926ab20529c Author: Julien Danjou Date: Mon Jun 4 10:24:33 2012 +0200 Use new flag API This changed since 00786bc554a2dfacb3c6f02fbb7e9c98f35d4262 for blueprint cfg-global-object in Nova. Change-Id: Iaae34a1e4953c964b99411247219f7b72358823f Signed-off-by: Julien Danjou commit f9d74149735adf924c0e3f687204dc62760180b6 Author: Julien Danjou Date: Mon Jun 4 10:32:08 2012 +0200 Fix a PEP8 error Change-Id: Ifeca665ad34e014fde5006b8ca83e7851f15622f Signed-off-by: Julien Danjou commit 3fcb8da4a1068f7bb85ad410759f64eb2a7b1021 Author: Doug Hellmann Date: Wed May 30 12:00:59 2012 -0400 Make the stand-alone test script mimic tox The tox setup does not work on Ubuntu Precise for some reason, but running nose directly does. This update tweaks the stand-alone script run_tests.sh to mimic the behavior of tox. It also adds the "cover" directory created by the coverage plugin to nose to the list of files being ignored by git. Change-Id: I65224cf4bf75e6b7fc0207b3545c466bdac5a35c commit 697c4c1051bb991cf7478d2b789ae3730f09b857 Author: Julien Danjou Date: Wed May 30 17:52:31 2012 +0200 Remove unneeded eventlet test requirement Change-Id: Icfc4dd69beae3a07a5005d4d519f8ce433313dee Signed-off-by: Julien Danjou commit d615fb872ddceaf1ddef7e3997bcf2523cab283e Author: Doug Hellmann Date: Tue May 29 17:16:27 2012 -0400 Add listeners for other instance-related events bug 1004560 Convert events for instance "exists" check and deletion into counters. Change-Id: I882eeed2baf0445c53236c14f30969e95494a714 commit 5e0a32f47505d342676099518ec3fad558c61511 Author: Doug Hellmann Date: Tue May 29 17:57:58 2012 -0400 Add tox configuration Change-Id: Ic4051617b5757c649cd59dacf8e9dd9d7e9819a6 Signed-off-by: Julien Danjou commit a49e59b1151ce87c8f4ed6e12368e01dbbb6243a Author: Julien Danjou Date: Tue May 29 16:18:04 2012 +0200 Use openstack.common.cfg for ceilometer options Change-Id: Iba7df922a7d6b3eec7db427b4135e6fa2ad2d416 Signed-off-by: Julien Danjou commit bbc706c4c02d2750df961474b00998b9766cd47a Merge: b76f67d d4635be Author: Jenkins Date: Tue May 29 08:59:32 2012 +0000 Merge "Add floating IP pollster" commit b76f67d11f5bed61818b9dcaf77b20bfb087547b Author: Doug Hellmann Date: Fri May 25 14:22:09 2012 -0400 Publish and receive metering messages bug 1004198 bug 1004200 - Set up the collector to receive the metering messages. - Make the collector republish notifications as metering data. - Add a "monitor" mode to tools/notificationclient.py to simply print the events without writing them to a file. - Add a --topic flag to tools/notificationclient.py so it can be made to listen events other than notifications (for monitoring metering events). - Change "counter_datetime" within the metering message to "timestamp" to be consistent with the notification message format. - Add a configuration option to control the secret value for signing metering messages. - Make the collector and agent daemon control topics more specific. - Use the config setting to set the metering topic subscription. - Set a short interval for polling to get more data for development testing. - Log after successful load of pollsters instead of before attempt. Change-Id: Iedfe26f8a4fa80d88cd0a76e5738001ba5689bdc commit d4635bede100934d1535b334dfc5a694bffe7d97 Author: Julien Danjou Date: Thu May 24 15:06:22 2012 +0200 Add floating IP pollster Change-Id: Ia5e71117f0e1bec7dcbbd5a9332c07297fcd5c1f Signed-off-by: Julien Danjou commit dbccf0ce6974fc3665f0ffd63a9b08725339d6cf Author: Julien Danjou Date: Thu May 24 13:48:07 2012 +0200 Fix tests based on DB by importing nova.tests This is the same trick used in nova test suite. Change-Id: I280dc6b3881d4a1d6503b9a0b313ec395b97e238 Signed-off-by: Julien Danjou commit bc1f004f8f3e182e198702d286dcb56b31fa8ba8 Author: Doug Hellmann Date: Wed May 23 13:07:29 2012 -0400 make the pollsters in the agent plugins Move user_id and project_id into the Counter since the polling code has to pull those values from the instance object. Convert the libvirt polling code to plugins. Have the agent manager load the plugins and run them as part of its periodic task step. Change-Id: Id59a696beb33c7c9a232460ce52e272f5408e70d commit 5717e9c5c9a029d1b1daa72f2e7ac0ab1039bf0c Author: Julien Danjou Date: Tue May 15 12:36:47 2012 +0200 Build ceilometer-agent and ceilometer-collector Change-Id: I0cc5b163ac638f33397e7e7a9c046dca3e2939e9 Signed-off-by: Julien Danjou commit 73c9150afe7fc07018b0435ae7b24b52bd6a0a15 Author: Doug Hellmann Date: Tue May 22 15:10:09 2012 -0400 Add plugin support to the notification portion of the collector daemon. Implement a Counter class for use by notification plugins. Define a base class for Notification plugins. Define a dispatcher class for notification events to be passed to the plugins. Add a notification plugin for instance creation and "instance" counters. Add a reusable function for turning a Counter into a metering event dictionary. Change-Id: Iaa626b98e1a661ed31cc8b8e95263c111df20888 commit cc5b02dc84e26af050a0983764a5977e25bd3726 Author: Julien Danjou Date: Fri May 11 16:09:47 2012 +0200 Add CPU time fetching Change-Id: Ie16c588af209c4410e1150038e9fb24dc111159d Signed-off-by: Julien Danjou commit 3c3f77f84a68253b82ab2c7cb1abebdf626e1e78 Author: Doug Hellmann Date: Fri May 18 11:13:08 2012 -0400 Add an example function for converting a nova notification to a counter. Change-Id: I05f2e42059cefb004d5afec7c28d557093eba227 commit 68ae03c38749472ed81fc1cd3cb7d2a651c364d1 Merge: 8f4ba16 1f0ae02 Author: Jenkins Date: Mon May 21 15:24:05 2012 +0000 Merge "Add an exception handler to deal with errors that occur when the info in nova is out of sync with reality (as on my currently broken system). Also adds a nova prefix to the logger for now so messages from this module make it into the log file." commit 8f4ba1656c26ac7885c46f2fc8fcf9f519146f96 Author: Doug Hellmann Date: Tue May 15 13:39:56 2012 -0400 add a tool for recording notifications and replaying them Change-Id: I852a6fbef7b9bf02309f699419da0a2537ce7a90 commit 1f0ae02f1e42acc0304b34179d0527d8e2e6533a Author: Doug Hellmann Date: Tue May 15 15:27:13 2012 -0400 Add an exception handler to deal with errors that occur when the info in nova is out of sync with reality (as on my currently broken system). Also adds a nova prefix to the logger for now so messages from this module make it into the log file. Change-Id: I57dc7e74a16955bcf42e9360e7de6e2f26ca09b0 commit 11a84161906a69cc201b0c35c49d8d6c434916fb Author: Julien Danjou Date: Fri May 11 12:13:11 2012 +0200 Periodically fetch for disk io stats Change-Id: Id48337a598e8941d9e1793ad552251369ef3954f Signed-off-by: Julien Danjou commit 6393825cf615cf958ff39f7baa9fbe9839e2c1f3 Author: Julien Danjou Date: Thu May 10 16:41:41 2012 +0200 Use nova.service, add a manager class Change-Id: I76e2b7123c206082f1fca72f94433dac58b72391 Signed-off-by: Julien Danjou commit 886485c4684b5fc88491f578198a2423392dd066 Author: Julien Danjou Date: Thu May 10 15:53:20 2012 +0200 Change license to Apache 2.0 Change-Id: I062d722fb570a6f00151eb620d8c169b2ee374ae Signed-off-by: Julien Danjou commit 5bb0df8e5cc36a4a3e3a2483e36650d106cdd73d Author: Julien Danjou Date: Wed May 9 13:55:41 2012 +0200 Add setup.py Change-Id: Iffdb887f308eb9ea85ffbf13e192efbb79821d65 Signed-off-by: Julien Danjou commit 85beac0fa82d5f54e926766d139790f2a90e1fb2 Author: Julien Danjou Date: Wed May 9 11:57:03 2012 +0200 Import ceilometer-nova-compute This script is used to grab notifications from existing hosts Change-Id: I45826fd6941d7bd93464bf945903b6b41223745c Signed-off-by: Julien Danjou commit bca0ead8d238f55d12cfc0548b14ba1b2675a953 Author: Julien Danjou Date: Wed May 9 11:56:12 2012 +0200 Ignore pyc files Change-Id: Id98d91e397fc5ee77c8d6b41882c264748c0ab76 Signed-off-by: Julien Danjou commit 0843dc10f126a08cce0f182b59d105ccfd327e1c Author: Julien Danjou Date: Wed May 2 14:08:57 2012 +0200 Add link to blueprint Change-Id: I6608b9d01c9c23198d3e3e5d2f0e8551c2637f3a commit 241c7b319f120f8b51e5a70c0cea3e30ccceb734 Author: Andrew Hutchings Date: Tue May 1 11:17:50 2012 +0100 Add .gitreview file commit ca8dc0f250726f450de26d7dcdbed1cd3aacaea1 Author: LinuxJedi Date: Tue May 1 02:31:22 2012 -0700 initial commit