Bug 1138639
Summary: | fail to login spice session with password + expire time | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | chcheng <chcheng> | |
Component: | qemu-kvm | Assignee: | Gerd Hoffmann <kraxel> | |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 7.0 | CC: | flang, juzhang, knoel, marcandre.lureau, mazhang, michen, mrezanin, qzhang, rbalakri, sluo, virt-maint, xfu | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | qemu-kvm-1.5.3-80.el7 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1138647 1140975 (view as bug list) | Environment: | ||
Last Closed: | 2015-03-05 08:11:37 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: | ||||
Bug Blocks: | 1138647, 1140975 |
Description
chcheng
2014-09-05 10:56:48 UTC
This seems to be a qemu bug (qemu) expire_password spice +1000 Breakpoint 3, spice_server_set_ticket (s=0x55555633ec90, passwd=0x0, lifetime=1000, fail_if_connected=0, disconnect_if_connected=0) at reds.c:3403 3403 { (gdb) up #1 0x00005555558fa709 in qemu_spice_set_ticket (fail_if_conn=false, disconnect_if_conn=false) at ui/spice-core.c:891 891 return spice_server_set_ticket(spice_server, passwd, lifetime, qemu_spice_set_ticket() uses auth_passwd which is NULL when set via command line. I am not use to qemu-kvm RHEL patch process, Gerd, you are better placed to handle the patch thanks. Fix included in qemu-kvm-1.5.3-80.el7 Reproduce this bug as follow version: Host: # uname -r 3.10.0-195.el7.x86_64 # rpm -q qemu-kvm qemu-kvm-1.5.3-77.el7.x86_64 Guest: rhel7 Steps: 1.Boot guest with "spice port=5932,password=redhat " 2.set password expire time .. { "execute": "expire_password", "arguments": { "protocol": "spice", "time": "+60" } } 3.before the password expired, use virt-viewer to connect the guest: #remote-viewer spice://$hostIP:5932 Results: can't login with the correct password although the password is not expired. Verify this bug as follow version: Version: Host: # uname -r 3.10.0-195.el7.x86_64 # rpm -q qemu-kvm qemu-kvm-1.5.3-82.el7.x86_64 Guest:rhel7 Results: can login with the correct password . Addtional info: Test use win2012r2 guest on AMD machine,work well Version: # uname -r 3.10.0-201.el7.x86_64 # rpm -q qemu-kvm qemu-kvm-1.5.3-82.el7.x86_64 Guest:win2012r2 According to above test ,this bug has been fixed. 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/RHSA-2015-0349.html |