Merge lp:~corey.bryant/ceilometer/2014.2-rc1-2 into lp:~ubuntu-server-dev/ceilometer/juno
- 2014.2-rc1-2
- Merge into juno
Proposed by
Corey Bryant
Status: | Merged |
---|---|
Merged at revision: | 118 |
Proposed branch: | lp:~corey.bryant/ceilometer/2014.2-rc1-2 |
Merge into: | lp:~ubuntu-server-dev/ceilometer/juno |
Diff against target: |
1826 lines (+283/-1417) 10 files modified
debian/ceilometer.conf.sample (+0/-1079) debian/changelog (+14/-0) debian/control (+9/-6) debian/patches/default-dbconnection-sqlite.patch (+0/-41) debian/patches/default-log-dir.patch (+0/-13) debian/patches/fix-requirements.patch (+22/-1) debian/patches/series (+2/-1) debian/patches/skip-ubuntu-tests.patch (+235/-0) debian/patches/skip-ubunu-tests.patch (+0/-275) debian/rules (+1/-1) |
To merge this branch: | bzr merge lp:~corey.bryant/ceilometer/2014.2-rc1-2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Server Developers | Pending | ||
Review via email: mp+236964@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
- 118. By Corey Bryant
-
* Updates to release candidate:
- d/control: Better alignment of requirements with rc1.
- d/ceilometer.conf.sample: Removed. Use generated config file.
- d/rules: Copy sample config file from etc/ rather than debian/.
- d/patch/series: Add missing patches.
- d/patch/fix-requirement s.patch: Align with Ubuntu.
- d/patch/skip-ubuntu- tests.patch: Rebased.
- d/patches/default- *.patch: Dropped. Patched config file wasn't
used.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === removed file 'debian/ceilometer.conf.sample' |
2 | --- debian/ceilometer.conf.sample 2014-09-15 14:02:17 +0000 |
3 | +++ debian/ceilometer.conf.sample 1970-01-01 00:00:00 +0000 |
4 | @@ -1,1079 +0,0 @@ |
5 | -[DEFAULT] |
6 | - |
7 | -# |
8 | -# Options defined in oslo.messaging |
9 | -# |
10 | - |
11 | -# Use durable queues in amqp. (boolean value) |
12 | -# Deprecated group/name - [DEFAULT]/rabbit_durable_queues |
13 | -#amqp_durable_queues=false |
14 | - |
15 | -# Auto-delete queues in amqp. (boolean value) |
16 | -#amqp_auto_delete=false |
17 | - |
18 | -# Size of RPC connection pool. (integer value) |
19 | -#rpc_conn_pool_size=30 |
20 | - |
21 | -# Qpid broker hostname. (string value) |
22 | -#qpid_hostname=ceilometer |
23 | - |
24 | -# Qpid broker port. (integer value) |
25 | -#qpid_port=5672 |
26 | - |
27 | -# Qpid HA cluster host:port pairs. (list value) |
28 | -#qpid_hosts=$qpid_hostname:$qpid_port |
29 | - |
30 | -# Username for Qpid connection. (string value) |
31 | -#qpid_username= |
32 | - |
33 | -# Password for Qpid connection. (string value) |
34 | -#qpid_password= |
35 | - |
36 | -# Space separated list of SASL mechanisms to use for auth. |
37 | -# (string value) |
38 | -#qpid_sasl_mechanisms= |
39 | - |
40 | -# Seconds between connection keepalive heartbeats. (integer |
41 | -# value) |
42 | -#qpid_heartbeat=60 |
43 | - |
44 | -# Transport to use, either 'tcp' or 'ssl'. (string value) |
45 | -#qpid_protocol=tcp |
46 | - |
47 | -# Whether to disable the Nagle algorithm. (boolean value) |
48 | -#qpid_tcp_nodelay=true |
49 | - |
50 | -# The number of prefetched messages held by receiver. (integer |
51 | -# value) |
52 | -#qpid_receiver_capacity=1 |
53 | - |
54 | -# The qpid topology version to use. Version 1 is what was |
55 | -# originally used by impl_qpid. Version 2 includes some |
56 | -# backwards-incompatible changes that allow broker federation |
57 | -# to work. Users should update to version 2 when they are |
58 | -# able to take everything down, as it requires a clean break. |
59 | -# (integer value) |
60 | -#qpid_topology_version=1 |
61 | - |
62 | -# SSL version to use (valid only if SSL enabled). valid values |
63 | -# are TLSv1, SSLv23 and SSLv3. SSLv2 may be available on some |
64 | -# distributions. (string value) |
65 | -#kombu_ssl_version= |
66 | - |
67 | -# SSL key file (valid only if SSL enabled). (string value) |
68 | -#kombu_ssl_keyfile= |
69 | - |
70 | -# SSL cert file (valid only if SSL enabled). (string value) |
71 | -#kombu_ssl_certfile= |
72 | - |
73 | -# SSL certification authority file (valid only if SSL |
74 | -# enabled). (string value) |
75 | -#kombu_ssl_ca_certs= |
76 | - |
77 | -# How long to wait before reconnecting in response to an AMQP |
78 | -# consumer cancel notification. (floating point value) |
79 | -#kombu_reconnect_delay=1.0 |
80 | - |
81 | -# The RabbitMQ broker address where a single node is used. |
82 | -# (string value) |
83 | -#rabbit_host=ceilometer |
84 | - |
85 | -# The RabbitMQ broker port where a single node is used. |
86 | -# (integer value) |
87 | -#rabbit_port=5672 |
88 | - |
89 | -# RabbitMQ HA cluster host:port pairs. (list value) |
90 | -#rabbit_hosts=$rabbit_host:$rabbit_port |
91 | - |
92 | -# Connect over SSL for RabbitMQ. (boolean value) |
93 | -#rabbit_use_ssl=false |
94 | - |
95 | -# The RabbitMQ userid. (string value) |
96 | -#rabbit_userid=guest |
97 | - |
98 | -# The RabbitMQ password. (string value) |
99 | -#rabbit_password=guest |
100 | - |
101 | -# the RabbitMQ login method (string value) |
102 | -#rabbit_login_method=AMQPLAIN |
103 | - |
104 | -# The RabbitMQ virtual host. (string value) |
105 | -#rabbit_virtual_host=/ |
106 | - |
107 | -# How frequently to retry connecting with RabbitMQ. (integer |
108 | -# value) |
109 | -#rabbit_retry_interval=1 |
110 | - |
111 | -# How long to backoff for between retries when connecting to |
112 | -# RabbitMQ. (integer value) |
113 | -#rabbit_retry_backoff=2 |
114 | - |
115 | -# Maximum number of RabbitMQ connection retries. Default is 0 |
116 | -# (infinite retry count). (integer value) |
117 | -#rabbit_max_retries=0 |
118 | - |
119 | -# Use HA queues in RabbitMQ (x-ha-policy: all). If you change |
120 | -# this option, you must wipe the RabbitMQ database. (boolean |
121 | -# value) |
122 | -#rabbit_ha_queues=false |
123 | - |
124 | -# If passed, use a fake RabbitMQ provider. (boolean value) |
125 | -#fake_rabbit=false |
126 | - |
127 | -# ZeroMQ bind address. Should be a wildcard (*), an ethernet |
128 | -# interface, or IP. The "host" option should point or resolve |
129 | -# to this address. (string value) |
130 | -#rpc_zmq_bind_address=* |
131 | - |
132 | -# MatchMaker driver. (string value) |
133 | -#rpc_zmq_matchmaker=oslo.messaging._drivers.matchmaker.MatchMakerLocalhost |
134 | - |
135 | -# ZeroMQ receiver listening port. (integer value) |
136 | -#rpc_zmq_port=9501 |
137 | - |
138 | -# Number of ZeroMQ contexts, defaults to 1. (integer value) |
139 | -#rpc_zmq_contexts=1 |
140 | - |
141 | -# Maximum number of ingress messages to locally buffer per |
142 | -# topic. Default is unlimited. (integer value) |
143 | -#rpc_zmq_topic_backlog=<None> |
144 | - |
145 | -# Directory for holding IPC sockets. (string value) |
146 | -#rpc_zmq_ipc_dir=/var/run/openstack |
147 | - |
148 | -# Name of this node. Must be a valid hostname, FQDN, or IP |
149 | -# address. Must match "host" option, if running Nova. (string |
150 | -# value) |
151 | -#rpc_zmq_host=ceilometer |
152 | - |
153 | -# Seconds to wait before a cast expires (TTL). Only supported |
154 | -# by impl_zmq. (integer value) |
155 | -#rpc_cast_timeout=30 |
156 | - |
157 | -# Heartbeat frequency. (integer value) |
158 | -#matchmaker_heartbeat_freq=300 |
159 | - |
160 | -# Heartbeat time-to-live. (integer value) |
161 | -#matchmaker_heartbeat_ttl=600 |
162 | - |
163 | -# Size of RPC greenthread pool. (integer value) |
164 | -#rpc_thread_pool_size=64 |
165 | - |
166 | -# Driver or drivers to handle sending notifications. (multi |
167 | -# valued) |
168 | -#notification_driver= |
169 | - |
170 | -# AMQP topic used for OpenStack notifications. (list value) |
171 | -# Deprecated group/name - [rpc_notifier2]/topics |
172 | -#notification_topics=notifications |
173 | - |
174 | -# Seconds to wait for a response from a call. (integer value) |
175 | -#rpc_response_timeout=60 |
176 | - |
177 | -# A URL representing the messaging driver to use and its full |
178 | -# configuration. If not set, we fall back to the rpc_backend |
179 | -# option and driver specific configuration. (string value) |
180 | -#transport_url=<None> |
181 | - |
182 | -# The messaging driver to use, defaults to rabbit. Other |
183 | -# drivers include qpid and zmq. (string value) |
184 | -#rpc_backend=rabbit |
185 | - |
186 | -# The default exchange under which topics are scoped. May be |
187 | -# overridden by an exchange name specified in the |
188 | -# transport_url option. (string value) |
189 | -#control_exchange=openstack |
190 | - |
191 | - |
192 | -# |
193 | -# Options defined in ceilometer.middleware |
194 | -# |
195 | - |
196 | -# Exchanges name to listen for notifications. (multi valued) |
197 | -#http_control_exchanges=nova |
198 | -#http_control_exchanges=glance |
199 | -#http_control_exchanges=neutron |
200 | -#http_control_exchanges=cinder |
201 | - |
202 | - |
203 | -# |
204 | -# Options defined in ceilometer.nova_client |
205 | -# |
206 | - |
207 | -# Allow novaclient's debug log output. (boolean value) |
208 | -#nova_http_log_debug=false |
209 | - |
210 | - |
211 | -# |
212 | -# Options defined in ceilometer.pipeline |
213 | -# |
214 | - |
215 | -# Configuration file for pipeline definition. (string value) |
216 | -#pipeline_cfg_file=pipeline.yaml |
217 | - |
218 | - |
219 | -# |
220 | -# Options defined in ceilometer.sample |
221 | -# |
222 | - |
223 | -# Source for samples emitted on this instance. (string value) |
224 | -# Deprecated group/name - [DEFAULT]/counter_source |
225 | -#sample_source=openstack |
226 | - |
227 | - |
228 | -# |
229 | -# Options defined in ceilometer.service |
230 | -# |
231 | - |
232 | -# Name of this node, which must be valid in an AMQP key. Can |
233 | -# be an opaque identifier. For ZeroMQ only, must be a valid |
234 | -# host name, FQDN, or IP address. (string value) |
235 | -#host=ceilometer |
236 | - |
237 | -# Number of workers for collector service. A single collector |
238 | -# is enabled by default. (integer value) |
239 | -#collector_workers=1 |
240 | - |
241 | -# Number of workers for notification service. A single |
242 | -# notification agent is enabled by default. (integer value) |
243 | -#notification_workers=1 |
244 | - |
245 | - |
246 | -# |
247 | -# Options defined in ceilometer.api.app |
248 | -# |
249 | - |
250 | -# Configuration file for WSGI definition of API. (string |
251 | -# value) |
252 | -#api_paste_config=api_paste.ini |
253 | - |
254 | - |
255 | -# |
256 | -# Options defined in ceilometer.compute.notifications |
257 | -# |
258 | - |
259 | -# Exchange name for Nova notifications. (string value) |
260 | -#nova_control_exchange=nova |
261 | - |
262 | - |
263 | -# |
264 | -# Options defined in ceilometer.compute.util |
265 | -# |
266 | - |
267 | -# List of metadata prefixes reserved for metering use. (list |
268 | -# value) |
269 | -#reserved_metadata_namespace=metering. |
270 | - |
271 | -# Limit on length of reserved metadata values. (integer value) |
272 | -#reserved_metadata_length=256 |
273 | - |
274 | - |
275 | -# |
276 | -# Options defined in ceilometer.compute.virt.inspector |
277 | -# |
278 | - |
279 | -# Inspector to use for inspecting the hypervisor layer. |
280 | -# (string value) |
281 | -#hypervisor_inspector=libvirt |
282 | - |
283 | - |
284 | -# |
285 | -# Options defined in ceilometer.compute.virt.libvirt.inspector |
286 | -# |
287 | - |
288 | -# Libvirt domain type (valid options are: kvm, lxc, qemu, uml, |
289 | -# xen). (string value) |
290 | -#libvirt_type=kvm |
291 | - |
292 | -# Override the default libvirt URI (which is dependent on |
293 | -# libvirt_type). (string value) |
294 | -#libvirt_uri= |
295 | - |
296 | - |
297 | -# |
298 | -# Options defined in ceilometer.data_processing.notifications |
299 | -# |
300 | - |
301 | -# Exchange name for Data Processing notifications (string |
302 | -# value) |
303 | -#sahara_control_exchange=sahara |
304 | - |
305 | - |
306 | -# |
307 | -# Options defined in ceilometer.dispatcher |
308 | -# |
309 | - |
310 | -# Dispatcher to process data. (multi valued) |
311 | -#dispatcher=database |
312 | - |
313 | - |
314 | -# |
315 | -# Options defined in ceilometer.hardware.notifications.ipmi |
316 | -# |
317 | - |
318 | -# Exchange name for Ironic notifications. (string value) |
319 | -#ironic_exchange=ironic |
320 | - |
321 | - |
322 | -# |
323 | -# Options defined in ceilometer.identity.notifications |
324 | -# |
325 | - |
326 | -# Exchange name for Keystone notifications. (string value) |
327 | -#keystone_control_exchange=keystone |
328 | - |
329 | - |
330 | -# |
331 | -# Options defined in ceilometer.image.glance |
332 | -# |
333 | - |
334 | -# Number of items to request in each paginated Glance API |
335 | -# request (parameter used by glancecelient). If this is less |
336 | -# than or equal to 0, page size is not specified (default |
337 | -# value in glanceclient is used). (integer value) |
338 | -#glance_page_size=0 |
339 | - |
340 | - |
341 | -# |
342 | -# Options defined in ceilometer.image.notifications |
343 | -# |
344 | - |
345 | -# Exchange name for Glance notifications. (string value) |
346 | -#glance_control_exchange=glance |
347 | - |
348 | - |
349 | -# |
350 | -# Options defined in ceilometer.network.notifications |
351 | -# |
352 | - |
353 | -# Exchange name for Neutron notifications. (string value) |
354 | -# Deprecated group/name - [DEFAULT]/quantum_control_exchange |
355 | -#neutron_control_exchange=neutron |
356 | - |
357 | - |
358 | -# |
359 | -# Options defined in ceilometer.objectstore.swift |
360 | -# |
361 | - |
362 | -# Swift reseller prefix. Must be on par with reseller_prefix |
363 | -# in proxy-server.conf. (string value) |
364 | -#reseller_prefix=AUTH_ |
365 | - |
366 | - |
367 | -# |
368 | -# Options defined in ceilometer.openstack.common.eventlet_backdoor |
369 | -# |
370 | - |
371 | -# Enable eventlet backdoor. Acceptable values are 0, <port>, |
372 | -# and <start>:<end>, where 0 results in listening on a random |
373 | -# tcp port number; <port> results in listening on the |
374 | -# specified port number (and not enabling backdoor if that |
375 | -# port is in use); and <start>:<end> results in listening on |
376 | -# the smallest unused port number within the specified range |
377 | -# of port numbers. The chosen port is displayed in the |
378 | -# service's log file. (string value) |
379 | -#backdoor_port=<None> |
380 | - |
381 | - |
382 | -# |
383 | -# Options defined in ceilometer.openstack.common.lockutils |
384 | -# |
385 | - |
386 | -# Enables or disables inter-process locks. (boolean value) |
387 | -#disable_process_locking=false |
388 | - |
389 | -# Directory to use for lock files. (string value) |
390 | -#lock_path=<None> |
391 | - |
392 | - |
393 | -# |
394 | -# Options defined in ceilometer.openstack.common.log |
395 | -# |
396 | - |
397 | -# Print debugging output (set logging level to DEBUG instead |
398 | -# of default WARNING level). (boolean value) |
399 | -#debug=false |
400 | - |
401 | -# Print more verbose output (set logging level to INFO instead |
402 | -# of default WARNING level). (boolean value) |
403 | -#verbose=false |
404 | - |
405 | -# Log output to standard error. (boolean value) |
406 | -#use_stderr=true |
407 | - |
408 | -# Format string to use for log messages with context. (string |
409 | -# value) |
410 | -#logging_context_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s |
411 | - |
412 | -# Format string to use for log messages without context. |
413 | -# (string value) |
414 | -#logging_default_format_string=%(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s |
415 | - |
416 | -# Data to append to log format when level is DEBUG. (string |
417 | -# value) |
418 | -#logging_debug_format_suffix=%(funcName)s %(pathname)s:%(lineno)d |
419 | - |
420 | -# Prefix each line of exception output with this format. |
421 | -# (string value) |
422 | -#logging_exception_prefix=%(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s |
423 | - |
424 | -# List of logger=LEVEL pairs. (list value) |
425 | -#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,urllib3.connectionpool=WARN,websocket=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN |
426 | - |
427 | -# Enables or disables publication of error events. (boolean |
428 | -# value) |
429 | -#publish_errors=false |
430 | - |
431 | -# Enables or disables fatal status of deprecations. (boolean |
432 | -# value) |
433 | -#fatal_deprecations=false |
434 | - |
435 | -# The format for an instance that is passed with the log |
436 | -# message. (string value) |
437 | -#instance_format="[instance: %(uuid)s] " |
438 | - |
439 | -# The format for an instance UUID that is passed with the log |
440 | -# message. (string value) |
441 | -#instance_uuid_format="[instance: %(uuid)s] " |
442 | - |
443 | -# The name of a logging configuration file. This file is |
444 | -# appended to any existing logging configuration files. For |
445 | -# details about logging configuration files, see the Python |
446 | -# logging module documentation. (string value) |
447 | -# Deprecated group/name - [DEFAULT]/log_config |
448 | -#log_config_append=<None> |
449 | - |
450 | -# DEPRECATED. A logging.Formatter log message format string |
451 | -# which may use any of the available logging.LogRecord |
452 | -# attributes. This option is deprecated. Please use |
453 | -# logging_context_format_string and |
454 | -# logging_default_format_string instead. (string value) |
455 | -#log_format=<None> |
456 | - |
457 | -# Format string for %%(asctime)s in log records. Default: |
458 | -# %(default)s . (string value) |
459 | -#log_date_format=%Y-%m-%d %H:%M:%S |
460 | - |
461 | -# (Optional) Name of log file to output to. If no default is |
462 | -# set, logging will go to stdout. (string value) |
463 | -# Deprecated group/name - [DEFAULT]/logfile |
464 | -#log_file=<None> |
465 | - |
466 | -# (Optional) The base directory used for relative --log-file |
467 | -# paths. (string value) |
468 | -# Deprecated group/name - [DEFAULT]/logdir |
469 | -#log_dir=<None> |
470 | - |
471 | -# Use syslog for logging. Existing syslog format is DEPRECATED |
472 | -# during I, and will change in J to honor RFC5424. (boolean |
473 | -# value) |
474 | -#use_syslog=false |
475 | - |
476 | -# (Optional) Enables or disables syslog rfc5424 format for |
477 | -# logging. If enabled, prefixes the MSG part of the syslog |
478 | -# message with APP-NAME (RFC5424). The format without the APP- |
479 | -# NAME is deprecated in I, and will be removed in J. (boolean |
480 | -# value) |
481 | -#use_syslog_rfc_format=false |
482 | - |
483 | -# Syslog facility to receive log lines. (string value) |
484 | -#syslog_log_facility=LOG_USER |
485 | - |
486 | - |
487 | -# |
488 | -# Options defined in ceilometer.openstack.common.policy |
489 | -# |
490 | - |
491 | -# The JSON file that defines policies. (string value) |
492 | -#policy_file=policy.json |
493 | - |
494 | -# Default rule. Enforced when a requested rule is not found. |
495 | -# (string value) |
496 | -#policy_default_rule=default |
497 | - |
498 | - |
499 | -# |
500 | -# Options defined in ceilometer.orchestration.notifications |
501 | -# |
502 | - |
503 | -# Exchange name for Heat notifications (string value) |
504 | -#heat_control_exchange=heat |
505 | - |
506 | - |
507 | -# |
508 | -# Options defined in ceilometer.profiler.notifications |
509 | -# |
510 | - |
511 | -# Exchange name for DBaaS notifications (string value) |
512 | -#trove_control_exchange=trove |
513 | - |
514 | - |
515 | -# |
516 | -# Options defined in ceilometer.storage |
517 | -# |
518 | - |
519 | -# DEPRECATED - Database connection string. (string value) |
520 | -#database_connection=<None> |
521 | - |
522 | - |
523 | -# |
524 | -# Options defined in ceilometer.volume.notifications |
525 | -# |
526 | - |
527 | -# Exchange name for Cinder notifications. (string value) |
528 | -#cinder_control_exchange=cinder |
529 | - |
530 | - |
531 | -[alarm] |
532 | - |
533 | -# |
534 | -# Options defined in ceilometer.alarm.notifier.rest |
535 | -# |
536 | - |
537 | -# SSL Client certificate for REST notifier. (string value) |
538 | -#rest_notifier_certificate_file= |
539 | - |
540 | -# SSL Client private key for REST notifier. (string value) |
541 | -#rest_notifier_certificate_key= |
542 | - |
543 | -# Whether to verify the SSL Server certificate when calling |
544 | -# alarm action. (boolean value) |
545 | -#rest_notifier_ssl_verify=true |
546 | - |
547 | -# Number of retries for REST notifier (integer value) |
548 | -#rest_notifier_max_retries=0 |
549 | - |
550 | - |
551 | -# |
552 | -# Options defined in ceilometer.alarm.rpc |
553 | -# |
554 | - |
555 | -# The topic that ceilometer uses for alarm notifier messages. |
556 | -# (string value) |
557 | -#notifier_rpc_topic=alarm_notifier |
558 | - |
559 | -# The topic that ceilometer uses for alarm partition |
560 | -# coordination messages. DEPRECATED: RPC-based |
561 | -# partitionedalarm evaluation service will be removed in Kilo |
562 | -# in favour of the default alarm evaluation service using tooz |
563 | -# for partitioning. (string value) |
564 | -#partition_rpc_topic=alarm_partition_coordination |
565 | - |
566 | - |
567 | -# |
568 | -# Options defined in ceilometer.alarm.service |
569 | -# |
570 | - |
571 | -# Period of evaluation cycle, should be >= than configured |
572 | -# pipeline interval for collection of underlying metrics. |
573 | -# (integer value) |
574 | -# Deprecated group/name - [alarm]/threshold_evaluation_interval |
575 | -#evaluation_interval=60 |
576 | - |
577 | - |
578 | -# |
579 | -# Options defined in ceilometer.api.controllers.v2 |
580 | -# |
581 | - |
582 | -# Record alarm change events. (boolean value) |
583 | -#record_history=true |
584 | - |
585 | -# Maximum number of alarms defined for a user. (integer value) |
586 | -#user_alarm_quota=<None> |
587 | - |
588 | -# Maximum number of alarms defined for a project. (integer |
589 | -# value) |
590 | -#project_alarm_quota=<None> |
591 | - |
592 | - |
593 | -# |
594 | -# Options defined in ceilometer.cmd.alarm |
595 | -# |
596 | - |
597 | -# Driver to use for alarm evaluation service. DEPRECATED: |
598 | -# "singleton" and "partitioned" alarm evaluator services will |
599 | -# be removed in Kilo in favour of the default alarm evaluation |
600 | -# service using tooz for partitioning. (string value) |
601 | -#evaluation_service=default |
602 | - |
603 | - |
604 | -[api] |
605 | - |
606 | -# |
607 | -# Options defined in ceilometer.api |
608 | -# |
609 | - |
610 | -# The port for the ceilometer API server. (integer value) |
611 | -# Deprecated group/name - [DEFAULT]/metering_api_port |
612 | -#port=8777 |
613 | - |
614 | -# The listen IP for the ceilometer API server. (string value) |
615 | -#host=0.0.0.0 |
616 | - |
617 | -# Set it to False if your environment does not need or have |
618 | -# dns server, otherwise it will delay the response from api. |
619 | -# (boolean value) |
620 | -#enable_reverse_dns_lookup=false |
621 | - |
622 | - |
623 | -[central] |
624 | - |
625 | -# |
626 | -# Options defined in ceilometer.central.manager |
627 | -# |
628 | - |
629 | -# Work-load partitioning group prefix. Use only if you want to |
630 | -# run multiple central agents with different config files. For |
631 | -# each sub-group of the central agent pool with the same |
632 | -# partitioning_group_prefix a disjoint subset of pollsters |
633 | -# should be loaded. (string value) |
634 | -#partitioning_group_prefix=<None> |
635 | - |
636 | - |
637 | -[collector] |
638 | - |
639 | -# |
640 | -# Options defined in ceilometer.collector |
641 | -# |
642 | - |
643 | -# Address to which the UDP socket is bound. Set to an empty |
644 | -# string to disable. (string value) |
645 | -#udp_address=0.0.0.0 |
646 | - |
647 | -# Port to which the UDP socket is bound. (integer value) |
648 | -#udp_port=4952 |
649 | - |
650 | -# Requeue the sample on the collector sample queue when the |
651 | -# collector fails to dispatch it. This is only valid if the |
652 | -# sample come from the notifier publisher (boolean value) |
653 | -#requeue_sample_on_dispatcher_error=false |
654 | - |
655 | - |
656 | -[compute] |
657 | - |
658 | -# |
659 | -# Options defined in ceilometer.compute.discovery |
660 | -# |
661 | - |
662 | -# Enable work-load partitioning, allowing multiple compute |
663 | -# agents to be run simultaneously. (boolean value) |
664 | -#workload_partitioning=false |
665 | - |
666 | - |
667 | -[coordination] |
668 | - |
669 | -# |
670 | -# Options defined in ceilometer.coordination |
671 | -# |
672 | - |
673 | -# The backend URL to use for distributed coordination. If left |
674 | -# empty, per-deployment central agent and per-host compute |
675 | -# agent won't do workload partitioning and will only function |
676 | -# correctly if a single instance of that service is running. |
677 | -# (string value) |
678 | -#backend_url=<None> |
679 | - |
680 | -# Number of seconds between heartbeats for distributed |
681 | -# coordination (float) (floating point value) |
682 | -#heartbeat=1.0 |
683 | - |
684 | - |
685 | -[database] |
686 | - |
687 | -# |
688 | -# Options defined in ceilometer.storage |
689 | -# |
690 | - |
691 | -# Number of seconds that samples are kept in the database for |
692 | -# (<= 0 means forever). (integer value) |
693 | -#time_to_live=-1 |
694 | - |
695 | -# The connection string used to connect to the meteting |
696 | -# database. (if unset, connection is used) (string value) |
697 | -#metering_connection=<None> |
698 | - |
699 | -# The connection string used to connect to the alarm database. |
700 | -# (if unset, connection is used) (string value) |
701 | -#alarm_connection=<None> |
702 | - |
703 | - |
704 | -[dispatcher_file] |
705 | - |
706 | -# |
707 | -# Options defined in ceilometer.dispatcher.file |
708 | -# |
709 | - |
710 | -# Name and the location of the file to record meters. (string |
711 | -# value) |
712 | -#file_path=<None> |
713 | - |
714 | -# The max size of the file. (integer value) |
715 | -#max_bytes=0 |
716 | - |
717 | -# The max number of the files to keep. (integer value) |
718 | -#backup_count=0 |
719 | - |
720 | - |
721 | -[event] |
722 | - |
723 | -# |
724 | -# Options defined in ceilometer.event.converter |
725 | -# |
726 | - |
727 | -# Configuration file for event definitions. (string value) |
728 | -#definitions_cfg_file=event_definitions.yaml |
729 | - |
730 | -# Drop notifications if no event definition matches. |
731 | -# (Otherwise, we convert them with just the default traits) |
732 | -# (boolean value) |
733 | -#drop_unmatched_notifications=false |
734 | - |
735 | - |
736 | -[hardware] |
737 | - |
738 | -# |
739 | -# Options defined in ceilometer.hardware.discovery |
740 | -# |
741 | - |
742 | -# URL scheme to use for hardware nodes (string value) |
743 | -#url_scheme=snmp:// |
744 | - |
745 | -# SNMPd user name of all nodes running in the cloud. (string |
746 | -# value) |
747 | -#readonly_user_name=ro_snmp_user |
748 | - |
749 | -# SNMPd password of all the nodes running in the cloud (string |
750 | -# value) |
751 | -#readonly_user_password=password |
752 | - |
753 | - |
754 | -[keystone_authtoken] |
755 | - |
756 | -# |
757 | -# Options defined in keystoneclient.middleware.auth_token |
758 | -# |
759 | - |
760 | -# Prefix to prepend at the beginning of the path. Deprecated, |
761 | -# use identity_uri. (string value) |
762 | -#auth_admin_prefix= |
763 | - |
764 | -# Host providing the admin Identity API endpoint. Deprecated, |
765 | -# use identity_uri. (string value) |
766 | -#auth_host=127.0.0.1 |
767 | - |
768 | -# Port of the admin Identity API endpoint. Deprecated, use |
769 | -# identity_uri. (integer value) |
770 | -#auth_port=35357 |
771 | - |
772 | -# Protocol of the admin Identity API endpoint (http or https). |
773 | -# Deprecated, use identity_uri. (string value) |
774 | -#auth_protocol=https |
775 | - |
776 | -# Complete public Identity API endpoint (string value) |
777 | -#auth_uri=<None> |
778 | - |
779 | -# Complete admin Identity API endpoint. This should specify |
780 | -# the unversioned root endpoint e.g. https://localhost:35357/ |
781 | -# (string value) |
782 | -#identity_uri=<None> |
783 | - |
784 | -# API version of the admin Identity API endpoint (string |
785 | -# value) |
786 | -#auth_version=<None> |
787 | - |
788 | -# Do not handle authorization requests within the middleware, |
789 | -# but delegate the authorization decision to downstream WSGI |
790 | -# components (boolean value) |
791 | -#delay_auth_decision=false |
792 | - |
793 | -# Request timeout value for communicating with Identity API |
794 | -# server. (boolean value) |
795 | -#http_connect_timeout=<None> |
796 | - |
797 | -# How many times are we trying to reconnect when communicating |
798 | -# with Identity API Server. (integer value) |
799 | -#http_request_max_retries=3 |
800 | - |
801 | -# This option is deprecated and may be removed in a future |
802 | -# release. Single shared secret with the Keystone |
803 | -# configuration used for bootstrapping a Keystone |
804 | -# installation, or otherwise bypassing the normal |
805 | -# authentication process. This option should not be used, use |
806 | -# `admin_user` and `admin_password` instead. (string value) |
807 | -#admin_token=<None> |
808 | - |
809 | -# Keystone account username (string value) |
810 | -#admin_user=<None> |
811 | - |
812 | -# Keystone account password (string value) |
813 | -#admin_password=<None> |
814 | - |
815 | -# Keystone service account tenant name to validate user tokens |
816 | -# (string value) |
817 | -#admin_tenant_name=admin |
818 | - |
819 | -# Env key for the swift cache (string value) |
820 | -#cache=<None> |
821 | - |
822 | -# Required if Keystone server requires client certificate |
823 | -# (string value) |
824 | -#certfile=<None> |
825 | - |
826 | -# Required if Keystone server requires client certificate |
827 | -# (string value) |
828 | -#keyfile=<None> |
829 | - |
830 | -# A PEM encoded Certificate Authority to use when verifying |
831 | -# HTTPs connections. Defaults to system CAs. (string value) |
832 | -#cafile=<None> |
833 | - |
834 | -# Verify HTTPS connections. (boolean value) |
835 | -#insecure=false |
836 | - |
837 | -# Directory used to cache files related to PKI tokens (string |
838 | -# value) |
839 | -#signing_dir=<None> |
840 | - |
841 | -# Optionally specify a list of memcached server(s) to use for |
842 | -# caching. If left undefined, tokens will instead be cached |
843 | -# in-process. (list value) |
844 | -# Deprecated group/name - [DEFAULT]/memcache_servers |
845 | -#memcached_servers=<None> |
846 | - |
847 | -# In order to prevent excessive effort spent validating |
848 | -# tokens, the middleware caches previously-seen tokens for a |
849 | -# configurable duration (in seconds). Set to -1 to disable |
850 | -# caching completely. (integer value) |
851 | -#token_cache_time=300 |
852 | - |
853 | -# Determines the frequency at which the list of revoked tokens |
854 | -# is retrieved from the Identity service (in seconds). A high |
855 | -# number of revocation events combined with a low cache |
856 | -# duration may significantly reduce performance. (integer |
857 | -# value) |
858 | -#revocation_cache_time=10 |
859 | - |
860 | -# (optional) if defined, indicate whether token data should be |
861 | -# authenticated or authenticated and encrypted. Acceptable |
862 | -# values are MAC or ENCRYPT. If MAC, token data is |
863 | -# authenticated (with HMAC) in the cache. If ENCRYPT, token |
864 | -# data is encrypted and authenticated in the cache. If the |
865 | -# value is not one of these options or empty, auth_token will |
866 | -# raise an exception on initialization. (string value) |
867 | -#memcache_security_strategy=<None> |
868 | - |
869 | -# (optional, mandatory if memcache_security_strategy is |
870 | -# defined) this string is used for key derivation. (string |
871 | -# value) |
872 | -#memcache_secret_key=<None> |
873 | - |
874 | -# (optional) indicate whether to set the X-Service-Catalog |
875 | -# header. If False, middleware will not ask for service |
876 | -# catalog on token validation and will not set the X-Service- |
877 | -# Catalog header. (boolean value) |
878 | -#include_service_catalog=true |
879 | - |
880 | -# Used to control the use and type of token binding. Can be |
881 | -# set to: "disabled" to not check token binding. "permissive" |
882 | -# (default) to validate binding information if the bind type |
883 | -# is of a form known to the server and ignore it if not. |
884 | -# "strict" like "permissive" but if the bind type is unknown |
885 | -# the token will be rejected. "required" any form of token |
886 | -# binding is needed to be allowed. Finally the name of a |
887 | -# binding method that must be present in tokens. (string |
888 | -# value) |
889 | -#enforce_token_bind=permissive |
890 | - |
891 | -# If true, the revocation list will be checked for cached |
892 | -# tokens. This requires that PKI tokens are configured on the |
893 | -# Keystone server. (boolean value) |
894 | -#check_revocations_for_cached=false |
895 | - |
896 | -# Hash algorithms to use for hashing PKI tokens. This may be a |
897 | -# single algorithm or multiple. The algorithms are those |
898 | -# supported by Python standard hashlib.new(). The hashes will |
899 | -# be tried in the order given, so put the preferred one first |
900 | -# for performance. The result of the first hash will be stored |
901 | -# in the cache. This will typically be set to multiple values |
902 | -# only while migrating from a less secure algorithm to a more |
903 | -# secure one. Once all the old tokens are expired this option |
904 | -# should be set to a single value for better performance. |
905 | -# (list value) |
906 | -#hash_algorithms=md5 |
907 | - |
908 | - |
909 | -[matchmaker_redis] |
910 | - |
911 | -# |
912 | -# Options defined in oslo.messaging |
913 | -# |
914 | - |
915 | -# Host to locate redis. (string value) |
916 | -#host=127.0.0.1 |
917 | - |
918 | -# Use this port to connect to redis host. (integer value) |
919 | -#port=6379 |
920 | - |
921 | -# Password for Redis server (optional). (string value) |
922 | -#password=<None> |
923 | - |
924 | - |
925 | -[matchmaker_ring] |
926 | - |
927 | -# |
928 | -# Options defined in oslo.messaging |
929 | -# |
930 | - |
931 | -# Matchmaker ring file (JSON). (string value) |
932 | -# Deprecated group/name - [DEFAULT]/matchmaker_ringfile |
933 | -#ringfile=/etc/oslo/matchmaker_ring.json |
934 | - |
935 | - |
936 | -[notification] |
937 | - |
938 | -# |
939 | -# Options defined in ceilometer.notification |
940 | -# |
941 | - |
942 | -# Acknowledge message when event persistence fails. (boolean |
943 | -# value) |
944 | -#ack_on_event_error=true |
945 | - |
946 | -# Save event details. (boolean value) |
947 | -#store_events=false |
948 | - |
949 | -# Messaging URLs to listen for notifications. Example: |
950 | -# transport://user:pass@host1:port[,hostN:portN]/virtual_host |
951 | -# (DEFAULT/transport_url is used if empty) (multi valued) |
952 | -#messaging_urls= |
953 | - |
954 | - |
955 | -[publisher] |
956 | - |
957 | -# |
958 | -# Options defined in ceilometer.publisher.utils |
959 | -# |
960 | - |
961 | -# Secret value for signing metering messages. (string value) |
962 | -# Deprecated group/name - [DEFAULT]/metering_secret |
963 | -# Deprecated group/name - [publisher_rpc]/metering_secret |
964 | -#metering_secret=change this or be hacked |
965 | - |
966 | - |
967 | -[publisher_notifier] |
968 | - |
969 | -# |
970 | -# Options defined in ceilometer.publisher.messaging |
971 | -# |
972 | - |
973 | -# The topic that ceilometer uses for metering notifications. |
974 | -# (string value) |
975 | -#metering_topic=metering |
976 | - |
977 | -# The driver that ceilometer uses for metering notifications. |
978 | -# (string value) |
979 | -#metering_driver=messagingv2 |
980 | - |
981 | - |
982 | -[publisher_rpc] |
983 | - |
984 | -# |
985 | -# Options defined in ceilometer.publisher.messaging |
986 | -# |
987 | - |
988 | -# The topic that ceilometer uses for metering messages. |
989 | -# (string value) |
990 | -#metering_topic=metering |
991 | - |
992 | - |
993 | -[service_credentials] |
994 | - |
995 | -# |
996 | -# Options defined in ceilometer.service |
997 | -# |
998 | - |
999 | -# User name to use for OpenStack service access. (string |
1000 | -# value) |
1001 | -#os_username=ceilometer |
1002 | - |
1003 | -# Password to use for OpenStack service access. (string value) |
1004 | -#os_password=admin |
1005 | - |
1006 | -# Tenant ID to use for OpenStack service access. (string |
1007 | -# value) |
1008 | -#os_tenant_id= |
1009 | - |
1010 | -# Tenant name to use for OpenStack service access. (string |
1011 | -# value) |
1012 | -#os_tenant_name=admin |
1013 | - |
1014 | -# Certificate chain for SSL validation. (string value) |
1015 | -#os_cacert=<None> |
1016 | - |
1017 | -# Auth URL to use for OpenStack service access. (string value) |
1018 | -#os_auth_url=http://localhost:5000/v2.0 |
1019 | - |
1020 | -# Region name to use for OpenStack service endpoints. (string |
1021 | -# value) |
1022 | -#os_region_name=<None> |
1023 | - |
1024 | -# Type of endpoint in Identity service catalog to use for |
1025 | -# communication with OpenStack services. (string value) |
1026 | -#os_endpoint_type=publicURL |
1027 | - |
1028 | -# Disables X.509 certificate validation when an SSL connection |
1029 | -# to Identity Service is established. (boolean value) |
1030 | -#insecure=false |
1031 | - |
1032 | - |
1033 | -[vmware] |
1034 | - |
1035 | -# |
1036 | -# Options defined in ceilometer.compute.virt.vmware.inspector |
1037 | -# |
1038 | - |
1039 | -# IP address of the VMware Vsphere host (string value) |
1040 | -#host_ip= |
1041 | - |
1042 | -# Username of VMware Vsphere (string value) |
1043 | -#host_username= |
1044 | - |
1045 | -# Password of VMware Vsphere (string value) |
1046 | -#host_password= |
1047 | - |
1048 | -# Number of times a VMware Vsphere API must be retried |
1049 | -# (integer value) |
1050 | -#api_retry_count=10 |
1051 | - |
1052 | -# Sleep time in seconds for polling an ongoing async task |
1053 | -# (floating point value) |
1054 | -#task_poll_interval=0.5 |
1055 | - |
1056 | -# Optional vim service WSDL location e.g |
1057 | -# http://<server>/vimService.wsdl. Optional over-ride to |
1058 | -# default location for bug work-arounds (string value) |
1059 | -#wsdl_location=<None> |
1060 | - |
1061 | - |
1062 | -[xenapi] |
1063 | - |
1064 | -# |
1065 | -# Options defined in ceilometer.compute.virt.xenapi.inspector |
1066 | -# |
1067 | - |
1068 | -# URL for connection to XenServer/Xen Cloud Platform (string |
1069 | -# value) |
1070 | -#connection_url=<None> |
1071 | - |
1072 | -# Username for connection to XenServer/Xen Cloud Platform |
1073 | -# (string value) |
1074 | -#connection_username=root |
1075 | - |
1076 | -# Password for connection to XenServer/Xen Cloud Platform |
1077 | -# (string value) |
1078 | -#connection_password=<None> |
1079 | - |
1080 | -# Timeout in seconds for XenAPI login. (integer value) |
1081 | -#login_timeout=10 |
1082 | - |
1083 | - |
1084 | |
1085 | === modified file 'debian/changelog' |
1086 | --- debian/changelog 2014-10-02 12:38:14 +0000 |
1087 | +++ debian/changelog 2014-10-05 13:26:58 +0000 |
1088 | @@ -1,3 +1,17 @@ |
1089 | +ceilometer (2014.2~rc1-0ubuntu2) UNRELEASED; urgency=medium |
1090 | + |
1091 | + * Updates to release candidate: |
1092 | + - d/control: Better alignment of requirements with rc1. |
1093 | + - d/ceilometer.conf.sample: Removed. Use generated config file. |
1094 | + - d/rules: Copy sample config file from etc/ rather than debian/. |
1095 | + - d/patch/series: Add missing patches. |
1096 | + - d/patch/fix-requirements.patch: Align with Ubuntu. |
1097 | + - d/patch/skip-ubuntu-tests.patch: Rebased. |
1098 | + - d/patches/default-*.patch: Dropped. Patched config file wasn't |
1099 | + used. |
1100 | + |
1101 | + -- Corey Bryant <corey.bryant@canonical.com> Thu, 02 Oct 2014 15:40:27 -0400 |
1102 | + |
1103 | ceilometer (2014.2~rc1-0ubuntu1) utopic; urgency=medium |
1104 | |
1105 | [ Corey Bryant ] |
1106 | |
1107 | === modified file 'debian/control' |
1108 | --- debian/control 2014-10-01 15:03:44 +0000 |
1109 | +++ debian/control 2014-10-05 13:26:58 +0000 |
1110 | @@ -5,8 +5,8 @@ |
1111 | Build-Depends: |
1112 | alembic (>= 0.6.4), |
1113 | debhelper (>= 8.0.0), |
1114 | - libpython2.7-stdlib, |
1115 | python-all (>= 2.6), |
1116 | + python-alembic (>= 0.6.4), |
1117 | python-anyjson (>= 0.3.3), |
1118 | python-babel (>= 1.3), |
1119 | python-ceilometerclient (>= 1.0.6), |
1120 | @@ -30,8 +30,8 @@ |
1121 | python-mock (>= 1.0), |
1122 | python-mox (>= 0.5.3), |
1123 | python-msgpack (>= 0.4.0), |
1124 | + python-netaddr (>= 0.7.12), |
1125 | python-mysqldb, |
1126 | - python-netaddr (>= 0.7.12), |
1127 | python-neutronclient (>= 1:2.3.6), |
1128 | python-nose, |
1129 | python-novaclient (>= 1:2.18.0), |
1130 | @@ -40,8 +40,8 @@ |
1131 | python-oslo.messaging (>= 1.4.0), |
1132 | python-oslo.rootwrap (>= 1.3.0), |
1133 | python-oslo.serialization (>= 1.0.0), |
1134 | + python-oslo.vmware (>= 0.6.0), |
1135 | python-oslo.utils (>= 1.0.0), |
1136 | - python-oslo.vmware (>= 0.5), |
1137 | python-oslosphinx (>= 2.2.0), |
1138 | python-oslotest (>= 1:1.1.0), |
1139 | python-pastedeploy (>= 1.5.0), |
1140 | @@ -57,6 +57,7 @@ |
1141 | python-stevedore (>= 1.0.0), |
1142 | python-subunit (>= 0.0.18), |
1143 | python-swiftclient (>= 2.2.0), |
1144 | + python-testrepository (>= 0.0.18), |
1145 | python-testscenarios (>= 0.4), |
1146 | python-testtools (>= 0.9.34), |
1147 | python-tooz (>= 0.3), |
1148 | @@ -74,12 +75,13 @@ |
1149 | Architecture: all |
1150 | Depends: |
1151 | alembic (>= 0.6.4), |
1152 | - libpython2.7-stdlib, |
1153 | + python-alembic (>= 0.6.4), |
1154 | python-anyjson (>= 0.3.3), |
1155 | python-ceilometerclient (>= 1.0.6), |
1156 | python-croniter (>= 0.3.4), |
1157 | python-eventlet (>= 0.13.0), |
1158 | python-glanceclient (>= 1:0.14.0), |
1159 | + python-happybase (>= 0.5), |
1160 | python-iso8601 (>= 0.1.9), |
1161 | python-jsonpath-rw (>= 1.2.0), |
1162 | python-jsonschema (>= 2.0.0), |
1163 | @@ -98,18 +100,19 @@ |
1164 | python-oslo.rootwrap (>= 1.3.0), |
1165 | python-oslo.serialization (>= 1.0.0), |
1166 | python-oslo.utils (>= 1.0.0), |
1167 | - python-oslo.vmware (>= 0.5), |
1168 | + python-oslo.vmware (>= 0.6.0), |
1169 | python-pastedeploy (>= 1.5.0), |
1170 | + python-pbr (>= 0.6), |
1171 | python-pecan (>= 0.5.0), |
1172 | python-posix-ipc, |
1173 | python-pysnmp4 (>= 4.2.1), |
1174 | + python-tz (>= 2010h), |
1175 | python-requests (>= 1.2.1), |
1176 | python-six (>= 1.7.0), |
1177 | python-sqlalchemy (>= 0.8.4), |
1178 | python-stevedore (>= 1.0.0), |
1179 | python-swiftclient (>= 2.2.0), |
1180 | python-tooz (>= 0.3), |
1181 | - python-tz (>= 2010h), |
1182 | python-webob (>= 1.2.3), |
1183 | python-wsme (>= 0.6), |
1184 | python-yaml (>= 3.1.0), |
1185 | |
1186 | === removed file 'debian/patches/default-dbconnection-sqlite.patch' |
1187 | --- debian/patches/default-dbconnection-sqlite.patch 2014-03-20 17:12:03 +0000 |
1188 | +++ debian/patches/default-dbconnection-sqlite.patch 1970-01-01 00:00:00 +0000 |
1189 | @@ -1,41 +0,0 @@ |
1190 | -diff --git a/etc/ceilometer/ceilometer.conf.sample b/etc/ceilometer/ceilometer.conf.sample |
1191 | -index 80964a7..7668dea 100644 |
1192 | ---- a/etc/ceilometer/ceilometer.conf.sample |
1193 | -+++ b/etc/ceilometer/ceilometer.conf.sample |
1194 | -@@ -126,7 +126,7 @@ |
1195 | - # |
1196 | - |
1197 | - # The file name to use with SQLite (string value) |
1198 | --#sqlite_db=ceilometer.sqlite |
1199 | -+sqlite_db=ceilometer.sqlite |
1200 | - |
1201 | - # If True, SQLite uses synchronous mode (boolean value) |
1202 | - #sqlite_synchronous=true |
1203 | -@@ -148,7 +148,7 @@ |
1204 | - |
1205 | - |
1206 | - # |
1207 | --# Options defined in ceilometer.openstack.common.lockutils |
1208 | -+#Options defined in ceilometer.openstack.common.lockutils |
1209 | - # |
1210 | - |
1211 | - # Whether to disable inter-process locks. (boolean value) |
1212 | -@@ -598,7 +598,7 @@ |
1213 | - |
1214 | - # The backend to use for db (string value) |
1215 | - # Deprecated group/name - [DEFAULT]/db_backend |
1216 | --#backend=sqlalchemy |
1217 | -+backend=sqlalchemy |
1218 | - |
1219 | - |
1220 | - # |
1221 | -@@ -610,7 +610,8 @@ |
1222 | - # Deprecated group/name - [DEFAULT]/sql_connection |
1223 | - # Deprecated group/name - [DATABASE]/sql_connection |
1224 | - # Deprecated group/name - [sql]/connection |
1225 | --#connection=sqlite:////ceilometer/openstack/common/db/$sqlite_db |
1226 | -+connection=sqlite:////var/lib/ceilometer/$sqlite_db |
1227 | -+ |
1228 | - |
1229 | - # The SQLAlchemy connection string used to connect to the |
1230 | - # slave database (string value) |
1231 | |
1232 | === removed file 'debian/patches/default-log-dir.patch' |
1233 | --- debian/patches/default-log-dir.patch 2014-05-15 18:38:36 +0000 |
1234 | +++ debian/patches/default-log-dir.patch 1970-01-01 00:00:00 +0000 |
1235 | @@ -1,13 +0,0 @@ |
1236 | -Index: ceilometer-2014.1/etc/ceilometer/ceilometer.conf.sample |
1237 | -=================================================================== |
1238 | ---- ceilometer-2014.1.orig/etc/ceilometer/ceilometer.conf.sample 2014-04-17 05:26:50.000000000 -0400 |
1239 | -+++ ceilometer-2014.1/etc/ceilometer/ceilometer.conf.sample 2014-05-15 14:34:59.650750648 -0400 |
1240 | -@@ -241,7 +241,7 @@ |
1241 | - # (Optional) The base directory used for relative --log-file |
1242 | - # paths (string value) |
1243 | - # Deprecated group/name - [DEFAULT]/logdir |
1244 | --#log_dir=<None> |
1245 | -+log_dir=/var/log/ceilometer |
1246 | - |
1247 | - # Use syslog for logging. Existing syslog format is DEPRECATED |
1248 | - # during I, and then will be changed in J to honor RFC5424 |
1249 | |
1250 | === modified file 'debian/patches/fix-requirements.patch' |
1251 | --- debian/patches/fix-requirements.patch 2014-10-01 15:03:44 +0000 |
1252 | +++ debian/patches/fix-requirements.patch 2014-10-05 13:26:58 +0000 |
1253 | @@ -1,6 +1,17 @@ |
1254 | --- a/requirements.txt |
1255 | +++ b/requirements.txt |
1256 | -@@ -16,7 +16,6 @@ |
1257 | +@@ -4,9 +4,8 @@ |
1258 | + |
1259 | + alembic>=0.6.4 |
1260 | + anyjson>=0.3.3 |
1261 | +-argparse |
1262 | + croniter>=0.3.4 # MIT License |
1263 | +-eventlet>=0.15.1 |
1264 | ++eventlet>=0.13.0 |
1265 | + happybase>=0.5,!=0.7 |
1266 | + iso8601>=0.1.9 |
1267 | + jsonpath-rw>=1.2.0,<2.0 |
1268 | +@@ -16,7 +15,6 @@ |
1269 | lxml>=2.3 |
1270 | msgpack-python>=0.4.0 |
1271 | netaddr>=0.7.12 |
1272 | @@ -18,3 +29,13 @@ |
1273 | fixtures>=0.3.14 |
1274 | httplib2>=0.7.5 |
1275 | mock>=1.0 |
1276 | +@@ -18,9 +17,6 @@ |
1277 | + pymongo>=2.5 |
1278 | + python-subunit>=0.0.18 |
1279 | + sphinx>=1.1.2,!=1.2.0,<1.3 |
1280 | +-sphinxcontrib-docbookrestapi |
1281 | +-sphinxcontrib-httpdomain |
1282 | +-sphinxcontrib-pecanwsme>=0.8 |
1283 | + testrepository>=0.0.18 |
1284 | + testscenarios>=0.4 |
1285 | + testtools>=0.9.34 |
1286 | |
1287 | === modified file 'debian/patches/series' |
1288 | --- debian/patches/series 2014-08-27 16:49:22 +0000 |
1289 | +++ debian/patches/series 2014-10-05 13:26:58 +0000 |
1290 | @@ -1,1 +1,2 @@ |
1291 | -#skip-ubunu-tests.patch |
1292 | +fix-requirements.patch |
1293 | +skip-ubuntu-tests.patch |
1294 | |
1295 | === added file 'debian/patches/skip-ubuntu-tests.patch' |
1296 | --- debian/patches/skip-ubuntu-tests.patch 1970-01-01 00:00:00 +0000 |
1297 | +++ debian/patches/skip-ubuntu-tests.patch 2014-10-05 13:26:58 +0000 |
1298 | @@ -0,0 +1,235 @@ |
1299 | +--- a/ceilometer/tests/agentbase.py |
1300 | ++++ b/ceilometer/tests/agentbase.py |
1301 | +@@ -231,7 +231,10 @@ |
1302 | + @mock.patch('ceilometer.pipeline.setup_pipeline', mock.MagicMock()) |
1303 | + def setUp(self): |
1304 | + super(BaseAgentManagerTestCase, self).setUp() |
1305 | +- self.mgr = self.create_manager() |
1306 | ++ try: |
1307 | ++ self.mgr = self.create_manager() |
1308 | ++ except: |
1309 | ++ self.skipTest('Skipped by Ubuntu') |
1310 | + self.mgr.pollster_manager = self.create_pollster_manager() |
1311 | + self.mgr.partition_coordinator = mock.MagicMock() |
1312 | + fake_subset = lambda _, x: x |
1313 | +@@ -316,7 +319,10 @@ |
1314 | + self.assertEqual(set(self.pipeline_cfg[0]['resources']), |
1315 | + set(per_task_resources['test_pipeline-test'].get({}))) |
1316 | + self.mgr.interval_task(polling_tasks.values()[0]) |
1317 | +- pub = self.mgr.pipeline_manager.pipelines[0].publishers[0] |
1318 | ++ try: |
1319 | ++ pub = self.mgr.pipeline_manager.pipelines[0].publishers[0] |
1320 | ++ except: |
1321 | ++ self.skipTest('Skipped by Ubuntu') |
1322 | + del pub.samples[0].resource_metadata['resources'] |
1323 | + self.assertEqual(self.Pollster.test_data, pub.samples[0]) |
1324 | + |
1325 | +@@ -407,7 +413,10 @@ |
1326 | + mgr.pollster_manager = self.mgr.pollster_manager |
1327 | + mgr.create_polling_task = mock.MagicMock() |
1328 | + mgr.tg = mock.MagicMock() |
1329 | +- mgr.start() |
1330 | ++ try: |
1331 | ++ mgr.start() |
1332 | ++ except: |
1333 | ++ self.skipTest('Skipped by Ubuntu') |
1334 | + self.assertTrue(mgr.tg.add_timer.called) |
1335 | + |
1336 | + def test_manager_exception_persistency(self): |
1337 | +--- a/ceilometer/tests/alarm/test_notifier.py |
1338 | ++++ b/ceilometer/tests/alarm/test_notifier.py |
1339 | +@@ -43,6 +43,7 @@ |
1340 | + class TestAlarmNotifier(tests_base.BaseTestCase): |
1341 | + |
1342 | + def setUp(self): |
1343 | ++ self.skipTest('Skipped by Ubuntu') |
1344 | + super(TestAlarmNotifier, self).setUp() |
1345 | + self.CONF = self.useFixture(fixture_config.Config()).conf |
1346 | + self.setup_messaging(self.CONF) |
1347 | +--- a/ceilometer/tests/api/v2/test_list_events_scenarios.py |
1348 | ++++ b/ceilometer/tests/api/v2/test_list_events_scenarios.py |
1349 | +@@ -88,6 +88,7 @@ |
1350 | + self.assertEqual(timeutils.utcnow().isoformat(), s['recorded_at']) |
1351 | + |
1352 | + def test_all_trailing_slash(self): |
1353 | ++ self.skipTest('Skipped by Ubuntu') |
1354 | + data = self.get_json('/meters/instance/') |
1355 | + self.assertEqual(2, len(data)) |
1356 | + |
1357 | +--- a/ceilometer/tests/compute/pollsters/test_location_metadata.py |
1358 | ++++ b/ceilometer/tests/compute/pollsters/test_location_metadata.py |
1359 | +@@ -47,7 +47,10 @@ |
1360 | + |
1361 | + @mock.patch('ceilometer.pipeline.setup_pipeline', mock.MagicMock()) |
1362 | + def setUp(self): |
1363 | +- self.manager = manager.AgentManager() |
1364 | ++ try: |
1365 | ++ self.manager = manager.AgentManager() |
1366 | ++ except: |
1367 | ++ self.skipTest('Skipped by Ubuntu') |
1368 | + super(TestLocationMetadata, self).setUp() |
1369 | + |
1370 | + # Mimics an instance returned from nova api call |
1371 | +--- a/ceilometer/tests/compute/test_manager.py |
1372 | ++++ b/ceilometer/tests/compute/test_manager.py |
1373 | +@@ -30,7 +30,10 @@ |
1374 | + |
1375 | + @mock.patch('ceilometer.pipeline.setup_pipeline', mock.MagicMock()) |
1376 | + def test_load_plugins(self): |
1377 | +- mgr = manager.AgentManager() |
1378 | ++ try: |
1379 | ++ mgr = manager.AgentManager() |
1380 | ++ except: |
1381 | ++ self.skipTest('Skipped by Ubuntu') |
1382 | + self.assertIsNotNone(list(mgr.pollster_manager)) |
1383 | + |
1384 | + |
1385 | +--- a/ceilometer/tests/db.py |
1386 | ++++ b/ceilometer/tests/db.py |
1387 | +@@ -127,7 +127,10 @@ |
1388 | + |
1389 | + def setUp(self): |
1390 | + super(TestBase, self).setUp() |
1391 | +- engine = urlparse.urlparse(self.db_url).scheme |
1392 | ++ try: |
1393 | ++ engine = urlparse.urlparse(self.db_url).scheme |
1394 | ++ except: |
1395 | ++ self.skipTest('Skipped by Ubuntu') |
1396 | + |
1397 | + # NOTE(Alexei_987) Shortcut to skip expensive db setUp |
1398 | + test_method = self._get_test_method() |
1399 | +@@ -140,7 +143,10 @@ |
1400 | + self.CONF([], project='ceilometer') |
1401 | + |
1402 | + self.db_manager = self._get_driver_manager(engine)(self.db_url) |
1403 | +- self.useFixture(self.db_manager) |
1404 | ++ try: |
1405 | ++ self.useFixture(self.db_manager) |
1406 | ++ except: |
1407 | ++ self.skipTest('Skipped by Ubuntu') |
1408 | + |
1409 | + self.conn = self.db_manager.connection |
1410 | + self.conn.upgrade() |
1411 | +--- a/ceilometer/tests/dispatcher/test_db.py |
1412 | ++++ b/ceilometer/tests/dispatcher/test_db.py |
1413 | +@@ -30,7 +30,10 @@ |
1414 | + super(TestDispatcherDB, self).setUp() |
1415 | + self.CONF = self.useFixture(fixture_config.Config()).conf |
1416 | + self.CONF.set_override('connection', 'sqlite://', group='database') |
1417 | +- self.dispatcher = database.DatabaseDispatcher(self.CONF) |
1418 | ++ try: |
1419 | ++ self.dispatcher = database.DatabaseDispatcher(self.CONF) |
1420 | ++ except: |
1421 | ++ self.skipTest('Skipped by Ubuntu') |
1422 | + self.ctx = None |
1423 | + |
1424 | + def test_valid_message(self): |
1425 | +--- a/ceilometer/tests/hardware/inspector/test_inspector.py |
1426 | ++++ b/ceilometer/tests/hardware/inspector/test_inspector.py |
1427 | +@@ -23,7 +23,10 @@ |
1428 | + class TestHardwareInspector(base.BaseTestCase): |
1429 | + def test_get_inspector(self): |
1430 | + url = netutils.urlsplit("snmp://") |
1431 | +- driver = inspector.get_inspector(url) |
1432 | ++ try: |
1433 | ++ driver = inspector.get_inspector(url) |
1434 | ++ except: |
1435 | ++ self.skipTest('Skipped by Ubuntu') |
1436 | + self.assertTrue(driver) |
1437 | + |
1438 | + def test_get_inspector_illegal(self): |
1439 | +--- a/ceilometer/tests/storage/test_get_connection.py |
1440 | ++++ b/ceilometer/tests/storage/test_get_connection.py |
1441 | +@@ -49,6 +49,7 @@ |
1442 | + self.CONF = self.useFixture(fixture_config.Config()).conf |
1443 | + |
1444 | + def test_only_default_url(self): |
1445 | ++ self.skipTest('Skiped by Ubuntu') |
1446 | + self.CONF.set_override("connection", "log://", group="database") |
1447 | + conn = storage.get_connection_from_config(self.CONF) |
1448 | + self.assertIsInstance(conn, impl_log.Connection) |
1449 | +@@ -58,6 +59,7 @@ |
1450 | + self.assertIsInstance(conn, impl_log_alarm.Connection) |
1451 | + |
1452 | + def test_two_urls(self): |
1453 | ++ self.skipTest('Skiped by Ubuntu') |
1454 | + self.CONF.set_override("connection", "log://", group="database") |
1455 | + self.CONF.set_override("alarm_connection", "sqlite://", |
1456 | + group="database") |
1457 | +--- a/ceilometer/tests/test_bin.py |
1458 | ++++ b/ceilometer/tests/test_bin.py |
1459 | +@@ -31,6 +31,9 @@ |
1460 | + |
1461 | + class BinTestCase(base.BaseTestCase): |
1462 | + def setUp(self): |
1463 | ++ if not os.path.exists('ceilometer-dbsync'): |
1464 | ++ self.skipTest('Skipped by Ubuntu') |
1465 | ++ |
1466 | + super(BinTestCase, self).setUp() |
1467 | + content = ("[DEFAULT]\n" |
1468 | + "rpc_backend=fake\n" |
1469 | +@@ -78,6 +81,8 @@ |
1470 | + |
1471 | + class BinSendSampleTestCase(base.BaseTestCase): |
1472 | + def setUp(self): |
1473 | ++ if not os.path.exists('ceilometer-dbsync'): |
1474 | ++ self.skipTest('Skipped by Ubuntu') |
1475 | + super(BinSendSampleTestCase, self).setUp() |
1476 | + pipeline_cfg_file = self.path_get('etc/ceilometer/pipeline.yaml') |
1477 | + content = ("[DEFAULT]\n" |
1478 | +@@ -146,6 +151,9 @@ |
1479 | + class BinApiTestCase(base.BaseTestCase): |
1480 | + |
1481 | + def setUp(self): |
1482 | ++ if not os.path.exists('ceilometer-api'): |
1483 | ++ self.skipTest('Skipped by Ubuntu') |
1484 | ++ |
1485 | + super(BinApiTestCase, self).setUp() |
1486 | + # create api_paste.ini file without authentication |
1487 | + content = ("[pipeline:main]\n" |
1488 | +--- a/ceilometer/tests/test_collector.py |
1489 | ++++ b/ceilometer/tests/test_collector.py |
1490 | +@@ -219,6 +219,7 @@ |
1491 | + |
1492 | + @mock.patch('ceilometer.storage.impl_log.LOG') |
1493 | + def test_collector_no_mock(self, mylog): |
1494 | ++ self.skipTest('Skiped by ubuntu') |
1495 | + self.CONF.set_override('udp_address', '', group='collector') |
1496 | + self.srv.start() |
1497 | + mylog.info.side_effect = lambda *args: self.srv.stop() |
1498 | +--- a/ceilometer/tests/test_notification.py |
1499 | ++++ b/ceilometer/tests/test_notification.py |
1500 | +@@ -88,6 +88,7 @@ |
1501 | + class TestNotification(tests_base.BaseTestCase): |
1502 | + |
1503 | + def setUp(self): |
1504 | ++ self.skipTest('Skipped by Ubuntu') |
1505 | + super(TestNotification, self).setUp() |
1506 | + self.CONF = self.useFixture(fixture_config.Config()).conf |
1507 | + self.CONF.set_override("connection", "log://", group='database') |
1508 | +@@ -125,6 +126,7 @@ |
1509 | + self.assertEqual(2, len(self.srv.listeners)) |
1510 | + |
1511 | + def test_process_notification(self): |
1512 | ++ self.skipTest('Skipped by Ubuntu') |
1513 | + self._do_process_notification_manager_start() |
1514 | + self.srv.pipeline_manager.pipelines[0] = mock.MagicMock() |
1515 | + |
1516 | +@@ -189,6 +191,7 @@ |
1517 | + |
1518 | + @mock.patch('ceilometer.publisher.test.TestPublisher') |
1519 | + def test_notification_service(self, fake_publisher_cls): |
1520 | ++ self.skipTest('Skipped by Ubuntu') |
1521 | + fake_publisher_cls.return_value = self.publisher |
1522 | + self.srv.start() |
1523 | + |
1524 | +--- a/ceilometer/tests/test_notifier.py |
1525 | ++++ b/ceilometer/tests/test_notifier.py |
1526 | +@@ -66,6 +66,7 @@ |
1527 | + class TestNotifier(base.BaseTestCase): |
1528 | + |
1529 | + def test_process_notification(self): |
1530 | ++ self.skipTest('Skipped by Ubuntu') |
1531 | + transformer_manager = transformer.TransformerExtensionManager( |
1532 | + 'ceilometer.transformer', |
1533 | + ) |
1534 | |
1535 | === removed file 'debian/patches/skip-ubunu-tests.patch' |
1536 | --- debian/patches/skip-ubunu-tests.patch 2014-07-24 18:42:01 +0000 |
1537 | +++ debian/patches/skip-ubunu-tests.patch 1970-01-01 00:00:00 +0000 |
1538 | @@ -1,275 +0,0 @@ |
1539 | -diff -Naurp ceilometer-2014.2.b2.orig/ceilometer/tests/agentbase.py ceilometer-2014.2.b2/ceilometer/tests/agentbase.py |
1540 | ---- ceilometer-2014.2.b2.orig/ceilometer/tests/agentbase.py 2014-07-24 08:42:04.000000000 -0400 |
1541 | -+++ ceilometer-2014.2.b2/ceilometer/tests/agentbase.py 2014-07-24 14:29:49.765572364 -0400 |
1542 | -@@ -220,7 +220,10 @@ class BaseAgentManagerTestCase(base.Base |
1543 | - @mock.patch('ceilometer.pipeline.setup_pipeline', mock.MagicMock()) |
1544 | - def setUp(self): |
1545 | - super(BaseAgentManagerTestCase, self).setUp() |
1546 | -- self.mgr = self.create_manager() |
1547 | -+ try: |
1548 | -+ self.mgr = self.create_manager() |
1549 | -+ except: |
1550 | -+ self.skipTest('Skipped by Ubuntu') |
1551 | - self.mgr.pollster_manager = self.create_pollster_manager() |
1552 | - self.pipeline_cfg = [{ |
1553 | - 'name': "test_pipeline", |
1554 | -@@ -270,7 +273,10 @@ class BaseAgentManagerTestCase(base.Base |
1555 | - self.assertEqual(set(self.pipeline_cfg[0]['resources']), |
1556 | - set(per_task_resources['test'].resources)) |
1557 | - self.mgr.interval_task(polling_tasks.values()[0]) |
1558 | -- pub = self.mgr.pipeline_manager.pipelines[0].publishers[0] |
1559 | -+ try: |
1560 | -+ pub = self.mgr.pipeline_manager.pipelines[0].publishers[0] |
1561 | -+ except: |
1562 | -+ self.skipTest('Skipped by Ubuntu') |
1563 | - del pub.samples[0].resource_metadata['resources'] |
1564 | - self.assertEqual(self.Pollster.test_data, pub.samples[0]) |
1565 | - |
1566 | -@@ -359,7 +365,10 @@ class BaseAgentManagerTestCase(base.Base |
1567 | - mgr.pollster_manager = self.mgr.pollster_manager |
1568 | - mgr.create_polling_task = mock.MagicMock() |
1569 | - mgr.tg = mock.MagicMock() |
1570 | -- mgr.start() |
1571 | -+ try: |
1572 | -+ mgr.start() |
1573 | -+ except: |
1574 | -+ self.skipTest('Skipped by Ubuntu') |
1575 | - self.assertTrue(mgr.tg.add_timer.called) |
1576 | - |
1577 | - def test_manager_exception_persistency(self): |
1578 | -diff -Naurp ceilometer-2014.2.b2.orig/ceilometer/tests/alarm/test_notifier.py ceilometer-2014.2.b2/ceilometer/tests/alarm/test_notifier.py |
1579 | ---- ceilometer-2014.2.b2.orig/ceilometer/tests/alarm/test_notifier.py 2014-07-24 08:42:07.000000000 -0400 |
1580 | -+++ ceilometer-2014.2.b2/ceilometer/tests/alarm/test_notifier.py 2014-07-24 14:29:49.765572364 -0400 |
1581 | -@@ -40,6 +40,7 @@ NOTIFICATION = dict(alarm_id='foobar', |
1582 | - class TestAlarmNotifier(tests_base.BaseTestCase): |
1583 | - |
1584 | - def setUp(self): |
1585 | -+ self.skipTest('Skiped by Ubuntu') |
1586 | - super(TestAlarmNotifier, self).setUp() |
1587 | - self.CONF = self.useFixture(config.Config()).conf |
1588 | - self.setup_messaging(self.CONF) |
1589 | -diff -Naurp ceilometer-2014.2.b2.orig/ceilometer/tests/api/v2/test_app.py ceilometer-2014.2.b2/ceilometer/tests/api/v2/test_app.py |
1590 | ---- ceilometer-2014.2.b2.orig/ceilometer/tests/api/v2/test_app.py 2014-07-24 08:42:04.000000000 -0400 |
1591 | -+++ ceilometer-2014.2.b2/ceilometer/tests/api/v2/test_app.py 2014-07-24 14:29:49.765572364 -0400 |
1592 | -@@ -51,7 +51,10 @@ class TestApp(base.BaseTestCase): |
1593 | - file_name = self.path_get('etc/ceilometer/api_paste.ini') |
1594 | - self.CONF.set_override("api_paste_config", file_name) |
1595 | - |
1596 | -- api_app = app.load_app() |
1597 | -+ try: |
1598 | -+ api_app = app.load_app() |
1599 | -+ except: |
1600 | -+ self.skipTest('Skipped by Ubuntu') |
1601 | - self.assertTrue(api_app.auth_uri.startswith('file')) |
1602 | - |
1603 | - def test_keystone_middleware_parse_conffile(self): |
1604 | -@@ -73,7 +76,10 @@ class TestApp(base.BaseTestCase): |
1605 | - service.prepare_service(['ceilometer-api', |
1606 | - '--config-file=%s' % tmpfile]) |
1607 | - self.CONF.set_override('connection', "log://", group="database") |
1608 | -- api_app = app.load_app() |
1609 | -+ try: |
1610 | -+ api_app = app.load_app() |
1611 | -+ except: |
1612 | -+ self.skipTest('Skiped by Ubuntu') |
1613 | - self.assertTrue(api_app.auth_uri.startswith('file')) |
1614 | - os.unlink(tmpfile) |
1615 | - |
1616 | -diff -Naurp ceilometer-2014.2.b2.orig/ceilometer/tests/api/v2/test_list_events_scenarios.py ceilometer-2014.2.b2/ceilometer/tests/api/v2/test_list_events_scenarios.py |
1617 | ---- ceilometer-2014.2.b2.orig/ceilometer/tests/api/v2/test_list_events_scenarios.py 2014-07-24 08:42:04.000000000 -0400 |
1618 | -+++ ceilometer-2014.2.b2/ceilometer/tests/api/v2/test_list_events_scenarios.py 2014-07-24 14:30:30.069572383 -0400 |
1619 | -@@ -87,6 +87,7 @@ class TestListEvents(v2.FunctionalTest, |
1620 | - self.assertEqual(timeutils.utcnow().isoformat(), s['recorded_at']) |
1621 | - |
1622 | - def test_all_trailing_slash(self): |
1623 | -+ self.skipTest('Skipped by Ubuntu') |
1624 | - data = self.get_json('/meters/instance/') |
1625 | - self.assertEqual(2, len(data)) |
1626 | - |
1627 | -diff -Naurp ceilometer-2014.2.b2.orig/ceilometer/tests/compute/pollsters/test_location_metadata.py ceilometer-2014.2.b2/ceilometer/tests/compute/pollsters/test_location_metadata.py |
1628 | ---- ceilometer-2014.2.b2.orig/ceilometer/tests/compute/pollsters/test_location_metadata.py 2014-07-24 08:42:04.000000000 -0400 |
1629 | -+++ ceilometer-2014.2.b2/ceilometer/tests/compute/pollsters/test_location_metadata.py 2014-07-24 14:29:49.765572364 -0400 |
1630 | -@@ -46,7 +46,10 @@ class TestLocationMetadata(test.BaseTest |
1631 | - |
1632 | - @mock.patch('ceilometer.pipeline.setup_pipeline', mock.MagicMock()) |
1633 | - def setUp(self): |
1634 | -- self.manager = manager.AgentManager() |
1635 | -+ try: |
1636 | -+ self.manager = manager.AgentManager() |
1637 | -+ except: |
1638 | -+ self.skipTest('Skipped by Ubuntu') |
1639 | - super(TestLocationMetadata, self).setUp() |
1640 | - |
1641 | - # Mimics an instance returned from nova api call |
1642 | -diff -Naurp ceilometer-2014.2.b2.orig/ceilometer/tests/compute/test_manager.py ceilometer-2014.2.b2/ceilometer/tests/compute/test_manager.py |
1643 | ---- ceilometer-2014.2.b2.orig/ceilometer/tests/compute/test_manager.py 2014-07-24 08:42:04.000000000 -0400 |
1644 | -+++ ceilometer-2014.2.b2/ceilometer/tests/compute/test_manager.py 2014-07-24 14:29:49.765572364 -0400 |
1645 | -@@ -30,7 +30,10 @@ class TestManager(test.BaseTestCase): |
1646 | - |
1647 | - @mock.patch('ceilometer.pipeline.setup_pipeline', mock.MagicMock()) |
1648 | - def test_load_plugins(self): |
1649 | -- mgr = manager.AgentManager() |
1650 | -+ try: |
1651 | -+ mgr = manager.AgentManager() |
1652 | -+ except: |
1653 | -+ self.skipTest('Skipped by Ubuntu') |
1654 | - self.assertIsNotNone(list(mgr.pollster_manager)) |
1655 | - |
1656 | - |
1657 | -diff -Naurp ceilometer-2014.2.b2.orig/ceilometer/tests/db.py ceilometer-2014.2.b2/ceilometer/tests/db.py |
1658 | ---- ceilometer-2014.2.b2.orig/ceilometer/tests/db.py 2014-07-24 08:42:04.000000000 -0400 |
1659 | -+++ ceilometer-2014.2.b2/ceilometer/tests/db.py 2014-07-24 14:29:49.765572364 -0400 |
1660 | -@@ -107,7 +107,10 @@ class TestBase(testscenarios.testcase.Wi |
1661 | - def setUp(self): |
1662 | - super(TestBase, self).setUp() |
1663 | - |
1664 | -- engine = urlparse.urlparse(self.db_url).scheme |
1665 | -+ try: |
1666 | -+ engine = urlparse.urlparse(self.db_url).scheme |
1667 | -+ except: |
1668 | -+ self.skipTest('Skipped by Ubuntu') |
1669 | - |
1670 | - # NOTE(Alexei_987) Shortcut to skip expensive db setUp |
1671 | - test_method = self._get_test_method() |
1672 | -@@ -117,7 +120,10 @@ class TestBase(testscenarios.testcase.Wi |
1673 | - 'Test is not applicable for %s' % engine) |
1674 | - |
1675 | - self.db_manager = self._get_driver_manager(engine)(self.db_url) |
1676 | -- self.useFixture(self.db_manager) |
1677 | -+ try: |
1678 | -+ self.useFixture(self.db_manager) |
1679 | -+ except: |
1680 | -+ self.skipTest('Skipped by Ubuntu') |
1681 | - |
1682 | - self.conn = self.db_manager.connection |
1683 | - self.conn.upgrade() |
1684 | -diff -Naurp ceilometer-2014.2.b2.orig/ceilometer/tests/dispatcher/test_db.py ceilometer-2014.2.b2/ceilometer/tests/dispatcher/test_db.py |
1685 | ---- ceilometer-2014.2.b2.orig/ceilometer/tests/dispatcher/test_db.py 2014-07-24 08:42:04.000000000 -0400 |
1686 | -+++ ceilometer-2014.2.b2/ceilometer/tests/dispatcher/test_db.py 2014-07-24 14:29:49.765572364 -0400 |
1687 | -@@ -30,7 +30,10 @@ class TestDispatcherDB(test.BaseTestCase |
1688 | - super(TestDispatcherDB, self).setUp() |
1689 | - self.CONF = self.useFixture(config.Config()).conf |
1690 | - self.CONF.set_override('connection', 'sqlite://', group='database') |
1691 | -- self.dispatcher = database.DatabaseDispatcher(self.CONF) |
1692 | -+ try: |
1693 | -+ self.dispatcher = database.DatabaseDispatcher(self.CONF) |
1694 | -+ except: |
1695 | -+ self.skipTest('Skipped by Ubuntu') |
1696 | - self.ctx = None |
1697 | - |
1698 | - def test_valid_message(self): |
1699 | -diff -Naurp ceilometer-2014.2.b2.orig/ceilometer/tests/hardware/inspector/test_inspector.py ceilometer-2014.2.b2/ceilometer/tests/hardware/inspector/test_inspector.py |
1700 | ---- ceilometer-2014.2.b2.orig/ceilometer/tests/hardware/inspector/test_inspector.py 2014-07-24 08:42:04.000000000 -0400 |
1701 | -+++ ceilometer-2014.2.b2/ceilometer/tests/hardware/inspector/test_inspector.py 2014-07-24 14:29:49.765572364 -0400 |
1702 | -@@ -23,7 +23,10 @@ from ceilometer.tests import base |
1703 | - class TestHardwareInspector(base.BaseTestCase): |
1704 | - def test_get_inspector(self): |
1705 | - url = network_utils.urlsplit("snmp://") |
1706 | -- driver = inspector.get_inspector(url) |
1707 | -+ try: |
1708 | -+ driver = inspector.get_inspector(url) |
1709 | -+ except: |
1710 | -+ self.skipTest('Skipped by Ubuntu') |
1711 | - self.assertTrue(driver) |
1712 | - |
1713 | - def test_get_inspector_illegal(self): |
1714 | -diff -Naurp ceilometer-2014.2.b2.orig/ceilometer/tests/storage/test_get_connection.py ceilometer-2014.2.b2/ceilometer/tests/storage/test_get_connection.py |
1715 | ---- ceilometer-2014.2.b2.orig/ceilometer/tests/storage/test_get_connection.py 2014-07-24 08:42:04.000000000 -0400 |
1716 | -+++ ceilometer-2014.2.b2/ceilometer/tests/storage/test_get_connection.py 2014-07-24 14:29:49.765572364 -0400 |
1717 | -@@ -48,6 +48,7 @@ class ConnectionConfigTest(test.BaseTest |
1718 | - self.CONF = self.useFixture(config.Config()).conf |
1719 | - |
1720 | - def test_only_default_url(self): |
1721 | -+ self.skipTest('Skiped by Ubuntu') |
1722 | - self.CONF.set_override("connection", "log://", group="database") |
1723 | - conn = storage.get_connection_from_config(self.CONF)._conn |
1724 | - self.assertIsInstance(conn, impl_log.Connection) |
1725 | -@@ -57,6 +58,7 @@ class ConnectionConfigTest(test.BaseTest |
1726 | - self.assertIsInstance(conn, impl_log_alarm.Connection) |
1727 | - |
1728 | - def test_two_urls(self): |
1729 | -+ self.skipTest('Skiped by Ubuntu') |
1730 | - self.CONF.set_override("connection", "log://", group="database") |
1731 | - self.CONF.set_override("alarm_connection", "sqlite://", |
1732 | - group="database") |
1733 | -diff -Naurp ceilometer-2014.2.b2.orig/ceilometer/tests/test_bin.py ceilometer-2014.2.b2/ceilometer/tests/test_bin.py |
1734 | ---- ceilometer-2014.2.b2.orig/ceilometer/tests/test_bin.py 2014-07-24 08:42:04.000000000 -0400 |
1735 | -+++ ceilometer-2014.2.b2/ceilometer/tests/test_bin.py 2014-07-24 14:29:49.765572364 -0400 |
1736 | -@@ -31,6 +31,9 @@ from ceilometer.tests import base |
1737 | - |
1738 | - class BinTestCase(base.BaseTestCase): |
1739 | - def setUp(self): |
1740 | -+ if not os.path.exists('ceilometer-dbsync'): |
1741 | -+ self.skipTest('Skipped by Ubuntu') |
1742 | -+ |
1743 | - super(BinTestCase, self).setUp() |
1744 | - content = ("[DEFAULT]\n" |
1745 | - "rpc_backend=fake\n" |
1746 | -@@ -78,6 +81,8 @@ class BinTestCase(base.BaseTestCase): |
1747 | - |
1748 | - class BinSendSampleTestCase(base.BaseTestCase): |
1749 | - def setUp(self): |
1750 | -+ if not os.path.exists('ceilometer-send-sample'): |
1751 | -+ self.skipTest('Skipped by Ubuntu') |
1752 | - super(BinSendSampleTestCase, self).setUp() |
1753 | - pipeline_cfg_file = self.path_get('etc/ceilometer/pipeline.yaml') |
1754 | - content = ("[DEFAULT]\n" |
1755 | -@@ -103,6 +108,9 @@ class BinSendSampleTestCase(base.BaseTes |
1756 | - class BinApiTestCase(base.BaseTestCase): |
1757 | - |
1758 | - def setUp(self): |
1759 | -+ if not os.path.exists('ceilometer-api'): |
1760 | -+ self.skipTest('Skipped by Ubuntu') |
1761 | -+ |
1762 | - super(BinApiTestCase, self).setUp() |
1763 | - # create api_paste.ini file without authentication |
1764 | - content = ("[pipeline:main]\n" |
1765 | -diff -Naurp ceilometer-2014.2.b2.orig/ceilometer/tests/test_collector.py ceilometer-2014.2.b2/ceilometer/tests/test_collector.py |
1766 | ---- ceilometer-2014.2.b2.orig/ceilometer/tests/test_collector.py 2014-07-24 08:42:04.000000000 -0400 |
1767 | -+++ ceilometer-2014.2.b2/ceilometer/tests/test_collector.py 2014-07-24 14:29:49.765572364 -0400 |
1768 | -@@ -216,6 +216,7 @@ class TestCollector(tests_base.BaseTestC |
1769 | - |
1770 | - @mock.patch('ceilometer.storage.impl_log.LOG') |
1771 | - def test_collector_no_mock(self, mylog): |
1772 | -+ self.skipTest('Skiped by ubuntu') |
1773 | - self.CONF.set_override('udp_address', '', group='collector') |
1774 | - self.srv.start() |
1775 | - mylog.info.side_effect = lambda *args: self.srv.stop() |
1776 | -diff -Naurp ceilometer-2014.2.b2.orig/ceilometer/tests/test_notification.py ceilometer-2014.2.b2/ceilometer/tests/test_notification.py |
1777 | ---- ceilometer-2014.2.b2.orig/ceilometer/tests/test_notification.py 2014-07-24 08:42:04.000000000 -0400 |
1778 | -+++ ceilometer-2014.2.b2/ceilometer/tests/test_notification.py 2014-07-24 14:29:49.765572364 -0400 |
1779 | -@@ -88,6 +88,7 @@ TEST_NOTICE_PAYLOAD = { |
1780 | - class TestNotification(tests_base.BaseTestCase): |
1781 | - |
1782 | - def setUp(self): |
1783 | -+ self.skipTest('Skipped by Ubuntu') |
1784 | - super(TestNotification, self).setUp() |
1785 | - self.CONF = self.useFixture(config.Config()).conf |
1786 | - self.CONF.set_override("connection", "log://", group='database') |
1787 | -@@ -125,6 +126,7 @@ class TestNotification(tests_base.BaseTe |
1788 | - self.assertEqual(2, len(self.srv.listeners)) |
1789 | - |
1790 | - def test_process_notification(self): |
1791 | -+ self.skipTest('Skipped by Ubuntu') |
1792 | - self._do_process_notification_manager_start() |
1793 | - self.srv.pipeline_manager.pipelines[0] = mock.MagicMock() |
1794 | - |
1795 | -@@ -189,6 +191,7 @@ class TestRealNotification(tests_base.Ba |
1796 | - |
1797 | - @mock.patch('ceilometer.publisher.test.TestPublisher') |
1798 | - def test_notification_service(self, fake_publisher_cls): |
1799 | -+ self.skipTest('Skipped by Ubuntu') |
1800 | - fake_publisher_cls.return_value = self.publisher |
1801 | - self.srv.start() |
1802 | - |
1803 | -diff -Naurp ceilometer-2014.2.b2.orig/ceilometer/tests/test_notifier.py ceilometer-2014.2.b2/ceilometer/tests/test_notifier.py |
1804 | ---- ceilometer-2014.2.b2.orig/ceilometer/tests/test_notifier.py 2014-07-24 08:42:04.000000000 -0400 |
1805 | -+++ ceilometer-2014.2.b2/ceilometer/tests/test_notifier.py 2014-07-24 14:29:49.765572364 -0400 |
1806 | -@@ -66,6 +66,7 @@ MESSAGE = { |
1807 | - class TestNotifier(test.BaseTestCase): |
1808 | - |
1809 | - def test_process_notification(self): |
1810 | -+ self.skipTest('Skipped by Ubuntu') |
1811 | - transformer_manager = transformer.TransformerExtensionManager( |
1812 | - 'ceilometer.transformer', |
1813 | - ) |
1814 | |
1815 | === modified file 'debian/rules' |
1816 | --- debian/rules 2014-10-01 15:03:44 +0000 |
1817 | +++ debian/rules 2014-10-05 13:26:58 +0000 |
1818 | @@ -23,7 +23,7 @@ |
1819 | |
1820 | override_dh_install: |
1821 | bash tools/config/generate_sample.sh -b . -p ceilometer -o etc/ceilometer |
1822 | - cp debian/ceilometer.conf.sample etc/ceilometer/ceilometer.conf |
1823 | + cp etc/ceilometer/ceilometer.conf.sample etc/ceilometer/ceilometer.conf |
1824 | dh_install --fail-missing |
1825 | |
1826 | override_dh_auto_clean: |