Bug 252359
Summary: | Prompted for VNC password after live migration | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Jason Solan <jsolan> | ||||
Component: | xen | Assignee: | Chris Lalancette <clalance> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.1 | CC: | xen-maint | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHEA-2007-0635 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-11-07 17:11:24 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
Jason Solan
2007-08-15 16:19:49 UTC
I'm fairly certain I know what this is now. Basically when you do an "xm create" of a guest with an empty vncpasswd, you get *no* entry in xenstore (you can check by doing "xenstore-ls | grep -i vnc", and seeing that there is no "vncpasswd" entry). However, after a live migrate, if you do the same check, you will see a "vncpasswd" with an empty string. My guess is that because of this, the QEMU device model actually gets vncpasswd of blank (or something along those lines), when it really should be empty (== NULL). I'm not quite sure how to fix it yet, but that's the general problem. Chris Lalancette Arg, never mind my last comment. It seems that the vncpasswd is getting set to 'None', which is the python None. We fixed this before in the PVFB stuff, but it seems to have cropped up again with the HVM stuff. I just need to find out what we did to fix it last time. Chris Lalancette Created attachment 174361 [details]
Simple patch that seems to fix it
Applying this patch to the xen package seems to fix the issue; the basic
problem was that we were adding a bogus "None" in the image string, which
includes vncpasswd. This made it so that when you reach the remote side, it
was looking for a password of "None" (without the quotes). That is, by the
way, the workaround.
Chris Lalancette
Fix built into * Fri Aug 31 2007 Daniel P. Berrange <berrange> - 3.0.3-38.el5 - Avoid bogus VNC password prompts after migrate/restore (rhbz #252359) An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2007-0635.html |