Domain not found

Bug #1656166 reported by eagle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Medium
Liusheng

Bug Description

when vm1 live migrate from host1 to host2, ceilometer.compute.discovery.InstanceDiscovery still hold the vm1 in self.instances, thus causing Exception.

For example, when poll disk.read.bytes, the exception is:
2017-01-13 11:14:40.258 30189 DEBUG ceilometer.compute.pollsters.disk [req-e3cee3af-42c9-4d37-aa41-b39906fbbd04 admin - - - -] Exception while getting samples Error from libvirt while looking up instance <name=instance-000001eb, id=d90dd5e7-25d0-4ff6-b8e1-337e297147b0>: [Error Code 42] Domain not found: no domain with matching uuid 'd90dd5e7-25d0-4ff6-b8e1-337e297147b0' get_samples /usr/lib/python2.7/site-packages/ceilometer/compute/pollsters/disk.py:161

Need add a method to remove vm1 from self.instances.

Revision history for this message
gordon chung (chungg) wrote :

this is related to bug 1594285. i should mention in ocata we don't use this cache anymore (not by default if using libvirt)

Changed in ceilometer:
status: New → Triaged
importance: Undecided → Medium
Changed in ceilometer:
assignee: nobody → gordon chung (chungg)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/333129
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=3ae997e3d6c9648292969366d25362297474b815
Submitter: Jenkins
Branch: master

commit 3ae997e3d6c9648292969366d25362297474b815
Author: liusheng <email address hidden>
Date: Tue Jun 21 09:19:22 2016 +0800

    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

Changed in ceilometer:
status: In Progress → Fix Released
gordon chung (chungg)
Changed in ceilometer:
assignee: gordon chung (chungg) → Liusheng (liusheng)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ceilometer 8.0.0

This issue was fixed in the openstack/ceilometer 8.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/467012

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (stable/newton)

Reviewed: https://review.openstack.org/467012
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=66dd8ab65e2d9352de86e47056dea0b701e21a15
Submitter: Jenkins
Branch: stable/newton

commit 66dd8ab65e2d9352de86e47056dea0b701e21a15
Author: liusheng <email address hidden>
Date: Tue Jun 21 09:19:22 2016 +0800

    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

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ceilometer 7.0.5

This issue was fixed in the openstack/ceilometer 7.0.5 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.