Bug 199415
Summary: | virDomainLookupByID fails on repeated calls with UNIX sockets disabled | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bryan D. Payne <bryan> |
Component: | libvirt | Assignee: | Daniel Veillard <veillard> |
Status: | CLOSED WORKSFORME | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.bryanpayne.org/testing/libvirt.html | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-11-06 16:53:00 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Bryan D. Payne
2006-07-19 13:53:35 UTC
Hum, the test code is not available anymore. I have tried here with libvirt CVS, I stopped xend reconfigured it with just http access (no unix socket) and restarted it. See,s that consecutive calls to the list function is working when asking virsh to list twice: [root@paphio src]# ./virsh Welcome to virsh, the virtualization interactive terminal. Type: 'help' for help with commands 'quit' to quit virsh # list Id Name State ---------------------------------- 0 Domain-0 running virsh # list Id Name State ---------------------------------- 0 Domain-0 running virsh # as root libvirt will first give the list of ID via an hypercall and then virDomainLookupByID will be called to do the id to name mapping, and it will get this only from the HTTP access to Xend. So this seems to work for me with the current version. If you still experience the problem, could you make the code example available again (or show how to get this with virsh) ? thanks, Daniel |