Bug 789504 - virt-df (other tools?) should not give up if a guest disk is missing
Summary: virt-df (other tools?) should not give up if a guest disk is missing
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-10 22:27 UTC by Richard W.M. Jones
Modified: 2012-05-03 15:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-03 15:01:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2012-02-10 22:27:50 UTC
Description of problem:

I have a host with a bogus libvirt guest that doesn't
actually exist.  Running virt-df fails:

virt-df 
Filesystem                           1K-blocks       Used  Available  Use%
libguestfs: error: /dev/vg_guests/Nova: No such file or directory

This is unnecessary: virt-df should issue an error, but
skip the guest and go on to the next one.

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

1.17.6.

Comment 1 Richard W.M. Jones 2012-05-03 15:01:11 UTC
Fixed in 1.17.39 (also for virt-alignment-scan).


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