nodepool/nodepool
Monty Taylor 67824d8e64
Make statsd key look like the keys from shade
openstacksdk produces task names that look like compute.DELETE.servers,
which are {service_type}.{METHOD}.{url}.{parts} but shade and nodepool
have been reporting to statsd with {Service_type}{Method}{Url}{Parts}.

Translate the task.name produced by sdk into the key nodepool expects to
report as.

Also, emit 'Manager ran task' log lines

The super class emits these, but on the openstacksdk logger. We don't
really want to turn that on at debug level for normal usage, so rather
than calling super(post_run_task) just straight-up override it.

Make sure we log using the transformed name in all cases.

Change-Id: I7f21aefc204366f7621643fdba76b7e70ce4caf5
2018-07-24 13:57:05 -05:00
..
cmd status: add pool column to nodepool list output 2018-07-15 23:07:22 +00:00
driver Add logging when pausing due to node abort 2018-07-23 15:17:00 -04:00
tests Merge "builder: support setting diskimage env-vars in secure configuration" 2018-07-23 16:04:00 +00:00
__init__.py Initial commit 2013-08-15 09:47:23 -07:00
builder.py Merge "builder: do not configure provider that doesn't manage images" 2018-07-21 00:03:36 +00:00
config.py Merge "builder: support setting diskimage env-vars in secure configuration" 2018-07-23 16:04:00 +00:00
exceptions.py Fix relaunch attempts when hitting quota errors 2018-07-06 08:41:02 +02:00
launcher.py Fix relaunch attempts when hitting quota errors 2018-07-06 08:41:02 +02:00
logconfig.py Replace shade and os-client-config with openstacksdk. 2018-07-14 08:44:03 -05:00
nodeutils.py Add connection-port to provider diskimage 2018-04-03 17:48:52 +02:00
provider_manager.py builder: do not configure provider that doesn't manage images 2018-07-15 23:10:05 +00:00
stats.py Refactor NodeLauncher to be generic 2018-04-19 02:23:42 +00:00
status.py status: add pool column to nodepool list output 2018-07-15 23:07:22 +00:00
task_manager.py Make statsd key look like the keys from shade 2018-07-24 13:57:05 -05:00
version.py Fix nodepool --version 2015-02-06 12:09:52 -08:00
webapp.py webapp: fix browser return 2018-06-07 18:47:06 +10:00
zk.py Fix relaunch attempts when hitting quota errors 2018-07-06 08:41:02 +02:00