Bug 727841
Summary: | Invalid JSON syntax when spice password is set | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Marian Krcmarik <mkrcmari> | ||||
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.2 | CC: | berrange, eblake | ||||
Target Milestone: | rc | Keywords: | Regression | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-08-03 12:12:30 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Marian Krcmarik
2011-08-03 11:44:40 UTC
Please provide the /var/log/libvirt/libvirtd.log file for the host, so that we can see the JSON data sent to QEMU libvirtd.log 13:50:45.887: 31759: debug : virJSONValueToString:1102 : result={"error":{"class":"JSONParsing","desc":"Invalid JSON syntax","data":{}}} 13:50:45.887: 31759: debug : qemuMonitorJSONCheckError:306 : unable to execute QEMU command {"execute":"__com.redhat_set_password","arguments":{"protocol":"spice","password":"12345","connected":null,"expiration":195},"id":"libvirt-5"}: {"error":{"class":"JSONParsing","desc":"Invalid JSON syntax","data":{}}} 13:50:45.887: 31759: error : qemuMonitorJSONCheckError:317 : internal error unable to execute QEMU command '__com.redhat_set_password': Invalid JSON syntax 13:50:45.887: 31759: debug : qemuProcessStop:3082 : Shutting down VM 'WinXP' pid=31897 migrated=0 This shows the flaw:
> {"execute":"__com.redhat_set_password","arguments" {"protocol":"spice","password":"12345","connected":null,"expiration":195},"id":"libvirt-5"}:
the 'connected' attribute is 'null' which is not a valid string. THis is introduced by the custom patch
libvirt-Support-password-expiry-and-connected-in-the-QEMU-driver.patch
which was not rebased correctly for libvirt 0.9.4
Known issue; see bug 707212 comment 14 *** This bug has been marked as a duplicate of bug 707212 *** Created attachment 516503 [details]
Fix null parameter
(In reply to comment #4) > Known issue; see bug 707212 comment 14 Good, In that case this build should not pass QE consumption and should be mentioned in Acceptance testing results. Libvirt QE, please make sure for next time. As well as it's regression between libvirt-0.9.4-0rc1.2 and libvirt-0.9.4-0rc2. This bug report was to make sure It will really get in next realese. Thanks. |