Bug 538064 - virt-df doesn't list running domains (but only on Xen)
Summary: virt-df doesn't list running domains (but only on Xen)
Keywords:
Status: CLOSED DUPLICATE of bug 538041
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-17 14:00 UTC by Richard W.M. Jones
Modified: 2010-03-16 17:25 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-11-17 14:06:15 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2009-11-17 14:00:30 UTC
Description of problem:

If I use virt-df on Xen (on RHEL 5.4) it doesn't show any
running domains.  It shows only shut down domains.

I can show a running domain _if_ I list the domain name
explicitly.  But not if I just use "virt-df" command on its
own, which is supposed to list all domains.

_However_ on KVM this works correctly!  "virt-df" lists
both inactive and running domains.

Although possibly this is a RHEL vs Fedora thing.

Version-Release number of selected component (if applicable):

Where it fails (RHEL 5.4):
  # virt-df --version
  1.0.76
  # uname -a
  Linux intel-mb 2.6.18-128.el5xen #1 SMP Wed Dec 17 12:01:40 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
  # virsh --version
  0.6.3

Where it works (Fedora 12):
  # virt-df --version
  1.0.78
  # uname -a
  Linux trick.home.annexia.org 2.6.31.1-56.fc12.x86_64 #1 SMP Tue Sep 29 16:16:22 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
  # virsh --version
  0.7.1

How reproducible:

Always on RHEL 5.4 / Xen.

Never on Fedora 12 / KVM.

Steps to Reproduce:
1. Make sure you have some guests, some running, some shut down.
2. virt-df
3.
  
Actual results:

Shows only the shut down domains (on RHEL 5.4 / Xen).

Expected results:

Should show all domains, regardless of state.

Additional info:

Comment 1 Richard W.M. Jones 2009-11-17 14:06:15 UTC
Ah, I see what this is.  It's a dupe of 538041.

Basically when we hit Domain-0, the error message:

  Domain-0 seems to have no disk devices

is in fact a die, _not_ a warn as I thought before,
so it bombs out before it gets around to displaying
the active domains.

*** This bug has been marked as a duplicate of bug 538041 ***


Note You need to log in before you can comment on or make changes to this bug.