Bug 860633
Summary: | 'virsh list' does not print error when not run as root | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stef Walter <stefw> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | berrange, clalancette, dallan, eblake, itamar, jforbes, jyang, laine, libvirt-maint, veillard, virt-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-09-26 11:29:50 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Stef Walter
2012-09-26 11:18:38 UTC
Not a bug. By default, non-root users connect to 'qemu:///session' rather than 'qemu:///system', and as that is a different URI tied to a different instance of libvirtd, the output is expected to be different. To get the system listing as non-root, you must set your desired URI, such as by 'virsh -c qemu:///system list'. (In reply to comment #1) > Not a bug. By default, non-root users connect to 'qemu:///session' rather > than 'qemu:///system', and as that is a different URI tied to a different > instance of libvirtd, the output is expected to be different. To get the To put it another way, you can define and start VMs with the session URI and then you will see them when you connect to session and list VMs, but the set of VMs on the session URI will always be different from the system URI. See http://libvirt.org/drvqemu.html for more information. |