libvirt: xen: hypervisor driver fills log with internal errors after shutdown

Bug #963006 reported by Stefan Bader
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Fix Released
Low
Stefan Bader

Bug Description

This happens most notably when using virt-manager and leaving the console window open after shutdown. The problem is that the unified driver always calls out to several sub-drivers in sequence. After an instance is shut down, the open console window seems to do a query on the number of vcpus about every second.
The unified driver first calls to the hypervisor sub-driver which cannot find the domain id after shutdown (as it does not exist anymore). This is not really fatal and after returning -1, the unified driver passes the request on to the xend sub-driver which does succeed. So the logger internal error does not mean anything.

Tags: patch

Related branches

Revision history for this message
Stefan Bader (smb) wrote :

This change would prevent the flood of messages. I know this is a rather debatable change. Though I like to have rather no alarm error logged when there is nothing wrong.

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libvirt - 0.9.8-2ubuntu15

---------------
libvirt (0.9.8-2ubuntu15) precise; urgency=low

  [ Stefan Bader ]
  * Use domain/status to check for inactive domains in the xend sub-
    driver. (LP: #929626)
  * Prevent the hypervisor sub-driver from logging an internal error
    just because it cannot find a certain domain when looking for
    the number of vcpus. (LP: #963006)
 -- Stefan Bader <email address hidden> Fri, 23 Mar 2012 11:38:24 +0100

Changed in libvirt (Ubuntu):
status: In Progress → Fix Released
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.