ceilometer/releasenotes/notes/refresh-legacy-cache-e4dbbd3e2eeca70b.yaml
liusheng 3ae997e3d6 Add support of refereshing the resource info in local cache
The local resource caching mechanism may cause legacy resource info
resided in the local cache and never be cleaned, uless the service
being restarted. e.g. an instance has been migrated to another host, the
instance info will reside in the cache on the ceilometer-polling
service running on the old compute host.

Change-Id: I55f12ea9f6f6104de6a38b98ad935d458a7b0cc8
Closes-Bug: #1594285
Closes-Bug: #1656166
2017-01-18 21:12:35 +00:00

10 lines
428 B
YAML

---
fixes:
- |
A local cache is used when polling instance metrics to minimise calls Nova
API. A new option is added `resource_cache_expiry` to configure a time to
live for cache before it expires. This resolves issue where migrated
instances are not removed from cache. This is only relevant when
`instance_discovery_method` is set to `naive`. It is recommended to use
`libvirt_metadata` if possible.