Version-Release number of selected component (if applicable): python-virtinst-0.500.3-1.fc13.noarch Steps to Reproduce: 1. /etc/init.d/libvirtd stop 2. create a VM using virt-install Actual results: ERROR unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: Connection refused Traceback (most recent call last): File "/usr/sbin/virt-install", line 1054, in <module> main() File "/usr/sbin/virt-install", line 810, in main conn = cli.getConnection(options.connect) File "/usr/lib/python2.6/site-packages/virtinst/cli.py", line 217, in getConnection conn = open_connection(connect) File "/usr/lib/python2.6/site-packages/virtinst/cli.py", line 232, in open_connection open_flags) File "/usr/lib/python2.6/site-packages/libvirt.py", line 111, in openAuth if ret is None:raise libvirtError('virConnectOpenAuth() failed') libvirtError: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: Connection refused Expected results: ERROR: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: Connection refused
Created attachment 425931 [details] proposed patch
Thanks for the patch, but I've pushed a more comprehensive fix upstream: http://hg.fedorahosted.org/hg/python-virtinst/rev/1ce01e8c1ea4 Basically we had this traceback type problem with lots of errors, so this change should cover most of the bases.
python-virtinst-0.500.4-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/python-virtinst-0.500.4-1.fc13
python-virtinst-0.500.4-1.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/python-virtinst-0.500.4-1.fc14
python-virtinst-0.500.4-1.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update python-virtinst'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/python-virtinst-0.500.4-1.fc13
python-virtinst-0.500.4-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
python-virtinst-0.500.4-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.