debian/0000775000000000000000000000000012375376355007210 5ustar debian/ceilometer-api.upstart0000664000000000000000000000070212372141725013516 0ustar description "ceilometer-agent-compute" author "Chuck Short " start on runlevel [2345] stop on runlevel [016] chdir /var/run pre-start script mkdir -p /var/run/ceilometer chown ceilometer:ceilometer /var/run/ceilometer mkdir -p /var/lock/ceilometer chown ceilometer:ceilometer /var/lock/ceilometer end script exec start-stop-daemon --start --chuid ceilometer --exec /usr/bin/ceilometer-api -- --log-dir=/var/log/ceilometer debian/ceilometer-alarm-evaluator.upstart0000664000000000000000000000072012372141725016041 0ustar description "ceilometer-alarm-evaluator" author "Chuck Short " start on runlevel [2345] stop on runlevel [016] chdir /var/run pre-start script mkdir -p /var/run/ceilometer chown ceilometer:ceilometer /var/run/ceilometer mkdir -p /var/lock/ceilometer chown ceilometer:ceilometer /var/lock/ceilometer end script exec start-stop-daemon --start --chuid ceilometer --exec /usr/bin/ceilometer-alarm-evaluator -- --log-dir=/var/log/ceilometer debian/compat0000664000000000000000000000000212372141725010372 0ustar 8 debian/ceilometer-agent-central.postrm0000664000000000000000000000015412372141725015314 0ustar #!/bin/sh -e if [ "$1" = purge ]; then update-rc.d ceilometer-agent-central remove fi #DEBHELPER# debian/ceilometer-agent-compute.upstart0000664000000000000000000000065512372141725015524 0ustar description "ceilometer-agent-compute" author "Chuck Short " start on runlevel [2345] stop on runlevel [!2345] chdir /var/run pre-start script mkdir -p /var/run/ceilometer chown ceilometer:ceilometer /var/run/ceilometer mkdir -p /var/lock/ceilometer chown ceilometer:ceilometer /var/lock/ceilometer end script exec start-stop-daemon --start --chuid ceilometer --exec /usr/bin/ceilometer-agent-compute debian/ceilometer-common.dirs0000664000000000000000000000006512372141725013476 0ustar etc/ceilometer var/lib/ceilometer var/log/ceilometer debian/ceilometer-collector.upstart0000664000000000000000000000065112372141725014736 0ustar description "ceilometer-agent-compute" author "Chuck Short " start on runlevel [2345] stop on runlevel [!2345] chdir /var/run pre-start script mkdir -p /var/run/ceilometer chown ceilometer:ceilometer /var/run/ceilometer mkdir -p /var/lock/ceilometer chown ceilometer:ceilometer /var/lock/ceilometer end script exec start-stop-daemon --start --chuid ceilometer --exec /usr/bin/ceilometer-collector debian/ceilometer-collector.install0000664000000000000000000000003512372141725014676 0ustar usr/bin/ceilometer-collector debian/ceilometer-agent-central.upstart0000664000000000000000000000065512372141725015500 0ustar description "ceilometer-agent-compute" author "Chuck Short " start on runlevel [2345] stop on runlevel [!2345] chdir /var/run pre-start script mkdir -p /var/run/ceilometer chown ceilometer:ceilometer /var/run/ceilometer mkdir -p /var/lock/ceilometer chown ceilometer:ceilometer /var/lock/ceilometer end script exec start-stop-daemon --start --chuid ceilometer --exec /usr/bin/ceilometer-agent-central debian/tests/0000775000000000000000000000000012372141725010336 5ustar debian/tests/test_daemons0000664000000000000000000000064512372141725012753 0ustar #!/bin/bash #--------------------------- # Testing ceilometer-daemons #--------------------------- set -e DAEMONS=('ceilometer-collector' 'ceilometer-api' 'ceilometer-agent-compute' 'ceilometer-agent-central', 'ceilometer-agent-notification') for daemon in "${DAEMONS[@]}"; do if pidof -x $daemon > /dev/null; then echo "OK" else echo "ERROR: ${daemon} IS NOT RUNNING" exit 1 fi done debian/tests/control0000664000000000000000000000032212372141725011736 0ustar Tests: test_daemons test_python_ceilometer Depends: python-ceilometer, ceilometer-common, ceilometer-collector, ceilometer-api, ceilometer-agent-compute, ceilometer-agent-central, ceilometer-agent-notification debian/tests/test_python_ceilometer0000664000000000000000000000023312372141725015047 0ustar #!/usr/bin/python #------------------------- # Testing client utilities #------------------------- import ceilometer print "Imported ceilometer module OK" debian/ceilometer-alarm-evaluator.install0000664000000000000000000000004312372141725016003 0ustar usr/bin/ceilometer-alarm-evaluator debian/docs0000664000000000000000000000001312372141725010041 0ustar README.rst debian/pydist-overrides0000664000000000000000000000004112372141725012426 0ustar pymongo python-pymongo happybase debian/source/0000775000000000000000000000000012372141725010474 5ustar debian/source/format0000664000000000000000000000001412372141725011702 0ustar 3.0 (quilt) debian/ceilometer-api.install0000664000000000000000000000002712372141725013462 0ustar usr/bin/ceilometer-api debian/watch0000775000000000000000000000036312372141725010232 0ustar version=3 opts="uversionmangle=s/\.([a-zA-Z])/~$1/;s/%7E/~/" \ http://tarballs.openstack.org/ceilometer/ ceilometer-(.*)\.tar\.gz # https://launchpad.net/ceilometer/+download https://launchpad.net/ceilometer/.*/.*/.*/ceilometer-(.*)\.tar\.gz debian/ceilometer-agent-notification.install0000664000000000000000000000004612372141725016474 0ustar usr/bin/ceilometer-agent-notification debian/ceilometer-collector.postrm0000664000000000000000000000015012372141725014552 0ustar #!/bin/sh -e if [ "$1" = purge ]; then update-rc.d ceilometer-collector remove fi #DEBHELPER# debian/ceilometer-alarm-notifier.install0000664000000000000000000000004212372141725015617 0ustar usr/bin/ceilometer-alarm-notifier debian/control0000664000000000000000000002046612372141725010607 0ustar Source: ceilometer Section: python Priority: optional Maintainer: Chuck Short Build-Depends: alembic (>= 0.6.0), debhelper (>= 8.0.0), python-all (>= 2.6), python-anyjson (>= 0.3.3), python-babel (>= 0.9.6), python-ceilometerclient (>= 1.0.6), python-croniter, python-coverage, python-docutils, python-eventlet (>= 0.13.0), python-fixtures (>= 0.3.14), python-flask (>= 0.10), python-glanceclient (>= 1:0.9.3), python-httplib2, python-happybase (>= 0.4), python-iso8601 (>=0.1.8), python-jsonpath-rw, python-keystoneclient (>= 1:0.4.1), python-kombu (>= 2.4.8), python-lxml (>= 2.3), python-lockfile (>= 0.8), python-migrate, python-mock, python-mox, python-msgpack, python-mysqldb, python-netaddr (>= 0.7.6), python-nova, python-novaclient (>= 1:2.15.0), python-oslo.config (>= 1:1.2.0), python-oslo.sphinx, python-pbr (>= 0.5.21), python-pecan (>= 0.2.0), python-pymongo (>= 2.6), python-requests (>= 1.1), python-simplejson, python-sphinx, python-sqlalchemy (>= 0.8.2), python-stevedore (>= 0.13), python-subunit, python-six (>= 1.4.1), python-swift, python-swiftclient (>= 1.5), python-testscenarios (>= 0.4), python-testtools (>= 0.9.32), python-webob (>= 1.2.3), python-wsme (>= 0.5b6), python-yaml (>= 3.1.0), testrepository (>= 0.0.17) Standards-Version: 3.9.4 Vcs-Browser: http://bazaar.launchpad.net/~ubuntu-server-dev/ceilometer/icehouse/files Vcs-Bzr: https://code.launchpad.net/~ubuntu-server-dev/ceilometer/icehouse Package: python-ceilometer Architecture: all Depends: alembic (>= 0.6.0), python-msgpack, python-anyjson (>= 0.3.3), python-ceilometerclient (>= 1.0.6), python-eventlet (>= 0.13.0), python-flask (>= 0.10), python-glanceclient (>= 1:0.9.3), python-happybase (>= 0.4), python-iso8601 (>= 0.1.8), python-keystoneclient (>= 1:0.4.1), python-kombu (>= 2.4.8), python-lxml (>= 2.3), python-lockfile (>= 0.8), python-migrate, python-netaddr, python-novaclient (>= 1:2.15.0), python-oslo.config (>= 1:1.2.0), python-pecan (>= 0.2.0), python-pymongo (>= 2.6), python-six (>= 1.4.1), python-yaml (>= 3.1.0), python-requests (>= 1.1), python-sqlalchemy (>= 0.8.2), python-stevedore (>= 0.12), python-swiftclient (>= 1.5), python-webob (>= 1.2.3), python-wsme (>= 0.5b6), ${misc:Depends}, ${python:Depends} Suggests: python-pysnmp4 Description: ceilometer python libraries Ceilometer aims to deliver a unique point of contact for billing systems to aquire all counters they need to establish customer billing, accross all current and future OpenStack components. The delivery of counters must be tracable and auditable, the counters must be easily extensible to support new projects, and agents doing data collections should be independent of the overall system. . (A ceilometer is an instrument that measures cloud coverage.) . This package contains the python libraries that are needed for all parts of ceilometer Package: ceilometer-common Architecture: all Depends: adduser, python-ceilometer (= ${binary:Version}), ${misc:Depends}, ${python:Depends} Provides: ${python:Provides} Description: ceilometer common files Ceilometer aims to deliver a unique point of contact for billing systems to aquire all counters they need to establish customer billing, accross all current and future OpenStack components. The delivery of counters must be tracable and auditable, the counters must be easily extensible to support new projects, and agents doing data collections should be independent of the overall system. . (A ceilometer is an instrument that measures cloud coverage.) . This package contains files that are needed for all parts of ceilometer Package: ceilometer-collector Architecture: all Depends: ceilometer-common (= ${binary:Version}), ${misc:Depends}, ${python:Depends} Suggests: mongodb Description: ceilometer collector service Ceilometer aims to deliver a unique point of contact for billing systems to aquire all counters they need to establish customer billing, accross all current and future OpenStack components. The delivery of counters must be tracable and auditable, the counters must be easily extensible to support new projects, and agents doing data collections should be independent of the overall system. . (A ceilometer is an instrument that measures cloud coverage.) . This package contains the collector service Package: ceilometer-api Architecture: all Depends: ceilometer-common (= ${binary:Version}), ${misc:Depends}, ${python:Depends} Suggests: mongodb Description: ceilometer api service Ceilometer aims to deliver a unique point of contact for billing systems to aquire all counters they need to establish customer billing, accross all current and future OpenStack components. The delivery of counters must be tracable and auditable, the counters must be easily extensible to support new projects, and agents doing data collections should be independent of the overall system. . This package contains the api service Package: ceilometer-agent-compute Architecture: all Depends: ceilometer-common (= ${binary:Version}), ${misc:Depends}, ${python:Depends} Description: ceilometer compute agent Ceilometer aims to deliver a unique point of contact for billing systems to aquire all counters they need to establish customer billing, accross all current and future OpenStack components. The delivery of counters must be tracable and auditable, the counters must be easily extensible to support new projects, and agents doing data collections should be independent of the overall system. . (A ceilometer is an instrument that measures cloud coverage.) . This package contains the compute agent Package: ceilometer-agent-central Architecture: all Depends: ceilometer-common (= ${binary:Version}), ${misc:Depends}, ${python:Depends} Description: ceilometer central agent Ceilometer aims to deliver a unique point of contact for billing systems to aquire all counters they need to establish customer billing, accross all current and future OpenStack components. The delivery of counters must be tracable and auditable, the counters must be easily extensible to support new projects, and agents doing data collections should be independent of the overall system. . (A ceilometer is an instrument that measures cloud coverage.) . This package contains the central agent. Package: ceilometer-agent-notification Architecture: all Depends: ceilometer-common (= ${binary:Version}), ${misc:Depends}, ${python:Depends} Description: ceilometer notification agent Ceilometer aims to deliver a unique point of contact for billing systems to aquire all counters they need to establish customer billing, accross all current and future OpenStack components. The delivery of counters must be tracable and auditable, the counters must be easily extensible to support new projects, and agents doing data collections should be independent of the overall system. . (A ceilometer is an instrument that measures cloud coverage.) . This package contains the notification agent. Package: ceilometer-alarm-evaluator Architecture: all Depends: ceilometer-common (= ${binary:Version}), ${misc:Depends}, ${python:Depends} Description: Ceilometer alarm evaluator Ceilometer aims to deliver a unique point of contact for billing systems to aquire all counters they need to establish customer billing, accross all current and future OpenStack components. The delivery of counters must be tracable and auditable, the counters must be easily extensible to support new projects, and agents doing data collections should be independent of the overall system. . (A ceilometer is an instrument that measures cloud coverage.) . This package contains the alarm evaluator daemon. Package: ceilometer-alarm-notifier Architecture: all Depends: ceilometer-common (= ${binary:Version}), ${misc:Depends}, ${python:Depends} Description: Ceilometer notification agent Ceilometer aims to deliver a unique point of contact for billing systems to aquire all counters they need to establish customer billing, accross all current and future OpenStack components. The delivery of counters must be tracable and auditable, the counters must be easily extensible to support new projects, and agents doing data collections should be independent of the overall system. . (A ceilometer is an instrument that measures cloud coverage.) . This package contains the alarm notifier daemon. debian/changelog0000664000000000000000000003432712375375576011077 0ustar ceilometer (2014.1.2-0ubuntu1.1) trusty-security; urgency=medium * No change rebuild for security: - [2b6454f] remove token from notifier middleware + CVE-2014-4615 + LP: #1321080 -- Jamie Strandboge Thu, 21 Aug 2014 08:51:56 -0500 ceilometer (2014.1.2-0ubuntu1) trusty; urgency=medium [ Corey Bryant ] * Resynchronize with stable/icehouse (2b6454f) (LP: #1354159): - [e491837] Set python hash seed to 0 in tox.ini - [99b7ef8] Update ensure()/reconnect() to catch MessagingError - [af1eb64] Sync RPC module from oslo, fixing reconnect failures - [47770db] Adds Content-Type to alarm REST notifier - [4be8616] Remove low-value logging from publication codepath - [096106f] Ensure routing key is specified in the address for a direct producer - [2b6454f] remove token from notifier middleware * d/p/fix-requirements.patch: Refresh. [ James Page ] * d/watch: Point to tarballs.openstack.org for release artifacts. -- Corey Bryant Thu, 07 Aug 2014 21:57:17 -0400 ceilometer (2014.1.1-0ubuntu1) trusty; urgency=medium * Resynchronize with stable/icehouse (a1ec218) (LP: #1328134): - [84635e6] Fix testing gate due to new keystoneclient release - [c52904d] Fix network notifications of neutron bulk creation - [06eb8bc] Sync kombu_reconnect_delay from Oslo - [d247af3] Updated from global requirements - [82eed26] Disable specifying alarm itself in combination rule - [94c12fd] Adapt failing tests for latest wsme version - [a1ec218] Use known protocol scheme in keystone tests -- Corey Bryant Mon, 09 Jun 2014 14:49:20 -0400 ceilometer (2014.1-0ubuntu1.1) trusty; urgency=medium * d/p/fix-requirements.patch: Drop required version of pecan to 0.3.0 inline with the version that is provided in 14.04 (LP: #1317147). -- James Page Fri, 16 May 2014 12:11:00 -0400 ceilometer (2014.1-0ubuntu1) trusty; urgency=medium * New upstream release (LP: #1299055). -- Corey Bryant Wed, 16 Apr 2014 13:04:53 -0400 ceilometer (2014.1~rc3-0ubuntu1) trusty; urgency=medium * New upstream release candidate (LP: #1299055). -- Chuck Short Tue, 15 Apr 2014 20:29:38 -0400 ceilometer (2014.1~rc2-0ubuntu1) trusty; urgency=medium [ James Page ] * d/ceilometer-common.postinst: Only run db sync process if default sqlite connection is configured in /etc/ceilometer/ceilometer.conf (LP: #1182964). [ Chuck Short ] * New upstream release (LP: #1299055). -- Chuck Short Tue, 08 Apr 2014 15:41:50 -0400 ceilometer (2014.1~rc1-0ubuntu1) trusty; urgency=medium * New upstream release. -- Corey Bryant Mon, 31 Mar 2014 11:50:09 -0400 ceilometer (2014.1~b3-0ubuntu3) trusty; urgency=medium * debian/patches/fix-requirements.patch: Explicity disable snmp. -- Chuck Short Thu, 20 Mar 2014 13:12:54 -0400 ceilometer (2014.1~b3-0ubuntu2) trusty; urgency=medium * d/p/default-dbconnection-sqlite.patch: Fix default sqlite connection URL. * d/control: Fixup typo in notification agent description (LP: #1267127). -- James Page Thu, 13 Mar 2014 16:51:52 +0000 ceilometer (2014.1~b3-0ubuntu1) trusty; urgency=medium * New upstream release. * debian/patches/debian/patches/default-dbconnection-sqlite.patch: Refreshed. * debian/patches/fix-setup-requirements.patch: Dropped no longer needed. * debian/patches/skip-database-tests.patch: Dropped no longer needed. * debian/patches/revert-keystone-compat.patch: Dropped no longer needed. * debian/control: - Bump python-stevedore to 0.13. - Add python-croniter as a build dependency. - Suggest python-pysnmp4. * debian/cielometer-common.install: Add ceilometer-sample -- Chuck Short Thu, 06 Mar 2014 14:44:28 -0500 ceilometer (2014.1~b2-0ubuntu1) trusty; urgency=medium [ James Page ] * d/control: Add python-jsonpath-rw to BD's. * d/p/fix-setup-requirements.patch: Bump WebOb to support < 1.4. (LP: #1261101) [ Chuck Short ] * New upstream version. * debian/control, debian/ceilometer-common.install: Split out ceilometer-alarm-evaluator and ceilometer-alarm-notifier into their own packages. (LP: #1250002) * debian/ceilometer-agent-central.logrotate, debian/ceilometer-agent-compute.logrotate, debian/ceilometer-api.logrotate, debian/ceilometer-collector.logrotate: Add logrotate files, thanks to Ahmed Rahal. (LP: #1224223) * Fix typos in upstart files. -- Chuck Short Thu, 23 Jan 2014 15:08:11 -0500 ceilometer (2014.1~b1-0ubuntu1) trusty; urgency=low [ Chuck Short ] * New upstream release. * debian/control: - Open icehouse release. - Renamed msgpack-python to python-msgpack. - Bump build dependency version for python-ceilometerclient, python-novaclient, python-keystoneclient, python-six, python-wsme. * debian/patches/fix-setup-requirements.patch: Refreshed. * debian/patches/skip-database-tests.patch: Refreshed. * debian/rules: Temporarily disable testsuite. [ Yolanda Robla ] * debian/patches/fix-setup-requirements.patch: Refreshed. * debian/patches/default-dbconnection-sqlite.patch: Refreshed * debian/ceilometer-collector.install: Removed usr/bin/ceilometer-collector-udp * Added ceilometer-agent-notification package: - debian/control: added ceilometer-agent-notification package - debian/ceilometer-agent-notification.*: added install, upstart - debian/tests: added ceilometer-agent-notification to tests * debian/control: updated build-depends and depends versions [ James Page ] * debian/control: Add missing BD on python-mysqldb. -- Chuck Short Thu, 05 Dec 2013 11:59:04 -0500 ceilometer (2013.2-0ubuntu1) saucy; urgency=low * New upstream release (LP: #1236462). -- Chuck Short Thu, 17 Oct 2013 09:38:31 -0400 ceilometer (2013.2~rc2-0ubuntu1) saucy; urgency=low * New upstream release candidate (LP: #1239156): - d/p/revert-keystone-compat.patch: Revert keystoneclient 0.4.0 compat fix as this causes test failures against 0.3.4. * d/control: Drop a3 from versioned dependency on python-oslo.config. -- James Page Mon, 14 Oct 2013 10:30:03 +0100 ceilometer (2013.2~rc1-0ubuntu1) saucy; urgency=low * debian/patches/fix-setup-requirements.patch: Dropped no longer needed. * debian/patches/skip-database.patch: Refreshed * debian/control: - Add versioned dependency for python-pbr. - Bump version dependency for python-webob. - Add versioned dependency for alembic. - Bump versioned dependency for python-sqlalchemy. - Add versioned dependency for python-pymongo. - Add versioned dependency for python-eventlet. - Dropped python-extras dependency. - Bump versioned dependency for python-flask. - Bump versioned dependency for python-stevedore. - Add versioned dependency for python-glanceclient. - Bump versioned dependency for python-novaclient. - Bump versioned dependency for python-keystoneclient. - Bump versioned dependency for python-ceilometerclient. - Add versioned dependency for python-lxml. - Bump versioned dependency for python-wsme. - Dropped python-netifaces dependency. - Added python-httplib2 build dependency. - Bump versioned dependency for python-fixtures. - Bump versioned dependency for testrepository. - Added versioned dependency for python-testtools. - Added versioned dependency for python-swiftclient. - Dropped python-cinderclient dependency. - Dropped python-lockfile dependency. - Dropped python-setuptoools-git dependency. - Dropped python-unittest2 dependency. - Dropped python-d2to1 dependency. - Added versioned dependency for python-testtools. - Added binary dependency for python-netaddr. - Add python-six as a dependency. * debian/patches/fix-setup-requirements.patch: Bump sqlachemy version. * debian/ceilometer-common.install: - Dropped ceilometer-alarm-singleton, no longer exists. - Added usr/bin/ceilometer-alarm-evaluator. -- Chuck Short Thu, 03 Oct 2013 08:40:40 -0400 ceilometer (2013.2~b3-0ubuntu1) saucy; urgency=low [ Chuck Short ] * New upstream release. * debian/patches/fix-setup-requirements.patch: Refreshed * debian/patches/skip-database.patch: Refreshed [ Yolanda Robla ] * debian/control,debian/tests: Add basic autopkgtests. [ Adam Gandelman ] * debian/patches/default-dbconnection-sqlite.patch: Set 'connection' flag in [database] section, referencing 'sqlite_db' (LP: #1221956). * debian/patches/skip-database-tests.patch: Also patch out db2 and hbase scenarios in v2 test_statistics_scenarios.py. * debian/rules: Clean python-pbr egg if it exists, set PYTHONPATH to build dir when running tests. -- Chuck Short Sat, 07 Sep 2013 15:58:58 -0400 ceilometer (2013.2~b2-0ubuntu4) saucy; urgency=low * debian/patches/skip-database-tests.patch: Refreshed due to precise failures. -- Chuck Short Sun, 28 Jul 2013 21:58:31 -0400 ceilometer (2013.2~b2-0ubuntu3) saucy; urgency=low * debian/rules: Enable testsuite. * debian/control: Fix up run time dependencies. * debian/patches/fix-setup-requirements.patch: Refreshed * debian/patches/skip-database-tests.patch: Refreshed -- Chuck Short Mon, 22 Jul 2013 15:17:35 -0400 ceilometer (2013.2~b2-0ubuntu2) saucy; urgency=low * debian/control: Fix sqlalchemy dependency. -- Chuck Short Fri, 19 Jul 2013 14:51:18 -0400 ceilometer (2013.2~b2-0ubuntu1) saucy; urgency=low [ Yolanda Robla ] * debian/patches/default-dbconnection-sqlite.patch: updated db section [ Chuck Short ] * New upstream version. * debian/patches/default-dbconnection-sqlite.patch: Refreshed. * debian/control: Bump requirements for stevedore to 0.9. * debian/control: Add python-simplejson * debian/control: Drop python-keystoneclient hardcoded version. * debian/control: Add python-testscenarios as a build depends. * debian/control: Add python-cinderclient as a build depends. * debian/control: Add python-ceilometerclient as a build depends. * debian/control: Add python-alembic as build depends. * debian/control: Add python-oslo.sphinx as build-depends. * debian/control: Update runtime depends. * debian/control: Add python-happybase. * debian/ceilometer-common.install: Add ceilometer-alarm-singleton, ceilometer-alarm-notifier, and ceilometer-expirer. * debian/patches/skip-database-tests.patch: Skip database tests if the database is not installed. [ James Page ] * d/control: Update VCS fields for new branch locations. -- Chuck Short Fri, 19 Jul 2013 10:04:36 -0400 ceilometer (2013.2~b1-0ubuntu1) saucy; urgency=low * New upstream release. * debian/rules: Add fail-missing if binaries are missing from the packages. * debian/control: Add python-happybase as build-dependencies. * debian/control: Add python-pbr and python-d2to1 as build-dependencies * debian/control: Add python-fixtures as build-dependencies. * debian/control: Add python-nova as build-dependencies. * debian/control: Add python-testtools * debian/control: Add msgpack-python. * debian/patches/requests-dep.patch: Dropped no longer needed. * debian/patches/remove-hbase-support.patch: Dropped no longer neded. * debian/patches/default-dbconnection-sqlite.patch: Refreshed. * debian/rules: Use testr instead of nosetests to run tests. * debian/ceilometer-collector.install: Added usr/bin/ceilometer-collector-udp. -- Chuck Short Fri, 31 May 2013 10:29:16 -0500 ceilometer (2013.1-0ubuntu1) raring; urgency=low * New upstream release. -- Chuck Short Fri, 05 Apr 2013 14:34:37 -0500 ceilometer (2013.1~rc1-0ubuntu1) raring; urgency=low [ Chuck Short ] * New upstream release. * debian/watch: point to the right releases. * debian/rules: Enable testsuite. * debian/ceilometer-agent-compute.postinst: Add smarts to configure users after install. * debian/ceilometer-common.postinst: Configure ceilometer db. * debian/ceilometer-common.install: Install configuration files. * debian/*.upstart: Update and use start-stop-daemon. [ James Page ] * Added watch file. * d/rules: Fixup test suite execution as much as possible: - Set PYTHONPATH to CURDIR during execution. - Provide HOME directory for keystone tests. - Override clean to tidy up after execution. * d/control: Tidied BD's: - Drop python-ming (not the right ming). - python-oslo-config -> python-oslo.config. - Dropped misc other surplus/duplicate dependencies. - Wrapped and sorted. * d/p/request-dep.patch: Remove upper bound on python-requests inline with the rest of OpenStack. * d/p/remove-hbase-support.patch: Remove happybase dependency. * d/control: Bumped Standards-Version, no changes. [ Yolanda Robla ] * d/rules: Copy ceilometer.conf.sample to ceilometer.conf. * d/ceilometer-common.install: Install ceilometer.conf and ceilometer-dbsync. * d/ceilometer-common.postinst: fixing user/group creation. * d/*.upstart: Fix upstart jobs. * d/pydist-overrides: Correct pymongo and wsme package names. * d/control: modified mongodb recommends to suggests (LP: #1131627). * d/files: copying pipeline.yaml. * d/control: fixed typo (LP: #1140309). * d/patches/default-dbconnection-sqlite.patch: default db to sqlite -- Chuck Short Tue, 26 Mar 2013 11:23:03 -0500 ceilometer (0.1-0ubuntu2) raring; urgency=low * Fix typo in debian/control (ceioleter -> ceilometer) (LP: #1140309) -- Hans Joachim Desserud Sun, 03 Mar 2013 20:08:39 +0100 ceilometer (0.1-0ubuntu1) quantal; urgency=low * New upstream release. -- Chuck Short Fri, 12 Oct 2012 09:34:05 -0500 ceilometer (0~20121002-0ubuntu2) quantal; urgency=low * Fix two typos in dependencies in debian/control (LP: #1063244) -- Adam Conrad Sun, 07 Oct 2012 07:49:55 -0600 ceilometer (0~20121002-0ubuntu1) quantal; urgency=low * Initial release. -- Chuck Short Wed, 03 Oct 2012 13:00:29 -0500 debian/ceilometer-agent-central.install0000664000000000000000000000004112372141725015431 0ustar usr/bin/ceilometer-agent-central debian/ceilometer-api.postrm0000664000000000000000000000014212372141725013336 0ustar #!/bin/sh -e if [ "$1" = purge ]; then update-rc.d ceilometer-api remove fi #DEBHELPER# debian/rules0000775000000000000000000000134212372141725010254 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export HOME="$(CURDIR)/debian/test" %: dh $@ --with python2 get-orig-source: uscan --verbose --force-download --rename --destdir=../build-area ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) override_dh_auto_test: patch -p1 -R < debian/patches/default-dbconnection-sqlite.patch testr init && PYTHONPATH="$(CURDIR)" testr run || true patch -p1 < debian/patches/default-dbconnection-sqlite.patch endif override_dh_install: cp etc/ceilometer/ceilometer.conf.sample etc/ceilometer/ceilometer.conf dh_install --fail-missing override_dh_auto_clean: dh_auto_clean rm -f etc/ceilometer/ceilometer.conf rm -rf .testrepository rm -rf pbr*.egg debian/ceilometer-common.postinst0000664000000000000000000000154612372141725014425 0ustar #!/bin/sh -e if [ "$1" = "configure" ]; then if ! getent group ceilometer > /dev/null 2>&1; then addgroup --system ceilometer >/dev/null fi if ! getent passwd ceilometer > /dev/null 2>&1; then adduser --system --home /var/lib/ceilometer --ingroup ceilometer --no-create-home --shell /bin/false ceilometer fi chown -R ceilometer:adm /var/log/ceilometer chmod 0750 /var/log/ceilometer chown -R ceilometer:ceilometer /var/lib/ceilometer /etc/ceilometer if grep -qE "^(sql_)?connection.*sqlite.*" /etc/ceilometer/ceilometer.conf then su -s /bin/sh -c '/usr/bin/ceilometer-dbsync' ceilometer fi if [ -e /var/lib/ceilometer/ceilometer.sqlite ]; then chown ceilometer:ceilometer /var/lib/ceilometer/ceilometer.sqlite chmod 0600 /var/lib/ceilometer/ceilometer.sqlite fi fi #DEBHELPER# debian/ceilometer-agent-compute.postrm0000664000000000000000000000015412372141725015340 0ustar #!/bin/sh -e if [ "$1" = purge ]; then update-rc.d ceilometer-agent-compute remove fi #DEBHELPER# debian/ceilometer-agent-notification.upstart0000664000000000000000000000070312372141725016530 0ustar description "ceilometer-agent-notification" author "Yolanda Robla " start on runlevel [2345] stop on runlevel [!2345] chdir /var/run pre-start script mkdir -p /var/run/ceilometer chown ceilometer:ceilometer /var/run/ceilometer mkdir -p /var/lock/ceilometer chown ceilometer:ceilometer /var/lock/ceilometer end script exec start-stop-daemon --start --chuid ceilometer --exec /usr/bin/ceilometer-agent-notification debian/python-ceilometer.install0000664000000000000000000000004012372141725014225 0ustar usr/lib/python*/dist-packages/* debian/patches/0000775000000000000000000000000012372141725010623 5ustar debian/patches/fix-requirements.patch0000664000000000000000000000130012372141725015145 0ustar Description: Disable pynsmp and set min version of pecan/six. Author: Corey Bryant Forwarded: Not needed. Index: ceilometer/requirements.txt =================================================================== --- a/requirements.txt +++ b/requirements.txt @@ -16,8 +16,7 @@ oslo.config>=1.2.0 oslo.vmware>=0.2 # Apache-2.0 pbr>=0.6,<1.0 -pecan>=0.4.5 -pysnmp>=4.2.1,<5.0.0 +pecan>=0.3.0 python-ceilometerclient>=1.0.6 python-glanceclient>=0.9.0 python-keystoneclient>=0.7.0 @@ -26,7 +25,7 @@ pytz>=2010h PyYAML>=3.1.0 requests>=1.1 -six>=1.6.0 +six>=1.5.2 SQLAlchemy>=0.7.8,!=0.9.5,<=0.9.99 sqlalchemy-migrate>=0.8.2,!=0.8.4 stevedore>=0.14 debian/patches/default-dbconnection-sqlite.patch0000664000000000000000000000224112372141725017231 0ustar diff --git a/etc/ceilometer/ceilometer.conf.sample b/etc/ceilometer/ceilometer.conf.sample index 80964a7..7668dea 100644 --- a/etc/ceilometer/ceilometer.conf.sample +++ b/etc/ceilometer/ceilometer.conf.sample @@ -126,7 +126,7 @@ # # The file name to use with SQLite (string value) -#sqlite_db=ceilometer.sqlite +sqlite_db=ceilometer.sqlite # If True, SQLite uses synchronous mode (boolean value) #sqlite_synchronous=true @@ -148,7 +148,7 @@ # -# Options defined in ceilometer.openstack.common.lockutils +#Options defined in ceilometer.openstack.common.lockutils # # Whether to disable inter-process locks. (boolean value) @@ -598,7 +598,7 @@ # The backend to use for db (string value) # Deprecated group/name - [DEFAULT]/db_backend -#backend=sqlalchemy +backend=sqlalchemy # @@ -610,7 +610,8 @@ # Deprecated group/name - [DEFAULT]/sql_connection # Deprecated group/name - [DATABASE]/sql_connection # Deprecated group/name - [sql]/connection -#connection=sqlite:////ceilometer/openstack/common/db/$sqlite_db +connection=sqlite:////var/lib/ceilometer/$sqlite_db + # The SQLAlchemy connection string used to connect to the # slave database (string value) debian/patches/series0000664000000000000000000000007112372141725012036 0ustar fix-requirements.patch default-dbconnection-sqlite.patch debian/ceilometer-common.install0000664000000000000000000000045712372141725014210 0ustar etc/ceilometer/ceilometer.conf etc/ceilometer etc/ceilometer/pipeline.yaml etc/ceilometer etc/ceilometer/policy.json etc/ceilometer etc/ceilometer/sources.json etc/ceilometer tools/show_data.py usr/share/doc/ceilometer usr/bin/ceilometer-dbsync usr/bin/ceilometer-expirer usr/bin/ceilometer-send-sample debian/ceilometer-agent-compute.install0000664000000000000000000000004112372141725015455 0ustar usr/bin/ceilometer-agent-compute debian/ceilometer-alarm-notifier.upstart0000664000000000000000000000071612372141725015663 0ustar description "ceilometer-alarm-notifier" author "Chuck Short " start on runlevel [2345] stop on runlevel [016] chdir /var/run pre-start script mkdir -p /var/run/ceilometer chown ceilometer:ceilometer /var/run/ceilometer mkdir -p /var/lock/ceilometer chown ceilometer:ceilometer /var/lock/ceilometer end script exec start-stop-daemon --start --chuid ceilometer --exec /usr/bin/ceilometer-alarm-notifier -- --log-dir=/var/log/ceilometer debian/copyright0000664000000000000000000000346412372141725011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ceilometer Source: https://github.com/stackforge/ceilometer Files: * Copyright: 2012 New Dream Network, LLC (DreamHost) 2012 eNovance 2012 Red Hat Inc. 2010 United States Government 2011 Cloudscaling Group, Inc 2011 OpenStack LLC. 2012 Nicolas Barcet for Canonical License: Apache-2 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian-based systems the full text of the Apache version 2.0 license can be found in `/usr/share/common-licenses/Apache-2.0'. Files: debian/* Copyright: 2012 Canonical Ltd License: Apache-2 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian-based systems the full text of the Apache version 2.0 license can be found in `/usr/share/common-licenses/Apache-2.0'. debian/README.Debian0000664000000000000000000000023212372141725011232 0ustar In order to configure both the agents and collector you have to put notification_topics 'notifications,glance_notifications' in your /etc/nova/nova.conf.