Bug 1527834 - "--attach" should be appended as virt-viewer arguments if listen type is none
Summary: "--attach" should be appended as virt-viewer arguments if listen type is none
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-manager
Version: 7.5
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Pavel Hrdina
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1558351
TreeView+ depends on / blocked
 
Reported: 2017-12-20 08:46 UTC by Xiaodai Wang
Modified: 2018-10-30 10:11 UTC (History)
5 users (show)

Fixed In Version: virt-manager-1.5.0-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 10:10:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:3115 0 None None None 2018-10-30 10:11:17 UTC

Description Xiaodai Wang 2017-12-20 08:46:14 UTC
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:

Comment 3 Pavel Hrdina 2018-01-05 08:30:14 UTC
Upstream patch posted:

https://www.redhat.com/archives/virt-tools-list/2018-January/msg00003.html

Comment 5 Mengyuan Cheng 2018-05-24 02:48:09 UTC
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.

Comment 7 errata-xmlrpc 2018-10-30 10:10:59 UTC
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


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