Bug 220029 - FV install fails with vncpasswd traceback
Summary: FV install fails with vncpasswd traceback
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: virt-manager (Show other bugs)
(Show other bugs)
Version: 5.0
Hardware: All Linux
Target Milestone: ---
: ---
Assignee: Daniel Berrange
QA Contact:
Keywords: Regression
Depends On:
TreeView+ depends on / blocked
Reported: 2006-12-18 15:33 UTC by Stephen Tweedie
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version: RC
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-02-08 01:50:56 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Sync passwd handling to upstream (1.74 KB, patch)
2006-12-18 21:36 UTC, Daniel Berrange
no flags Details | Diff

Description Stephen Tweedie 2006-12-18 15:33:10 UTC
Description of problem:
FV guest install currently fails with

libvir: Xen Daemon error : POST operation failed: (xend.err 'Error creating
domain: list.remove(x): x not in list')

logged on stderr, and a python traceback mentioning vncpasswd in xend.log.

Version-Release number of selected component (if applicable):


How reproducible:

Steps to Reproduce:
1. Install FV guest from virt-manager
Actual results:
At the last screen in the install wizard, pressing "finish" results in the error
and no guest is created.

Expected results:

Additional info:
Python traceback from xend.log:

[2006-12-18 15:19:35 xend.XendDomainInfo 3097] ERROR (XendDomainInfo:202) Domain
construction failed
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
195, in create
  File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line
1308, in initDomain
  File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 45, in create
    return findImageHandlerClass(imageConfig)(vm, imageConfig, deviceConfig)
  File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 75, in __init__
    self.configure(imageConfig, deviceConfig)
  File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 272, in
    self.dmargs += self.configVNC(imageConfig)
  File "/usr/lib64/python2.4/site-packages/xen/xend/image.py", line 402, in
    config.remove(['vncpasswd', vncpasswd_vmconfig])
ValueError: list.remove(x): x not in list
[2006-12-18 15:19:35 xend.XendDomainInfo 3097] DEBUG (XendDomainInfo:1459)
XendDomainInfo.destroy: domid=13
[2006-12-18 15:19:35 xend.XendDomainInfo 3097] DEBUG (XendDomainInfo:1467)
[2006-12-18 15:19:35 xend 3097] ERROR (SrvBase:88) Request create failed.
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/xen/web/SrvBase.py", line 85, in perform
    return op_method(op, req)
  File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDomainDir.py",
line 82, in op_create
    raise XendError("Error creating domain: " + str(ex))
XendError: Error creating domain: list.remove(x): x not in list

Comment 2 Daniel Berrange 2006-12-18 21:36:55 UTC
Created attachment 143943 [details]
Sync passwd handling to upstream

For some reason our previous  PVFB password patch also contained a fix to the
HVM password  code. So when we updated the PVFB, we lost this fix, which broke
HVM. The attached patch re-syncs our HVM password handling code with xen-devel

Comment 3 Stephen Tweedie 2006-12-18 22:26:01 UTC
Patch appears to fix the problem for me, thanks.

Comment 5 Jay Turner 2006-12-19 19:08:52 UTC
QE ack for RHEL5.

Comment 6 Daniel Berrange 2006-12-19 21:50:54 UTC
Fix in xen-3.0.3-18.el5....

* Mon Dec 18 2006 Rik van Riel <riel@redhat.com> - 3.0.3-18.el5
- fix keeping track of HVM vnc password (rhbz#218050)

$ brew latest-pkg dist-5E xen
Build                                     Tag                   Built by
----------------------------------------  --------------------  ----------------
xen-3.0.3-18.el5                          dist-5E               riel

Comment 7 RHEL Product and Program Management 2007-02-08 01:50:56 UTC
A package has been built which should help the problem described in 
this bug report. This report is therefore being closed with a resolution 
of CURRENTRELEASE. You may reopen this bug report if the solution does 
not work for you.

Note You need to log in before you can comment on or make changes to this bug.