Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Partly reproduce this bug with old qemu-kvm, then test on fixed version.
For the old version, qemu-kvm set_passwd silent fails when sasl is enabled.
qemu-kvm-0.12.1.2-2.428.el6.x86_64
{"QMP": {"version": {"qemu": {"micro": 1, "minor": 12, "major": 0}, "package": "(qemu-kvm-0.12.1.2)"}, "capabilities": []}}
{"execute":"qmp_capabilities"}
{"return": {}}
{ "execute": "set_password", "arguments": { "protocol": "spice", "password": "secret" } }
{"return": {}}
For the fixed version, qmp throw an error.
{"QMP": {"version": {"qemu": {"micro": 1, "minor": 12, "major": 0}, "package": "(qemu-kvm-0.12.1.2-2.454.el6)"}, "capabilities": []}}
{"execute":"qmp_capabilities"}
{"return": {}}
{ "execute": "set_password", "arguments": { "protocol": "spice", "password": "secret" } }
{"error": {"class": "SetPasswdFailed", "desc": "Could not set password", "data": {}}}
So this bug has been fixed.
If any problem please let me know.
Thanks,
Mazhang.
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
Description of problem: spice connection break while set_password with sasl enabled. Version-Release number of selected component (if applicable): Host: qemu-kvm-tools-0.12.1.2-2.428.el6.x86_64 qemu-kvm-0.12.1.2-2.428.el6.x86_64 qemu-img-0.12.1.2-2.428.el6.x86_64 gpxe-roms-qemu-0.9.7-6.11.el6.noarch qemu-kvm-debuginfo-0.12.1.2-2.428.el6.x86_64 Client: virt-viewer-0.6.0-9.el6.x86_64 How reproducible: always Steps to Reproduce: 1.Boot vm with sasl enabled. /usr/libexec/qemu-kvm \ -M pc \ -cpu Nehalem \ -m 1G \ -smp 4,sockets=2,cores=2,threads=1,maxcpus=160 \ -enable-kvm \ -name rhel6.6 \ -uuid 990ea161-6b67-47b2-b803-19fb01d30d12 \ -smbios type=1,manufacturer='Red Hat',product='RHEV Hypervisor',version=el6,serial=koTUXQrb,uuid=feebc8fd-f8b0-4e75-abc3-e63fcdb67170 \ -k en-us \ -rtc base=localtime,clock=host,driftfix=slew \ -nodefaults \ -monitor stdio \ -qmp tcp:0:6666,server,nowait \ -boot menu=on \ -chardev socket,id=seabios,path=/tmp/seabios,server,nowait \ -device isa-debugcon,chardev=seabios,iobase=0x402 -device sga \ -serial unix:/tmp/monitor-unix,server,nowait \ -drive file=/home/rhel7-64.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none,werror=stop,rerror=stop,aio=threads \ -device virtio-blk-pci,scsi=off,bus=pci.0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=0 \ -usb \ -device usb-tablet \ -vga qxl \ -spice port=5900,sasl,disable-ticketing \ 2. Connect to guest. 3. set password. { "execute": "set_password", "arguments": { "protocol": "spice", "password": "secret" } } {"timestamp": {"seconds": 1404267762, "microseconds": 528864}, "event": "SPICE_DISCONNECTED", "data": {"server": {"port": "5900", "family": "ipv4", "host": "10.66.111.180"}, "client": {"port": "50043", "family": "ipv4", "host": "10.66.82.225"}}} {"timestamp": {"seconds": 1404267762, "microseconds": 530282}, "event": "__com.redhat_SPICE_DISCONNECTED", "data": {"server": {"auth": "none", "port": "5900", "family": "ipv4", "host": "10.66.111.180"}, "client": {"port": "50041", "family": "ipv4", "host": "10.66.82.225"}}} {"timestamp": {"seconds": 1404267762, "microseconds": 530526}, "event": "SPICE_DISCONNECTED", "data": {"server": {"port": "5900", "family": "ipv4", "host": "10.66.111.180"}, "client": {"port": "50041", "family": "ipv4", "host": "10.66.82.225"}}} {"return": {}} {"timestamp": {"seconds": 1404267762, "microseconds": 530990}, "event": "SPICE_DISCONNECTED", "data": {"server": {"port": "5900", "family": "ipv4", "host": "10.66.111.180"}, "client": {"port": "50044", "family": "ipv4", "host": "10.66.82.225"}}} {"timestamp": {"seconds": 1404267762, "microseconds": 531270}, "event": "SPICE_DISCONNECTED", "data": {"server": {"port": "5900", "family": "ipv4", "host": "10.66.111.180"}, "client": {"port": "50042", "family": "ipv4", "host": "10.66.82.225"}}} Actual results: Connection break. Expected results: Throw an error. Additional info: