Build ceilometer packages for Ubuntu 14.04 82/3682/5
authoriberezovskiy <iberezovskiy@mirantis.com>
Wed, 18 Feb 2015 14:47:05 +0000 (17:47 +0300)
committeriberezovskiy <iberezovskiy@mirantis.com>
Thu, 26 Feb 2015 17:00:09 +0000 (20:00 +0300)
 Add specs to build ceilometer packages for Ubuntu 14.04

Change-Id: Ib61836761609ab28b8bb6aa953588c79996a34bc

40 files changed:
trusty/debian/README.Debian [new file with mode: 0644]
trusty/debian/ceilometer-agent-central.install [new file with mode: 0644]
trusty/debian/ceilometer-agent-central.postrm [new file with mode: 0644]
trusty/debian/ceilometer-agent-central.upstart [new file with mode: 0644]
trusty/debian/ceilometer-agent-compute.install [new file with mode: 0644]
trusty/debian/ceilometer-agent-compute.postrm [new file with mode: 0644]
trusty/debian/ceilometer-agent-compute.upstart [new file with mode: 0644]
trusty/debian/ceilometer-agent-notification.install [new file with mode: 0644]
trusty/debian/ceilometer-agent-notification.upstart [new file with mode: 0644]
trusty/debian/ceilometer-alarm-evaluator.install [new file with mode: 0644]
trusty/debian/ceilometer-alarm-evaluator.postrm [new file with mode: 0644]
trusty/debian/ceilometer-alarm-evaluator.upstart [new file with mode: 0644]
trusty/debian/ceilometer-alarm-notifier.install [new file with mode: 0644]
trusty/debian/ceilometer-alarm-notifier.postrm [new file with mode: 0644]
trusty/debian/ceilometer-alarm-notifier.upstart [new file with mode: 0644]
trusty/debian/ceilometer-api.install [new file with mode: 0644]
trusty/debian/ceilometer-api.postrm [new file with mode: 0644]
trusty/debian/ceilometer-api.upstart [new file with mode: 0644]
trusty/debian/ceilometer-collector.install [new file with mode: 0644]
trusty/debian/ceilometer-collector.postrm [new file with mode: 0644]
trusty/debian/ceilometer-collector.upstart [new file with mode: 0644]
trusty/debian/ceilometer-common.dirs [new file with mode: 0644]
trusty/debian/ceilometer-common.install [new file with mode: 0644]
trusty/debian/ceilometer-common.postinst [new file with mode: 0644]
trusty/debian/ceilometer.conf.sample [new file with mode: 0644]
trusty/debian/changelog [new file with mode: 0644]
trusty/debian/compat [new file with mode: 0644]
trusty/debian/control [new file with mode: 0644]
trusty/debian/copyright [new file with mode: 0644]
trusty/debian/docs [new file with mode: 0644]
trusty/debian/patches/fix-requirements.patch [new file with mode: 0644]
trusty/debian/patches/series [new file with mode: 0644]
trusty/debian/pydist-overrides [new file with mode: 0644]
trusty/debian/python-ceilometer.install [new file with mode: 0644]
trusty/debian/rules [new file with mode: 0755]
trusty/debian/source/format [new file with mode: 0644]
trusty/debian/tests/control [new file with mode: 0644]
trusty/debian/tests/test_daemons [new file with mode: 0644]
trusty/debian/tests/test_python_ceilometer [new file with mode: 0644]
trusty/debian/watch [new file with mode: 0755]

diff --git a/trusty/debian/README.Debian b/trusty/debian/README.Debian
new file mode 100644 (file)
index 0000000..ca0ec7d
--- /dev/null
@@ -0,0 +1,2 @@
+In order to configure both the agents and collector you have to put notification_topics 'notifications,glance_notifications'
+in your /etc/nova/nova.conf.
diff --git a/trusty/debian/ceilometer-agent-central.install b/trusty/debian/ceilometer-agent-central.install
new file mode 100644 (file)
index 0000000..0902295
--- /dev/null
@@ -0,0 +1 @@
+usr/bin/ceilometer-agent-central
diff --git a/trusty/debian/ceilometer-agent-central.postrm b/trusty/debian/ceilometer-agent-central.postrm
new file mode 100644 (file)
index 0000000..a8c06b6
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+if [ "$1" = purge ]; then
+        update-rc.d ceilometer-agent-central remove
+fi
+
+#DEBHELPER#
diff --git a/trusty/debian/ceilometer-agent-central.upstart b/trusty/debian/ceilometer-agent-central.upstart
new file mode 100644 (file)
index 0000000..82b966e
--- /dev/null
@@ -0,0 +1,17 @@
+description "ceilometer-agent-compute"
+author "Chuck Short <zulcss@ubuntu.com>"
+
+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
diff --git a/trusty/debian/ceilometer-agent-compute.install b/trusty/debian/ceilometer-agent-compute.install
new file mode 100644 (file)
index 0000000..773283a
--- /dev/null
@@ -0,0 +1 @@
+usr/bin/ceilometer-agent-compute
diff --git a/trusty/debian/ceilometer-agent-compute.postrm b/trusty/debian/ceilometer-agent-compute.postrm
new file mode 100644 (file)
index 0000000..1ef9152
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+if [ "$1" = purge ]; then
+        update-rc.d ceilometer-agent-compute remove
+fi
+
+#DEBHELPER#
diff --git a/trusty/debian/ceilometer-agent-compute.upstart b/trusty/debian/ceilometer-agent-compute.upstart
new file mode 100644 (file)
index 0000000..6824e2b
--- /dev/null
@@ -0,0 +1,17 @@
+description "ceilometer-agent-compute"
+author "Chuck Short <zulcss@ubuntu.com>"
+
+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
diff --git a/trusty/debian/ceilometer-agent-notification.install b/trusty/debian/ceilometer-agent-notification.install
new file mode 100644 (file)
index 0000000..1bcacec
--- /dev/null
@@ -0,0 +1 @@
+usr/bin/ceilometer-agent-notification
diff --git a/trusty/debian/ceilometer-agent-notification.upstart b/trusty/debian/ceilometer-agent-notification.upstart
new file mode 100644 (file)
index 0000000..4f5a4c9
--- /dev/null
@@ -0,0 +1,17 @@
+description "ceilometer-agent-notification"
+author "Yolanda Robla <yolanda.robla@canonical.com>"
+
+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
diff --git a/trusty/debian/ceilometer-alarm-evaluator.install b/trusty/debian/ceilometer-alarm-evaluator.install
new file mode 100644 (file)
index 0000000..22eb49f
--- /dev/null
@@ -0,0 +1 @@
+usr/bin/ceilometer-alarm-evaluator
diff --git a/trusty/debian/ceilometer-alarm-evaluator.postrm b/trusty/debian/ceilometer-alarm-evaluator.postrm
new file mode 100644 (file)
index 0000000..99105ef
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ "${1}" = purge ] ; then
+       rm -f /var/log/ceilometer/ceilometer-alarm-evaluator.log*
+       [ -d /var/log/ceilometer ] && rmdir --ignore-fail-on-non-empty /var/log/ceilometer
+fi
+
+#DEBHELPER#
diff --git a/trusty/debian/ceilometer-alarm-evaluator.upstart b/trusty/debian/ceilometer-alarm-evaluator.upstart
new file mode 100644 (file)
index 0000000..a01fe41
--- /dev/null
@@ -0,0 +1,17 @@
+description "ceilometer-alarm-evaluator"
+author "Chuck Short <zulcss@ubuntu.com>"
+
+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
diff --git a/trusty/debian/ceilometer-alarm-notifier.install b/trusty/debian/ceilometer-alarm-notifier.install
new file mode 100644 (file)
index 0000000..c0abb6a
--- /dev/null
@@ -0,0 +1 @@
+usr/bin/ceilometer-alarm-notifier
diff --git a/trusty/debian/ceilometer-alarm-notifier.postrm b/trusty/debian/ceilometer-alarm-notifier.postrm
new file mode 100644 (file)
index 0000000..e13d5c4
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ "${1}" = purge ] ; then
+       rm -f /var/log/ceilometer/ceilometer-alarm-notifier.log*
+       [ -d /var/log/ceilometer ] && rmdir --ignore-fail-on-non-empty /var/log/ceilometer
+fi
+
+#DEBHELPER#
diff --git a/trusty/debian/ceilometer-alarm-notifier.upstart b/trusty/debian/ceilometer-alarm-notifier.upstart
new file mode 100644 (file)
index 0000000..b2a2848
--- /dev/null
@@ -0,0 +1,17 @@
+description "ceilometer-alarm-notifier"
+author "Chuck Short <zulcss@ubuntu.com>"
+
+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
diff --git a/trusty/debian/ceilometer-api.install b/trusty/debian/ceilometer-api.install
new file mode 100644 (file)
index 0000000..308a676
--- /dev/null
@@ -0,0 +1 @@
+usr/bin/ceilometer-api
diff --git a/trusty/debian/ceilometer-api.postrm b/trusty/debian/ceilometer-api.postrm
new file mode 100644 (file)
index 0000000..2c434ad
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+if [ "$1" = purge ]; then
+        update-rc.d ceilometer-api remove
+fi
+
+#DEBHELPER#
diff --git a/trusty/debian/ceilometer-api.upstart b/trusty/debian/ceilometer-api.upstart
new file mode 100644 (file)
index 0000000..827d77f
--- /dev/null
@@ -0,0 +1,17 @@
+description "ceilometer-agent-compute"
+author "Chuck Short <zulcss@ubuntu.com>"
+
+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
diff --git a/trusty/debian/ceilometer-collector.install b/trusty/debian/ceilometer-collector.install
new file mode 100644 (file)
index 0000000..9a114b9
--- /dev/null
@@ -0,0 +1 @@
+usr/bin/ceilometer-collector
diff --git a/trusty/debian/ceilometer-collector.postrm b/trusty/debian/ceilometer-collector.postrm
new file mode 100644 (file)
index 0000000..2ffb546
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+if [ "$1" = purge ]; then
+        update-rc.d ceilometer-collector remove
+fi
+
+#DEBHELPER#
diff --git a/trusty/debian/ceilometer-collector.upstart b/trusty/debian/ceilometer-collector.upstart
new file mode 100644 (file)
index 0000000..23b996f
--- /dev/null
@@ -0,0 +1,17 @@
+description "ceilometer-agent-compute"
+author "Chuck Short <zulcss@ubuntu.com>"
+
+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
diff --git a/trusty/debian/ceilometer-common.dirs b/trusty/debian/ceilometer-common.dirs
new file mode 100644 (file)
index 0000000..bce7e7b
--- /dev/null
@@ -0,0 +1,3 @@
+etc/ceilometer
+var/lib/ceilometer
+var/log/ceilometer
diff --git a/trusty/debian/ceilometer-common.install b/trusty/debian/ceilometer-common.install
new file mode 100644 (file)
index 0000000..9f58d52
--- /dev/null
@@ -0,0 +1,11 @@
+etc/ceilometer/ceilometer.conf etc/ceilometer
+etc/ceilometer/pipeline.yaml etc/ceilometer
+etc/ceilometer/policy.json etc/ceilometer
+etc/ceilometer/api_paste.ini etc/ceilometer
+etc/ceilometer/event_definitions.yaml etc/ceilometer
+tools/show_data.py usr/share/doc/ceilometer
+usr/bin/ceilometer-agent-ipmi
+usr/bin/ceilometer-dbsync
+usr/bin/ceilometer-expirer
+usr/bin/ceilometer-rootwrap
+usr/bin/ceilometer-send-sample
diff --git a/trusty/debian/ceilometer-common.postinst b/trusty/debian/ceilometer-common.postinst
new file mode 100644 (file)
index 0000000..271dd31
--- /dev/null
@@ -0,0 +1,25 @@
+#!/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
+
+    chmod 0775 /var/log/ceilometer
+    chown -R ceilometer:ceilometer /var/lib/ceilometer /etc/ceilometer /var/log/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#
diff --git a/trusty/debian/ceilometer.conf.sample b/trusty/debian/ceilometer.conf.sample
new file mode 100644 (file)
index 0000000..fe23825
--- /dev/null
@@ -0,0 +1,1003 @@
+[DEFAULT]
+
+#
+# Options defined in oslo.messaging
+#
+
+# Use durable queues in amqp. (boolean value)
+# Deprecated group/name - [DEFAULT]/rabbit_durable_queues
+#amqp_durable_queues=false
+
+# Auto-delete queues in amqp. (boolean value)
+#amqp_auto_delete=false
+
+# Size of RPC connection pool. (integer value)
+#rpc_conn_pool_size=30
+
+# Modules of exceptions that are permitted to be recreated
+# upon receiving exception data from an rpc call. (list value)
+#allowed_rpc_exception_modules=oslo.messaging.exceptions,nova.exception,cinder.exception,exceptions
+
+# Qpid broker hostname. (string value)
+#qpid_hostname=localhost
+
+# Qpid broker port. (integer value)
+#qpid_port=5672
+
+# Qpid HA cluster host:port pairs. (list value)
+#qpid_hosts=$qpid_hostname:$qpid_port
+
+# Username for Qpid connection. (string value)
+#qpid_username=
+
+# Password for Qpid connection. (string value)
+#qpid_password=
+
+# Space separated list of SASL mechanisms to use for auth.
+# (string value)
+#qpid_sasl_mechanisms=
+
+# Seconds between connection keepalive heartbeats. (integer
+# value)
+#qpid_heartbeat=60
+
+# Transport to use, either 'tcp' or 'ssl'. (string value)
+#qpid_protocol=tcp
+
+# Whether to disable the Nagle algorithm. (boolean value)
+#qpid_tcp_nodelay=true
+
+# The qpid topology version to use.  Version 1 is what was
+# originally used by impl_qpid.  Version 2 includes some
+# backwards-incompatible changes that allow broker federation
+# to work.  Users should update to version 2 when they are
+# able to take everything down, as it requires a clean break.
+# (integer value)
+#qpid_topology_version=1
+
+# SSL version to use (valid only if SSL enabled). valid values
+# are TLSv1, SSLv23 and SSLv3. SSLv2 may be available on some
+# distributions. (string value)
+#kombu_ssl_version=
+
+# SSL key file (valid only if SSL enabled). (string value)
+#kombu_ssl_keyfile=
+
+# SSL cert file (valid only if SSL enabled). (string value)
+#kombu_ssl_certfile=
+
+# SSL certification authority file (valid only if SSL
+# enabled). (string value)
+#kombu_ssl_ca_certs=
+
+# How long to wait before reconnecting in response to an AMQP
+# consumer cancel notification. (floating point value)
+#kombu_reconnect_delay=1.0
+
+# The RabbitMQ broker address where a single node is used.
+# (string value)
+#rabbit_host=localhost
+
+# The RabbitMQ broker port where a single node is used.
+# (integer value)
+#rabbit_port=5672
+
+# RabbitMQ HA cluster host:port pairs. (list value)
+#rabbit_hosts=$rabbit_host:$rabbit_port
+
+# Connect over SSL for RabbitMQ. (boolean value)
+#rabbit_use_ssl=false
+
+# The RabbitMQ userid. (string value)
+#rabbit_userid=guest
+
+# The RabbitMQ password. (string value)
+#rabbit_password=guest
+
+# the RabbitMQ login method (string value)
+#rabbit_login_method=AMQPLAIN
+
+# The RabbitMQ virtual host. (string value)
+#rabbit_virtual_host=/
+
+# How frequently to retry connecting with RabbitMQ. (integer
+# value)
+#rabbit_retry_interval=1
+
+# How long to backoff for between retries when connecting to
+# RabbitMQ. (integer value)
+#rabbit_retry_backoff=2
+
+# Maximum number of RabbitMQ connection retries. Default is 0
+# (infinite retry count). (integer value)
+#rabbit_max_retries=0
+
+# Use HA queues in RabbitMQ (x-ha-policy: all). If you change
+# this option, you must wipe the RabbitMQ database. (boolean
+# value)
+#rabbit_ha_queues=false
+
+# If passed, use a fake RabbitMQ provider. (boolean value)
+#fake_rabbit=false
+
+# ZeroMQ bind address. Should be a wildcard (*), an ethernet
+# interface, or IP. The "host" option should point or resolve
+# to this address. (string value)
+#rpc_zmq_bind_address=*
+
+# MatchMaker driver. (string value)
+#rpc_zmq_matchmaker=oslo.messaging._drivers.matchmaker.MatchMakerLocalhost
+
+# ZeroMQ receiver listening port. (integer value)
+#rpc_zmq_port=9501
+
+# Number of ZeroMQ contexts, defaults to 1. (integer value)
+#rpc_zmq_contexts=1
+
+# Maximum number of ingress messages to locally buffer per
+# topic. Default is unlimited. (integer value)
+#rpc_zmq_topic_backlog=<None>
+
+# Directory for holding IPC sockets. (string value)
+#rpc_zmq_ipc_dir=/var/run/openstack
+
+# Name of this node. Must be a valid hostname, FQDN, or IP
+# address. Must match "host" option, if running Nova. (string
+# value)
+#rpc_zmq_host=ceilometer
+
+# Seconds to wait before a cast expires (TTL). Only supported
+# by impl_zmq. (integer value)
+#rpc_cast_timeout=30
+
+# Heartbeat frequency. (integer value)
+#matchmaker_heartbeat_freq=300
+
+# Heartbeat time-to-live. (integer value)
+#matchmaker_heartbeat_ttl=600
+
+# Host to locate redis. (string value)
+#host=127.0.0.1
+
+# Use this port to connect to redis host. (integer value)
+#port=6379
+
+# Password for Redis server (optional). (string value)
+#password=<None>
+
+# Size of RPC greenthread pool. (integer value)
+#rpc_thread_pool_size=64
+
+# Driver or drivers to handle sending notifications. (multi
+# valued)
+#notification_driver=
+
+# AMQP topic used for OpenStack notifications. (list value)
+# Deprecated group/name - [rpc_notifier2]/topics
+#notification_topics=notifications
+
+# Seconds to wait for a response from a call. (integer value)
+#rpc_response_timeout=60
+
+# A URL representing the messaging driver to use and its full
+# configuration. If not set, we fall back to the rpc_backend
+# option and driver specific configuration. (string value)
+#transport_url=<None>
+
+# The messaging driver to use, defaults to rabbit. Other
+# drivers include qpid and zmq. (string value)
+#rpc_backend=rabbit
+
+# The default exchange under which topics are scoped. May be
+# overridden by an exchange name specified in the
+# transport_url option. (string value)
+#control_exchange=openstack
+
+
+#
+# Options defined in ceilometer.middleware
+#
+
+# Exchanges name to listen for notifications. (multi valued)
+#http_control_exchanges=nova
+#http_control_exchanges=glance
+#http_control_exchanges=neutron
+#http_control_exchanges=cinder
+
+
+#
+# Options defined in ceilometer.pipeline
+#
+
+# Configuration file for pipeline definition. (string value)
+#pipeline_cfg_file=pipeline.yaml
+
+
+#
+# Options defined in ceilometer.sample
+#
+
+# Source for samples emitted on this instance. (string value)
+# Deprecated group/name - [DEFAULT]/counter_source
+#sample_source=openstack
+
+
+#
+# Options defined in ceilometer.service
+#
+
+# Name of this node, which must be valid in an AMQP key. Can
+# be an opaque identifier. For ZeroMQ only, must be a valid
+# host name, FQDN, or IP address. (string value)
+#host=ceilometer
+
+# Number of workers for collector service. A single collector
+# is enabled by default. (integer value)
+#collector_workers=1
+
+# Number of workers for notification service. A single
+# notification agent is enabled by default. (integer value)
+#notification_workers=1
+
+
+#
+# Options defined in ceilometer.api.app
+#
+
+# Configuration file for WSGI definition of API. (string
+# value)
+#api_paste_config=api_paste.ini
+
+
+#
+# Options defined in ceilometer.compute.notifications
+#
+
+# Exchange name for Nova notifications. (string value)
+#nova_control_exchange=nova
+
+
+#
+# Options defined in ceilometer.compute.util
+#
+
+# List of metadata prefixes reserved for metering use. (list
+# value)
+#reserved_metadata_namespace=metering.
+
+# Limit on length of reserved metadata values. (integer value)
+#reserved_metadata_length=256
+
+
+#
+# Options defined in ceilometer.compute.virt.inspector
+#
+
+# Inspector to use for inspecting the hypervisor layer.
+# (string value)
+#hypervisor_inspector=libvirt
+
+
+#
+# Options defined in ceilometer.compute.virt.libvirt.inspector
+#
+
+# Libvirt domain type (valid options are: kvm, lxc, qemu, uml,
+# xen). (string value)
+#libvirt_type=kvm
+
+# Override the default libvirt URI (which is dependent on
+# libvirt_type). (string value)
+#libvirt_uri=
+
+
+#
+# Options defined in ceilometer.dispatcher
+#
+
+# Dispatcher to process data. (multi valued)
+#dispatcher=database
+
+
+#
+# Options defined in ceilometer.image.notifications
+#
+
+# Exchange name for Glance notifications. (string value)
+#glance_control_exchange=glance
+
+
+#
+# Options defined in ceilometer.network.notifications
+#
+
+# Exchange name for Neutron notifications. (string value)
+# Deprecated group/name - [DEFAULT]/quantum_control_exchange
+#neutron_control_exchange=neutron
+
+
+#
+# Options defined in ceilometer.objectstore.swift
+#
+
+# Swift reseller prefix. Must be on par with reseller_prefix
+# in proxy-server.conf. (string value)
+#reseller_prefix=AUTH_
+
+
+#
+# Options defined in ceilometer.openstack.common.eventlet_backdoor
+#
+
+# Enable eventlet backdoor.  Acceptable values are 0, <port>,
+# and <start>:<end>, where 0 results in listening on a random
+# tcp port number; <port> results in listening on the
+# specified port number (and not enabling backdoor if that
+# port is in use); and <start>:<end> results in listening on
+# the smallest unused port number within the specified range
+# of port numbers.  The chosen port is displayed in the
+# service's log file. (string value)
+#backdoor_port=<None>
+
+
+#
+# Options defined in ceilometer.openstack.common.lockutils
+#
+
+# Enables or disables inter-process locks. (boolean value)
+#disable_process_locking=false
+
+# Directory to use for lock files. (string value)
+#lock_path=<None>
+
+
+#
+# Options defined in ceilometer.openstack.common.log
+#
+
+# Print debugging output (set logging level to DEBUG instead
+# of default WARNING level). (boolean value)
+#debug=false
+
+# Print more verbose output (set logging level to INFO instead
+# of default WARNING level). (boolean value)
+#verbose=false
+
+# Log output to standard error. (boolean value)
+#use_stderr=true
+
+# Format string to use for log messages with context. (string
+# value)
+#logging_context_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
+
+# Format string to use for log messages without context.
+# (string value)
+#logging_default_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
+
+# Data to append to log format when level is DEBUG. (string
+# value)
+#logging_debug_format_suffix=%(funcName)s %(pathname)s:%(lineno)d
+
+# Prefix each line of exception output with this format.
+# (string value)
+#logging_exception_prefix=%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s
+
+# List of logger=LEVEL pairs. (list value)
+#default_log_levels=amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN
+
+# Enables or disables publication of error events. (boolean
+# value)
+#publish_errors=false
+
+# Enables or disables fatal status of deprecations. (boolean
+# value)
+#fatal_deprecations=false
+
+# The format for an instance that is passed with the log
+# message.  (string value)
+#instance_format="[instance: %(uuid)s] "
+
+# The format for an instance UUID that is passed with the log
+# message.  (string value)
+#instance_uuid_format="[instance: %(uuid)s] "
+
+# The name of a logging configuration file. This file is
+# appended to any existing logging configuration files. For
+# details about logging configuration files, see the Python
+# logging module documentation. (string value)
+# Deprecated group/name - [DEFAULT]/log_config
+#log_config_append=<None>
+
+# DEPRECATED. A logging.Formatter log message format string
+# which may use any of the available logging.LogRecord
+# attributes. This option is deprecated.  Please use
+# logging_context_format_string and
+# logging_default_format_string instead. (string value)
+#log_format=<None>
+
+# Format string for %%(asctime)s in log records. Default:
+# %(default)s . (string value)
+#log_date_format=%Y-%m-%d %H:%M:%S
+
+# (Optional) Name of log file to output to. If no default is
+# set, logging will go to stdout. (string value)
+# Deprecated group/name - [DEFAULT]/logfile
+#log_file=<None>
+
+# (Optional) The base directory used for relative --log-file
+# paths. (string value)
+# Deprecated group/name - [DEFAULT]/logdir
+#log_dir=<None>
+
+# Use syslog for logging. Existing syslog format is DEPRECATED
+# during I, and will change in J to honor RFC5424. (boolean
+# value)
+#use_syslog=false
+
+# (Optional) Enables or disables syslog rfc5424 format for
+# logging. If enabled, prefixes the MSG part of the syslog
+# message with APP-NAME (RFC5424). The format without the APP-
+# NAME is deprecated in I, and will be removed in J. (boolean
+# value)
+#use_syslog_rfc_format=false
+
+# Syslog facility to receive log lines. (string value)
+#syslog_log_facility=LOG_USER
+
+
+#
+# Options defined in ceilometer.openstack.common.middleware.sizelimit
+#
+
+# The maximum body size for each  request, in bytes. (integer
+# value)
+# Deprecated group/name - [DEFAULT]/osapi_max_request_body_size
+#max_request_body_size=114688
+
+
+#
+# Options defined in ceilometer.openstack.common.policy
+#
+
+# The JSON file that defines policies. (string value)
+#policy_file=policy.json
+
+# Default rule. Enforced when a requested rule is not found.
+# (string value)
+#policy_default_rule=default
+
+
+#
+# Options defined in ceilometer.orchestration.notifications
+#
+
+# Exchange name for Heat notifications (string value)
+#heat_control_exchange=heat
+
+
+#
+# Options defined in ceilometer.storage
+#
+
+# DEPRECATED - Database connection string. (string value)
+#database_connection=<None>
+
+
+#
+# Options defined in ceilometer.volume.notifications
+#
+
+# Exchange name for Cinder notifications. (string value)
+#cinder_control_exchange=cinder
+
+
+[alarm]
+
+#
+# Options defined in ceilometer.cli
+#
+
+# Class to launch as alarm evaluation service. (string value)
+#evaluation_service=ceilometer.alarm.service.SingletonAlarmService
+
+
+#
+# Options defined in ceilometer.alarm.notifier.rest
+#
+
+# SSL Client certificate for REST notifier. (string value)
+#rest_notifier_certificate_file=
+
+# SSL Client private key for REST notifier. (string value)
+#rest_notifier_certificate_key=
+
+# Whether to verify the SSL Server certificate when calling
+# alarm action. (boolean value)
+#rest_notifier_ssl_verify=true
+
+
+#
+# Options defined in ceilometer.alarm.rpc
+#
+
+# The topic that ceilometer uses for alarm notifier messages.
+# (string value)
+#notifier_rpc_topic=alarm_notifier
+
+# The topic that ceilometer uses for alarm partition
+# coordination messages. (string value)
+#partition_rpc_topic=alarm_partition_coordination
+
+
+#
+# Options defined in ceilometer.alarm.service
+#
+
+# Period of evaluation cycle, should be >= than configured
+# pipeline interval for collection of underlying metrics.
+# (integer value)
+# Deprecated group/name - [alarm]/threshold_evaluation_interval
+#evaluation_interval=60
+
+
+#
+# Options defined in ceilometer.api.controllers.v2
+#
+
+# Record alarm change events. (boolean value)
+#record_history=true
+
+
+[api]
+
+#
+# Options defined in ceilometer.api
+#
+
+# The port for the ceilometer API server. (integer value)
+# Deprecated group/name - [DEFAULT]/metering_api_port
+#port=8777
+
+# The listen IP for the ceilometer API server. (string value)
+#host=0.0.0.0
+
+# Set it to False if your environment does not need or have
+# dns server, otherwise it will delay the response from api.
+# (boolean value)
+#enable_reverse_dns_lookup=false
+
+
+[collector]
+
+#
+# Options defined in ceilometer.collector
+#
+
+# Address to which the UDP socket is bound. Set to an empty
+# string to disable. (string value)
+#udp_address=0.0.0.0
+
+# Port to which the UDP socket is bound. (integer value)
+#udp_port=4952
+
+
+[database]
+
+#
+# Options defined in ceilometer.openstack.common.db.options
+#
+
+# The file name to use with SQLite (string value)
+#sqlite_db=ceilometer.sqlite
+
+# If True, SQLite uses synchronous mode (boolean value)
+#sqlite_synchronous=true
+
+# The backend to use for db (string value)
+# Deprecated group/name - [DEFAULT]/db_backend
+#backend=sqlalchemy
+
+# The SQLAlchemy connection string used to connect to the
+# database (string value)
+# Deprecated group/name - [DEFAULT]/sql_connection
+# Deprecated group/name - [DATABASE]/sql_connection
+# Deprecated group/name - [sql]/connection
+#connection=<None>
+
+# The SQL mode to be used for MySQL sessions. This option,
+# including the default, overrides any server-set SQL mode. To
+# use whatever SQL mode is set by the server configuration,
+# set this to no value. Example: mysql_sql_mode= (string
+# value)
+#mysql_sql_mode=TRADITIONAL
+
+# Timeout before idle sql connections are reaped (integer
+# value)
+# Deprecated group/name - [DEFAULT]/sql_idle_timeout
+# Deprecated group/name - [DATABASE]/sql_idle_timeout
+# Deprecated group/name - [sql]/idle_timeout
+#idle_timeout=3600
+
+# Minimum number of SQL connections to keep open in a pool
+# (integer value)
+# Deprecated group/name - [DEFAULT]/sql_min_pool_size
+# Deprecated group/name - [DATABASE]/sql_min_pool_size
+#min_pool_size=1
+
+# Maximum number of SQL connections to keep open in a pool
+# (integer value)
+# Deprecated group/name - [DEFAULT]/sql_max_pool_size
+# Deprecated group/name - [DATABASE]/sql_max_pool_size
+#max_pool_size=<None>
+
+# Maximum db connection retries during startup. (setting -1
+# implies an infinite retry count) (integer value)
+# Deprecated group/name - [DEFAULT]/sql_max_retries
+# Deprecated group/name - [DATABASE]/sql_max_retries
+#max_retries=10
+
+# Interval between retries of opening a sql connection
+# (integer value)
+# Deprecated group/name - [DEFAULT]/sql_retry_interval
+# Deprecated group/name - [DATABASE]/reconnect_interval
+#retry_interval=10
+
+# If set, use this value for max_overflow with sqlalchemy
+# (integer value)
+# Deprecated group/name - [DEFAULT]/sql_max_overflow
+# Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
+#max_overflow=<None>
+
+# Verbosity of SQL debugging information. 0=None,
+# 100=Everything (integer value)
+# Deprecated group/name - [DEFAULT]/sql_connection_debug
+#connection_debug=0
+
+# Add python stack traces to SQL as comment strings (boolean
+# value)
+# Deprecated group/name - [DEFAULT]/sql_connection_trace
+#connection_trace=false
+
+# If set, use this value for pool_timeout with sqlalchemy
+# (integer value)
+# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
+#pool_timeout=<None>
+
+# Enable the experimental use of database reconnect on
+# connection lost (boolean value)
+#use_db_reconnect=false
+
+# seconds between db connection retries (integer value)
+#db_retry_interval=1
+
+# Whether to increase interval between db connection retries,
+# up to db_max_retry_interval (boolean value)
+#db_inc_retry_interval=true
+
+# max seconds between db connection retries, if
+# db_inc_retry_interval is enabled (integer value)
+#db_max_retry_interval=10
+
+# maximum db connection retries before error is raised.
+# (setting -1 implies an infinite retry count) (integer value)
+#db_max_retries=20
+
+
+#
+# Options defined in ceilometer.storage
+#
+
+# Number of seconds that samples are kept in the database for
+# (<= 0 means forever). (integer value)
+#time_to_live=-1
+
+
+[dispatcher_file]
+
+#
+# Options defined in ceilometer.dispatcher.file
+#
+
+# Name and the location of the file to record meters. (string
+# value)
+#file_path=<None>
+
+# The max size of the file. (integer value)
+#max_bytes=0
+
+# The max number of the files to keep. (integer value)
+#backup_count=0
+
+
+[event]
+
+#
+# Options defined in ceilometer.event.converter
+#
+
+# Configuration file for event definitions. (string value)
+#definitions_cfg_file=event_definitions.yaml
+
+# Drop notifications if no event definition matches.
+# (Otherwise, we convert them with just the default traits)
+# (boolean value)
+#drop_unmatched_notifications=false
+
+
+[keystone_authtoken]
+
+#
+# Options defined in keystoneclient.middleware.auth_token
+#
+
+# Prefix to prepend at the beginning of the path. Deprecated,
+# use identity_uri. (string value)
+#auth_admin_prefix=
+
+# Host providing the admin Identity API endpoint. Deprecated,
+# use identity_uri. (string value)
+#auth_host=127.0.0.1
+
+# Port of the admin Identity API endpoint. Deprecated, use
+# identity_uri. (integer value)
+#auth_port=35357
+
+# Protocol of the admin Identity API endpoint (http or https).
+# Deprecated, use identity_uri. (string value)
+#auth_protocol=https
+
+# Complete public Identity API endpoint (string value)
+#auth_uri=<None>
+
+# Complete admin Identity API endpoint. This should specify
+# the unversioned root endpoint e.g. https://localhost:35357/
+# (string value)
+#identity_uri=<None>
+
+# API version of the admin Identity API endpoint (string
+# value)
+#auth_version=<None>
+
+# Do not handle authorization requests within the middleware,
+# but delegate the authorization decision to downstream WSGI
+# components (boolean value)
+#delay_auth_decision=false
+
+# Request timeout value for communicating with Identity API
+# server. (boolean value)
+#http_connect_timeout=<None>
+
+# How many times are we trying to reconnect when communicating
+# with Identity API Server. (integer value)
+#http_request_max_retries=3
+
+# This option is deprecated and may be removed in a future
+# release. Single shared secret with the Keystone
+# configuration used for bootstrapping a Keystone
+# installation, or otherwise bypassing the normal
+# authentication process. This option should not be used, use
+# `admin_user` and `admin_password` instead. (string value)
+#admin_token=<None>
+
+# Keystone account username (string value)
+#admin_user=<None>
+
+# Keystone account password (string value)
+#admin_password=<None>
+
+# Keystone service account tenant name to validate user tokens
+# (string value)
+#admin_tenant_name=admin
+
+# Env key for the swift cache (string value)
+#cache=<None>
+
+# Required if Keystone server requires client certificate
+# (string value)
+#certfile=<None>
+
+# Required if Keystone server requires client certificate
+# (string value)
+#keyfile=<None>
+
+# A PEM encoded Certificate Authority to use when verifying
+# HTTPs connections. Defaults to system CAs. (string value)
+#cafile=<None>
+
+# Verify HTTPS connections. (boolean value)
+#insecure=false
+
+# Directory used to cache files related to PKI tokens (string
+# value)
+#signing_dir=<None>
+
+# Optionally specify a list of memcached server(s) to use for
+# caching. If left undefined, tokens will instead be cached
+# in-process. (list value)
+# Deprecated group/name - [DEFAULT]/memcache_servers
+#memcached_servers=<None>
+
+# In order to prevent excessive effort spent validating
+# tokens, the middleware caches previously-seen tokens for a
+# configurable duration (in seconds). Set to -1 to disable
+# caching completely. (integer value)
+#token_cache_time=300
+
+# Determines the frequency at which the list of revoked tokens
+# is retrieved from the Identity service (in seconds). A high
+# number of revocation events combined with a low cache
+# duration may significantly reduce performance. (integer
+# value)
+#revocation_cache_time=10
+
+# (optional) if defined, indicate whether token data should be
+# authenticated or authenticated and encrypted. Acceptable
+# values are MAC or ENCRYPT.  If MAC, token data is
+# authenticated (with HMAC) in the cache. If ENCRYPT, token
+# data is encrypted and authenticated in the cache. If the
+# value is not one of these options or empty, auth_token will
+# raise an exception on initialization. (string value)
+#memcache_security_strategy=<None>
+
+# (optional, mandatory if memcache_security_strategy is
+# defined) this string is used for key derivation. (string
+# value)
+#memcache_secret_key=<None>
+
+# (optional) indicate whether to set the X-Service-Catalog
+# header. If False, middleware will not ask for service
+# catalog on token validation and will not set the X-Service-
+# Catalog header. (boolean value)
+#include_service_catalog=true
+
+# Used to control the use and type of token binding. Can be
+# set to: "disabled" to not check token binding. "permissive"
+# (default) to validate binding information if the bind type
+# is of a form known to the server and ignore it if not.
+# "strict" like "permissive" but if the bind type is unknown
+# the token will be rejected. "required" any form of token
+# binding is needed to be allowed. Finally the name of a
+# binding method that must be present in tokens. (string
+# value)
+#enforce_token_bind=permissive
+
+# If true, the revocation list will be checked for cached
+# tokens. This requires that PKI tokens are configured on the
+# Keystone server. (boolean value)
+#check_revocations_for_cached=false
+
+# Hash algorithms to use for hashing PKI tokens. This may be a
+# single algorithm or multiple. The algorithms are those
+# supported by Python standard hashlib.new(). The hashes will
+# be tried in the order given, so put the preferred one first
+# for performance. The result of the first hash will be stored
+# in the cache. This will typically be set to multiple values
+# only while migrating from a less secure algorithm to a more
+# secure one. Once all the old tokens are expired this option
+# should be set to a single value for better performance.
+# (list value)
+#hash_algorithms=md5
+
+
+[matchmaker_ring]
+
+#
+# Options defined in oslo.messaging
+#
+
+# Matchmaker ring file (JSON). (string value)
+# Deprecated group/name - [DEFAULT]/matchmaker_ringfile
+#ringfile=/etc/oslo/matchmaker_ring.json
+
+
+[notification]
+
+#
+# Options defined in ceilometer.notification
+#
+
+# Acknowledge message when event persistence fails. (boolean
+# value)
+#ack_on_event_error=true
+
+# Save event details. (boolean value)
+#store_events=false
+
+# Messaging URLs to listen for notifications. Example:
+# transport://user:pass@host1:port[,hostN:portN]/virtual_host
+# (DEFAULT/transport_url is used if empty) (multi valued)
+#messaging_urls=
+
+
+[publisher]
+
+#
+# Options defined in ceilometer.publisher.utils
+#
+
+# Secret value for signing metering messages. (string value)
+# Deprecated group/name - [DEFAULT]/metering_secret
+# Deprecated group/name - [publisher_rpc]/metering_secret
+#metering_secret=change this or be hacked
+
+
+[publisher_rpc]
+
+#
+# Options defined in ceilometer.publisher.rpc
+#
+
+# The topic that ceilometer uses for metering messages.
+# (string value)
+#metering_topic=metering
+
+
+[service_credentials]
+
+#
+# Options defined in ceilometer.service
+#
+
+# User name to use for OpenStack service access. (string
+# value)
+#os_username=ceilometer
+
+# Password to use for OpenStack service access. (string value)
+#os_password=admin
+
+# Tenant ID to use for OpenStack service access. (string
+# value)
+#os_tenant_id=
+
+# Tenant name to use for OpenStack service access. (string
+# value)
+#os_tenant_name=admin
+
+# Certificate chain for SSL validation. (string value)
+#os_cacert=<None>
+
+# Auth URL to use for OpenStack service access. (string value)
+#os_auth_url=http://localhost:5000/v2.0
+
+# Region name to use for OpenStack service endpoints. (string
+# value)
+#os_region_name=<None>
+
+# Type of endpoint in Identity service catalog to use for
+# communication with OpenStack services. (string value)
+#os_endpoint_type=publicURL
+
+# Disables X.509 certificate validation when an SSL connection
+# to Identity Service is established. (boolean value)
+#insecure=false
+
+
+[vmware]
+
+#
+# Options defined in ceilometer.compute.virt.vmware.inspector
+#
+
+# IP address of the VMware Vsphere host (string value)
+#host_ip=
+
+# Username of VMware Vsphere (string value)
+#host_username=
+
+# Password of VMware Vsphere (string value)
+#host_password=
+
+# Number of times a VMware Vsphere API must be retried
+# (integer value)
+#api_retry_count=10
+
+# Sleep time in seconds for polling an ongoing async task
+# (floating point value)
+#task_poll_interval=0.5
+
+# Optional vim service WSDL location e.g
+# http://<server>/vimService.wsdl. Optional over-ride to
+# default location for bug work-arounds (string value)
+#wsdl_location=<None>
+
+
diff --git a/trusty/debian/changelog b/trusty/debian/changelog
new file mode 100644 (file)
index 0000000..fa82acd
--- /dev/null
@@ -0,0 +1,7 @@
+ceilometer (2014.2.2-fuel6.1-14.04-1) trusty; urgency=medium
+
+  * Build ceilometer for Ubuntu 14.04
+  * Update to 2014.2.b2 version
+
+ -- Ivan Berezovskiy <iberezovskiy@mirantis.com>  Wed, 18 Feb 2015 17:46:31 +0300
+
diff --git a/trusty/debian/compat b/trusty/debian/compat
new file mode 100644 (file)
index 0000000..45a4fb7
--- /dev/null
@@ -0,0 +1 @@
+8
diff --git a/trusty/debian/control b/trusty/debian/control
new file mode 100644 (file)
index 0000000..41300bf
--- /dev/null
@@ -0,0 +1,274 @@
+Source: ceilometer
+Section: python
+Priority: optional
+Maintainer: MOS Ceilometer Team <mos-ceilometer@mirantis.com>
+Build-Depends:
+ alembic (>= 0.6.4),
+ debhelper (>= 8.0.0),
+ python-all (>= 2.6),
+ python-anyjson (>= 0.3.3),
+ python-argparse,
+ python-babel (>= 0.9.6),
+ python-ceilometerclient (>= 1.0.6),
+ python-croniter (>= 0.3.4),
+ python-coverage,
+ python-docutils,
+ python-eventlet (>= 0.15.1),
+ python-fixtures (>= 0.3.14),
+ python-flask (>= 0.10),
+ python-flask (<< 1.0),
+ python-glanceclient (>= 1:0.14.0),
+ python-httplib2,
+ python-happybase (>= 0.7.1),
+ python-iso8601 (>= 0.1.9),
+ python-jsonpath-rw (>= 1.2.0),
+ python-jsonpath-rw (<< 2.0),
+ python-jsonschema (>= 2.0.0),
+ python-jsonschema (<< 3.0.0),
+ python-keystoneclient (>= 1:0.10.0),
+ python-keystonemiddleware (>= 1.0.0),
+ python-lxml (>= 2.3),
+ python-lockfile (>= 0.8),
+ python-migrate (>= 0.9.1),
+ python-mock,
+ python-mox,
+ python-msgpack (>= 0.4.0),
+ python-mysqldb,
+ python-netaddr (>= 0.7.12),
+ python-nova,
+ python-novaclient (>= 1:2.18.0),
+ python-neutronclient (>= 2.3.6),
+ python-oslo.config (>= 1:1.4.0),
+ python-oslo.utils (>= 0.1.1),
+ python-oslo.i18n (>= 0.1.0),
+ python-oslo.sphinx,
+ python-pastedeploy (>= 1.5.0),
+ python-pbr (>= 0.10),
+ python-pecan (>= 0.5.0),
+ python-pymongo (>= 2.6),
+ python-requests (>= 1.2.1),
+ python-simplejson,
+ python-sphinx,
+ python-sqlalchemy (>= 0.9.7),
+ python-stevedore (>= 1.0.0),
+ python-subunit,
+ python-six (>= 1.7.0),
+ python-swift (>= 2.2.0),
+ python-swiftclient (>= 2.2.0),
+ python-testscenarios (>= 0.4),
+ python-testtools (>= 0.9.32),
+ python-webob (>= 1.2.3),
+ python-wsme (>= 0.6),
+ python-yaml (>= 3.1.0),
+ testrepository (>= 0.0.17)
+Standards-Version: 3.9.4
+
+Package: python-ceilometer
+Architecture: all
+Depends:
+ alembic (>= 0.6.4),
+ python-anyjson (>= 0.3.3),
+ python-argparse,
+ python-croniter (>= 0.3.4),
+ python-ceilometerclient (>= 1.0.6),
+ python-eventlet (>= 0.15.1),
+ python-flask (>= 0.10),
+ python-flask (<< 1.0),
+ python-glanceclient (>= 1:0.14.0),
+ python-happybase (>= 0.7.1),
+ python-iso8601 (>= 0.1.9),
+ python-jsonpath-rw (>= 1.2.0),
+ python-jsonpath-rw (<< 2.0),
+ python-jsonschema (>= 2.0.0),
+ python-jsonschema (<< 3.0.0),
+ python-keystoneclient (>= 1:0.10.0),
+ python-keystonemiddleware (>= 1.0.0),
+ python-lxml (>= 2.3),
+ python-lockfile (>= 0.8),
+ python-migrate (>= 0.9.1),
+ python-msgpack (>= 0.4.0),
+ python-netaddr (>= 0.7.12),
+ python-neutronclient (>= 2.3.6),
+ python-novaclient (>= 1:2.18.0),
+ python-oslo.config (>= 1:1.4.0),
+ python-oslo.db (>= 1.0.0),
+ python-oslo.rootwrap (>= 1.3.0),
+ python-oslo.utils (>= 1.0.0),
+ python-oslo.messaging (>= 1.4.0),
+ python-oslo.serialization (>= 1.0.0),
+ python-oslo.vmware (>= 0.6),
+ python-pbr (>= 0.10),
+ python-pecan (>= 0.5.0),
+ python-posix-ipc,
+ python-pymongo (>= 2.6),
+ python-six (>= 1.7.0),
+ python-tooz (>= 0.3),
+ python-yaml (>= 3.1.0),
+ python-requests (>= 1.2.1),
+ python-sqlalchemy (>= 0.9.7),
+ python-stevedore (>= 1.0.0),
+ python-swiftclient (>= 2.2.0),
+ python-tz,
+ python-webob (>= 1.2.3),
+ python-wsme (>= 0.6),
+ ${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.
diff --git a/trusty/debian/copyright b/trusty/debian/copyright
new file mode 100644 (file)
index 0000000..b113394
--- /dev/null
@@ -0,0 +1,45 @@
+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'.
diff --git a/trusty/debian/docs b/trusty/debian/docs
new file mode 100644 (file)
index 0000000..a1320b1
--- /dev/null
@@ -0,0 +1 @@
+README.rst
diff --git a/trusty/debian/patches/fix-requirements.patch b/trusty/debian/patches/fix-requirements.patch
new file mode 100644 (file)
index 0000000..b68cc21
--- /dev/null
@@ -0,0 +1,20 @@
+diff --git a/requirements.txt b/requirements.txt
+index b22d552..398d8d1 100644
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -4,7 +4,6 @@
+ alembic>=0.6.4
+ anyjson>=0.3.3
+-argparse
+ croniter>=0.3.4 # MIT License
+ eventlet>=0.15.1,<0.16.0
+ happybase>=0.5,!=0.7
+@@ -16,7 +15,6 @@ lockfile>=0.8
+ lxml>=2.3
+ msgpack-python>=0.4.0
+ netaddr>=0.7.12
+-ordereddict
+ oslo.db>=1.0.0,<1.1  # Apache-2.0
+ oslo.config>=1.4.0  # Apache-2.0
+ oslo.rootwrap>=1.3.0
diff --git a/trusty/debian/patches/series b/trusty/debian/patches/series
new file mode 100644 (file)
index 0000000..512bf5a
--- /dev/null
@@ -0,0 +1 @@
+fix-requirements.patch
diff --git a/trusty/debian/pydist-overrides b/trusty/debian/pydist-overrides
new file mode 100644 (file)
index 0000000..14ce6f5
--- /dev/null
@@ -0,0 +1,2 @@
+pymongo python-pymongo
+happybase
diff --git a/trusty/debian/python-ceilometer.install b/trusty/debian/python-ceilometer.install
new file mode 100644 (file)
index 0000000..036c6b9
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/python*/dist-packages/*
diff --git a/trusty/debian/rules b/trusty/debian/rules
new file mode 100755 (executable)
index 0000000..d8f3904
--- /dev/null
@@ -0,0 +1,27 @@
+#!/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:
+       testr init && PYTHONPATH="$(CURDIR)" testr run || true
+endif
+
+override_dh_install:
+       cp $(CURDIR)/debian/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
diff --git a/trusty/debian/source/format b/trusty/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/trusty/debian/tests/control b/trusty/debian/tests/control
new file mode 100644 (file)
index 0000000..3c52bac
--- /dev/null
@@ -0,0 +1,2 @@
+Tests: test_daemons test_python_ceilometer
+Depends: python-ceilometer, ceilometer-common, ceilometer-collector, ceilometer-api, ceilometer-agent-compute, ceilometer-agent-central, ceilometer-agent-notification
diff --git a/trusty/debian/tests/test_daemons b/trusty/debian/tests/test_daemons
new file mode 100644 (file)
index 0000000..18d88a7
--- /dev/null
@@ -0,0 +1,15 @@
+#!/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
diff --git a/trusty/debian/tests/test_python_ceilometer b/trusty/debian/tests/test_python_ceilometer
new file mode 100644 (file)
index 0000000..2f07bf1
--- /dev/null
@@ -0,0 +1,6 @@
+#!/usr/bin/python
+#-------------------------
+# Testing client utilities
+#-------------------------
+import ceilometer
+print "Imported ceilometer module OK"
diff --git a/trusty/debian/watch b/trusty/debian/watch
new file mode 100755 (executable)
index 0000000..267f14e
--- /dev/null
@@ -0,0 +1,3 @@
+version=3
+opts="uversionmangle=s/\.([a-zA-Z])/~$1/;s/%7E/~/" \
+ https://launchpad.net/ceilometer/+download https://launchpad.net/ceilometer/.*/.*/.*/ceilometer-(.*)\.tar\.gz