Bug 1138647

Summary: fail to login spice session with password + expire time
Product: Red Hat Enterprise Linux 6 Reporter: chcheng <chcheng>
Component: qemu-kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.6CC: cfergeau, chayang, dblechte, desktop-qa-list, jen, juzhang, knoel, marcandre.lureau, mazhang, michen, mkenneth, qzhang, rbalakri, rh-spice-bugs, rpacheco, virt-maint, xfu
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: qemu-kvm-0.12.1.2-2.455.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1138639 Environment:
Last Closed: 2015-07-22 06:07:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1138639, 1140975    
Bug Blocks:    

Comment 2 Marc-Andre Lureau 2014-09-05 12:47:48 UTC
Sent fix upstream:
http://lists.gnu.org/archive/html/qemu-devel/2014-09/msg01207.html

Comment 3 chcheng 2014-09-12 06:44:31 UTC
RHEL6.5 also hit it, so it is not Regression:
# rpm -qa | grep qemu
qemu-img-0.12.1.2-2.415.el6.x86_64
qemu-kvm-0.12.1.2-2.415.el6.x86_64
qemu-kvm-tools-0.12.1.2-2.415.el6.x86_64

Comment 4 Marc-Andre Lureau 2014-10-07 09:45:43 UTC
I am not use to qemu-kvm RHEL patch process, Gerd, you are better placed to handle the patch thanks.

Comment 6 Jeff Nelson 2015-02-20 18:11:01 UTC
Patch posted for review.

Comment 7 Jeff Nelson 2015-03-03 22:05:34 UTC
Fix included in qemu-kvm-0.12.1.2-2.455.el6

Comment 9 langfang 2015-03-05 08:27:30 UTC
Reproduce this bug as follow version:
Host:
# uname -r
2.6.32-541.el6.x86_64
# rpm -q qemu-kvm
qemu-kvm-0.12.1.2-2.454.el6.x86_64

Guest:rhel6

Steps:
1.Prepare a spice guest,set password for spice:
#...-spice port=5932,password=redhat

2.set password expire time as 1000 sec in qemu:
#expire_password  spice +1000

3.before the password expired, use virt-viewer to connect the guest:
#remote-viewer spice://$hostIP:3000

Actual results:
The password is required, but can't login with the correct password 

Verify this bug as follow verwsion:

Host:
# uname -r
2.6.32-541.el6.x86_64
# rpm -q qemu-kvm
qemu-kvm-0.12.1.2-2.456.el6.x86_64

Guest:rhel6

Steps as same as reproduce

Results:

password is required, and can login guest.

According to above test ,this bug has been fixed.And i will set this bug as verified.

Comment 11 errata-xmlrpc 2015-07-22 06:07:31 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://rhn.redhat.com/errata/RHBA-2015-1275.html