ceilometer/ceilometer
Lars Kellogg-Stedman afaa7f7c8c Gracefully handle missing metadata in libvirt xml
Missing metadata in the libvirt domain xml for a nova instance would
cause ceilometer-compute to abort, leading to missing metrics for the
current and any subequent libvirt guests.

This commit puts a try/except AttributeError block around all the code
that is fetching attributes on the result of metadata_xml.find(...).

also pull in I41aa76cf9def3e8c4bceef0280d15c1fd7c48e3d

Change-Id: I8adc609cc21c86de2daba326d24b73a80d6eb61f
Closes-Bug: #1749960
(cherry picked from commit d2af7e9ece)
2018-02-23 17:45:55 +00:00
..
agent polling definition file 2017-02-01 01:39:56 +00:00
api Remove events storage and API 2017-01-06 16:33:53 +01:00
cmd Remove events storage and API 2017-01-06 16:33:53 +01:00
compute Gracefully handle missing metadata in libvirt xml 2018-02-23 17:45:55 +00:00
conf Use set_defaults method in oslo_middleware to check CORS_OPTS 2016-10-26 16:45:00 +08:00
dispatcher remove resource if not created 2017-05-17 08:13:39 +00:00
energy register ceilometer options at runtime 2016-11-24 15:29:46 +01:00
event Remove events storage and API 2017-01-06 16:33:53 +01:00
hacking Initial seed of hacking 2016-02-22 12:46:44 -03:00
hardware snmp: warn if snmp call timeout 2017-11-30 08:34:27 +01:00
image register ceilometer options at runtime 2016-11-24 15:29:46 +01:00
ipmi register ceilometer options at runtime 2016-11-24 15:29:46 +01:00
locale Imported Translations from Zanata 2018-02-23 07:44:42 +00:00
meter add missing instance meta 2017-03-01 20:03:03 +00:00
network Adds 'disabled' to the possible states for a member in LBaaSv2 2017-04-02 22:59:47 +00:00
objectstore Swallow & report 404s from Swift (missing tenant) 2017-04-10 09:13:45 +00:00
publisher High precision rate of change timedelta 2017-07-20 17:00:59 +02:00
storage High precision rate of change timedelta 2017-07-20 17:00:59 +02:00
telemetry register ceilometer options at runtime 2016-11-24 15:29:46 +01:00
tests Fix bug for ceilometer polling generates an exception 2017-11-06 22:52:34 +00:00
transformer Fixed ceilometer arithmetic transformer bug 2017-07-31 03:04:42 +00:00
volume set project_id for cinder polling 2017-01-24 13:49:46 +00:00
__init__.py Remove eventlet usage 2015-11-24 13:44:58 +01:00
collector.py Fix same type of simple message error 2017-01-19 20:42:32 +08:00
coordination.py Fix same type of simple message error 2017-01-19 20:42:32 +08:00
declarative.py Add more verbosity for gnocchi_resources.yaml 2016-11-02 16:12:11 +00:00
exchange_control.py register ceilometer options at runtime 2016-11-24 15:29:46 +01:00
gnocchi_client.py fix the gnocchi resource type upgrade 2017-01-10 10:37:13 +01:00
i18n.py switch to oslo_i18n 2015-01-12 20:16:20 +08:00
keystone_client.py keystone: pass region name to keystone client 2017-09-08 15:28:55 +00:00
messaging.py Change oslo.messaging prefetch default 2017-11-29 10:14:17 +01:00
middleware.py drop disable_non_metric_meters option 2016-11-30 21:04:43 +00:00
neutron_client.py register ceilometer options at runtime 2016-11-24 15:29:46 +01:00
notification.py Fix same type of simple message error 2017-01-19 20:42:32 +08:00
nova_client.py Fix the gate failure because of several issues 2016-12-26 02:01:20 +00:00
opts.py Don't poll nova with compute agent 2017-01-09 15:41:37 +00:00
pipeline.py High precision rate of change timedelta 2017-07-20 17:00:59 +02:00
sample.py High precision rate of change timedelta 2017-07-20 17:00:59 +02:00
service.py gnocchi: Allow to set a different creds section 2016-12-13 12:35:32 +01:00
service_base.py Fixed NotificationService object has no attribute refresh_pipeline_periodic 2017-06-28 13:35:50 +08:00
utils.py Fix same type of simple message error 2017-01-19 20:42:32 +08:00
version.py Introduce Guru Meditation Reports into Ceilometer 2015-08-20 08:59:51 +08:00