Bug 509189 - "internal error" shown for a trivial user error
Summary: "internal error" shown for a trivial user error
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libvirt
Version: 5.4
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Daniel Veillard
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-01 17:25 UTC by Paolo Bonzini
Modified: 2009-12-14 21:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-07 15:55:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
sample configuration file for the domain (345 bytes, application/xml)
2009-07-01 17:26 UTC, Paolo Bonzini
no flags Details
tentative patch (654 bytes, patch)
2009-07-01 17:27 UTC, Paolo Bonzini
no flags Details | Diff

Description Paolo Bonzini 2009-07-01 17:25:19 UTC
Description of problem:
libvirtd's qemu component shows "internal error: Network 'default' not found" when a non-root user tries to start a domain with a tap network.

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

How reproducible:
Running "virsh create foo.xml" to start a domain that has a tap network.

Steps to Reproduce:
1. Download the attached netkvm.xml
2. Run "virsh create netkvm.xml"
  
Actual results:
Last error message is "error: internal error Network 'default' not found"

Expected results:
The error message should not convince the user that the "default" Network will always be present.

Comment 1 Paolo Bonzini 2009-07-01 17:26:00 UTC
Created attachment 350155 [details]
sample configuration file for the domain

Comment 2 Paolo Bonzini 2009-07-01 17:27:20 UTC
Created attachment 350159 [details]
tentative patch

Comment 3 Daniel Veillard 2009-07-07 15:55:42 UTC
Applied (slightly modified) upstream,

 thanks !

Daniel


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