RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1252917 - Virt-viewer password cannot be set.
Summary: Virt-viewer password cannot be set.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: spice-server
Version: 6.7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Default Assignee for SPICE Bugs
QA Contact: SPICE QE bug list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-12 13:50 UTC by Bill Sanford
Modified: 2015-08-13 08:00 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 18:00:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Bill Sanford 2015-08-12 13:50:23 UTC
Description of problem:
Virt-viewer password cannot be set with "-spice port=3000,password=redhat" or at the (qemu) prompt with "set_password spice redhat."

Version-Release number of selected component (if applicable):
RHEL-6.7-20150805.2 - base and optional - Host and client
Supp-6.7-RHEL-6-20150702.0 - Host and client

RHEL-6-20150702.0 - guest 
Firefox 38.0.1 - guest 

On the Host:
spice-glib-0.26-4.el6.x86_64
spice-gtk-devel-0.26-4.el6.x86_64
spice-gtk-python-0.26-4.el6.x86_64
spice-server-devel-0.12.4-12.el6.x86_64
spice-gtk-0.26-4.el6.x86_64
spice-protocol-0.12.6-1.el6.noarch
spice-glib-devel-0.26-4.el6.x86_64
spice-usb-share-4.9-9.el6.x86_64
spice-client-0.8.2-15.el6.x86_64
spice-server-0.12.4-12.el6.x86_64
spice-xpi-2.7-27.el6.x86_64
spice-vdagent-0.14.0-9.el6.x86_64
kmod-kspiceusb-rhel60-4.9-14.el6.x86_64
spice-gtk-tools-0.26-4.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. With either "-spice port=3000,password=redhat" or at the (qemu) prompt with "set_password spice redhat" try to set password
2.
3.

Actual results:
Error message with "Could not set password."

Expected results:
Password is set.

Additional info:

Comment 2 Christophe Fergeau 2015-08-12 14:11:55 UTC
What qemu version are you testing with? qemu-kvm-0.12.1.2-2.479.el6.x86_64 + spice-server-0.12.4-12.el6.x86_64 works as expected here.

Comment 3 Bill Sanford 2015-08-12 15:22:25 UTC
[root@unused-10-19-63-157 ~]# rpm -qa | grep qemu
qemu-kvm-0.12.1.2-2.479.el6.x86_64
qemu-img-0.12.1.2-2.479.el6.x86_64
gpxe-roms-qemu-0.9.7-6.14.el6.noarch
[root@unused-10-19-63-157 ~]# rpm -qa | grep spice-server
spice-server-devel-0.12.4-12.el6.x86_64
spice-server-0.12.4-12.el6.x86_64
[root@unused-10-19-63-157 ~]#

Comment 4 Christophe Fergeau 2015-08-12 15:33:00 UTC
What I'm testing is:
- start qemu with '/usr/libexec/qemu-kvm -spice port=3000,password=redhat -monitor stdio'
- connect to the host with ssh -X
- start 'remote-viewer spice://localhost:3000' and connect to the guest with 'redhat'
- exit remote-viewer
- type 'set_password spice foo' at the (qemu) prompt
-  start 'remote-viewer spice://localhost:3000' and connect to the guest with 'foo'

In both cases, I can successfully connect to the guest after typing the correct password.
Are you following the exact same steps, or are you doing something else?

Comment 5 David Blechter 2015-08-12 15:51:56 UTC
(In reply to Bill Sanford from comment #0)
> Description of problem:
> Virt-viewer password cannot be set with "-spice port=3000,password=redhat"
> or at the (qemu) prompt with "set_password spice redhat."
> 
> Version-Release number of selected component (if applicable):
> RHEL-6.7-20150805.2 - base and optional - Host and client
> Supp-6.7-RHEL-6-20150702.0 - Host and client
> 
> RHEL-6-20150702.0 - guest 
> Firefox 38.0.1 - guest 
> 
> On the Host:
> spice-glib-0.26-4.el6.x86_64
> spice-gtk-devel-0.26-4.el6.x86_64
> spice-gtk-python-0.26-4.el6.x86_64
> spice-server-devel-0.12.4-12.el6.x86_64
> spice-gtk-0.26-4.el6.x86_64
> spice-protocol-0.12.6-1.el6.noarch
> spice-glib-devel-0.26-4.el6.x86_64
> spice-usb-share-4.9-9.el6.x86_64
> spice-client-0.8.2-15.el6.x86_64
> spice-server-0.12.4-12.el6.x86_64
> spice-xpi-2.7-27.el6.x86_64
> spice-vdagent-0.14.0-9.el6.x86_64
> kmod-kspiceusb-rhel60-4.9-14.el6.x86_64
> spice-gtk-tools-0.26-4.el6.x86_64
> 
> How reproducible:
> 100%
> 
> Steps to Reproduce:
> 1. With either "-spice port=3000,password=redhat" or at the (qemu) prompt
> with "set_password spice redhat" try to set password
> 2.
> 3.
> 
> Actual results:
> Error message with "Could not set password."
> 
> Expected results:
> Password is set.
> 
> Additional info:

was it tested during the rhel 6.7 cycle? Did it pass and fails now? What does regression means

Comment 7 Tomas Pelka 2015-08-12 16:56:14 UTC
Need info unset by accident.

Comment 8 Bill Sanford 2015-08-12 18:00:04 UTC
I was trying a much bigger config with the password added in.

Christophe's comment #4, works.

Comment 9 Christophe Fergeau 2015-08-13 08:00:18 UTC
(In reply to Bill Sanford from comment #8)
> I was trying a much bigger config with the password added in.

If you managed to get into a situation where setting the password was failing, I'd be very interested in knowing how to reproduce even if the steps to reproduce are bigger/longer. https://bugzilla.redhat.com/show_bug.cgi?id=1234197 seems to be caused by set_password failing, but so far I've only reproduced it in a full RHEV instance, not by running qemu by hand.


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