summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-ceilometer
Commit message (Collapse)AuthorAgeFilesLines
* housekeeping: patch refreshMark Asselstine2018-06-111-6/+12
| | | | | | | | | | Bitbake now prints warnings when a patch is successfully applied but there is fuzz or an offset. The following refreshes patches for several packages which report warnings when openstack-image-controller is built. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* init: no need to close (non-existing) ps file descriptorsMark Asselstine2015-11-161-1/+1
| | | | | | | | | | | | | Attempting to get the status of various daemons which are part of the compute image results in an error: ps: write error: Bad file descriptor Switch to using the more standard io redirection techniques to avoid this error. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* keystone: Change packages configuration to use apache keystone.Liam R. Howlett2014-09-221-16/+2
| | | | | | | | | | This commit changes all required configurations to use keystone running on apache. The following packages configurations were modified for keystone running on apache: python-neutron, python-nova, tempest, python-swift, python-rally, python-heat, python-glance, python-cinder, python-ceilmoeter, python-horizon. Signed-off-by: Liam R. Howlett <Liam.Howlett@WindRiver.com>
* openstack initscript: add resetAmy Fong2014-07-251-1/+22
| | | | | | | | Some of the openstack data is associated with external resources (ie glance may have external files), we explicitly invoke the delete commands on those in additional to dropping and recreating the databases. Signed-off-by: Amy Fong <amy.fong@windriver.com>
* ceilometer: package and deploy api_paste.iniBruce Ashfield2014-07-211-0/+2
| | | | | | | | Ceilometer now requires api_paste.ini for the API to start and be functionaly. So we add it to our core package, and update the .conf file with the name. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer: update to junoBruce Ashfield2014-07-212-101/+51
| | | | | | | | Updating the ceilometer project to the juno release branches. With this update, we can drop one patch that isno longer needed, and refresh another for juno. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer builtin skip failed unsupported db testsVu Tran2014-06-232-85/+51
| | | | | | | | | | | | | | | | ceilometer tests against various databases: mongodb, db2, sqlalchemy, hbase. For mongodb and db2, tests use environment variables: CEILOMETER_TEST_MONGODB_URL and CEILOMETER_TEST_DB2_URL for supplying URL database connection into tests. As we do not support mangodb or db2, by not setting or setting bogus URLs to these two environment variables will cause tests to fail. These tests should be skipped as prerequisite is not satisfied. Therefore we modify ceilometer testcases for mongodb and db2 to be skipped instead of failed if CEILOMETER_TEST_MONGODB_URL and CEILOMETER_TEST_DB2_URL are not set. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* ceilometer builtin tests Use known protocol schemeVu Tran2014-06-231-0/+85
| | | | | | | | | | | | | Commit e5b7606eaa94033256eb1aca5f6a6eed4f9e54a0 from https://github.com/openstack/ceilometer.git master With the recent introduction of the identity_uri in keystoneclient, there is a small backward incompatible change which means that weird protocols like the ones we use during tests aren't support properly anymore. The patch replaces "foottp" and "barttp" by "file" hopefully keeping testing coverage the same. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* ceilometer builtin tests config locationVu Tran2014-06-231-0/+130
| | | | | | | | | | Many ceilometer built-in testcases failed because they can not find ceilometer configuration file, as these tests use relative paths to find these configuration files. So forcing these failure testcases to look for these configuration file using absolute path. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* ceilometer: need to filter meter-id when doing sql queryingVu Tran2014-05-211-8/+9
| | | | | | | | | | | | | | | Currently statistic values for all the meters are the same, for example, 2 commands: $ ceilometer statistics -m cpu_util $ ceilometer statistics -m cpu return the same statistic values, and this is incorrect. It needs to query Ceilometer database for samples for the correct meter-id to calculate statistic. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* ceilometer: update to icehouse-rc1Bruce Ashfield2014-04-071-0/+40
| | | | | | | | | Updating to the icehouse ceilometer, which has more functionality and features than the havana version. Also, we have to fix the resource query for postgres versus mysql. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Memory leak from timingsAmy Fong2014-03-312-1/+29
| | | | | | | | | | | | | | | | | Memory leak happens when the dynamic list times grows without anything to reset it. In ceilometer and cinder configuration files, the new option is created: [nova_client] max_timing_buffer=<value> In all clients found that uses extends the HTTPClient and uses the times list, we limit the size of the list by popping off the oldest item in the list to maintain a maximum size. A default size of 200 is chosen, configurable by the above configuration option. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* OpenStack: sysvinit scripts - enable loggingAmy Fong2014-03-281-1/+1
| | | | | | | Explicitly enable --log-dir to enable logging where available Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* OpenStack: Add to missing functionality in sysvinit scriptsAmy Fong2014-03-171-2/+17
| | | | | | | | | Add status/reload to sysvinit scripts Modify tgtd to make start/stop work better (borrowed from Debian's implementation) Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer: uprev to 2014.1.x releaseBruce Ashfield2014-01-302-3/+36
| | | | | | | | The havana ceilometer postgres (sqlalchemy) support has significant issues. Rather that perform signficicant backports, we'll uprev and pick up the latest development stream, that addresses many issues out of the box. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer: fix postgresql query errorsBruce Ashfield2014-01-191-0/+35
| | | | | | | | | | | | | | | From the patch: sqlalchemy: fix ceilometer resource query Implement the abandoned ceilometer fix from: https://review.openstack.org/#/c/59204/ [Fix for get_statistics with postgresql] Without this fix, the ceilometer resource tab in horizon returns an error due to badly formed SQL and a database backend error. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer: update to stable/havana latestBruce Ashfield2014-01-191-5/+5
| | | | | | | | | | | | | Updating the ceilometer component to the latest havana stable updates. Of note in the update is the removel of the old global statistics table for ceilometer. To properly display metering statistics after this update the keystone credentials need to be udpated in keystone (add ceilometer with an admin role) and ceilometer to use the proper username/password to authenticate. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer: set libvirt_type to KVM, but allow modification for nested virtBruce Ashfield2014-01-151-1/+1
| | | | | | | | We expose the libvirt_type config setting with a default value of 'kvm', but for nested virtualization configurations, we also provide a bbappend that will modify the value to 'qemu' automatically. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer: postgresql fixesBruce Ashfield2014-01-152-0/+455
| | | | | | | | | | Cherry picking two ceilometer master changes to address postgresql database issues: https://bugs.launchpad.net/ceilometer/+bug/1241526 https://review.openstack.org/#/c/49456/ Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* initscrtips: make initscripts chkconfig and service safeBruce Ashfield2013-11-251-1/+2
| | | | | | | | To support the execution of the chkconfig and service scripts, we need to ensure a consistent header on the initscripts, and a consistent environment that allows scratch files to be written. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceilometer: introduce ceilomter havana componentBruce Ashfield2013-11-252-0/+948
Import and package the basic ceilometer package, havana version. This minimal configuration creates: - init scripts - packages the compute, control and APIs - creates the configuration and database It is expected to need extension in the future. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>