Description of problem: "--attach" should be appended as virt-viewer arguments if listen type is none Version-Release number of selected component (if applicable): virt-install-1.4.3-2.el7.noarch How reproducible: 100% Steps to Reproduce: 1. Install a guest and set graphical listen type to "none". virt-install --name testvm --disk path=/var/lib/libvirt/images/testvm.qcow2 --import --memory 1024 --graphics spice,listen=none Actual results: "Failed to connect: Display can only be attached through libvirt with --attach" error dialog pops up. Expected results: virt-viewer should open the guest successfully during installation. Additional info:
Upstream patch posted: https://www.redhat.com/archives/virt-tools-list/2018-January/msg00003.html
I can reproduce this bug with package: virt-install-1.4.3-3.el7.noarch Then try to verify this bug with new build: virt-install-1.5.0-1.el7.noarch Steps: 1. Install a guest and set graphical listen type to "none". virt-install --name testvm --disk path=/var/lib/libvirt/images/testvm.qcow2 --import --memory 1024 --graphics spice,listen=none Result: virt-viewer can open the guest successfully during installation as we expected. So I move this bug from ON_QA to VERIFIED status,thanks.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:3115