Bug 786672
Summary: | Previous guests can not display in virt-manager after updating to virt-manager-0.9.0-8.el6 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Daisy Wu <jwu> | ||||||
Component: | python-virtinst | Assignee: | Cole Robinson <crobinso> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | urgent | ||||||||
Version: | 6.3 | CC: | ajia, djasa, jwu, mnowak, mzhan, rwu, zpeng | ||||||
Target Milestone: | rc | Keywords: | TestBlocker | ||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-06-20 12:52:40 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
Daisy Wu
2012-02-02 06:11:01 UTC
Created attachment 558977 [details]
create new guest log
Created attachment 559003 [details]
Attach a patch to fix the issue.
Recently, libvirt add some new APIs to modify guest titles and description, but old guest hasn't any description information, so vm.get_description() will return None, the virt-manager change previous codes to use util.xml_escap() method to covert return result, however, return value is None type not string, obviously, virt-manager or virtinst need to add some judgement for input argument especially the string is None.
BTW, I don't know how to commit a virt-manager patch, so just attach the patch as a attachment.
Alex
(In reply to comment #3) > BTW, I don't know how to commit a virt-manager patch, so just attach the patch > as a attachment. I think I know this now :) > > Alex Patch for upstream: https://www.redhat.com/archives/virt-tools-list/2012-February/msg00007.html Alex, thanks for the patch. But as I mentioned on the mailing list, it's probably better if we just pull in the upstream virtinst change: http://git.fedorahosted.org/git?p=python-virtinst.git;a=commit;h=8f803765367dce3c9fe6da0d35d66fbbf6760c64 Reassigning to virtinst (In reply to comment #6) > Alex, thanks for the patch. But as I mentioned on the mailing list, it's > probably better if we just pull in the upstream virtinst change: Hi Cole, welcome, it's a little weird, I remember I have ever done the same change in virtinst, however, virt-manager doesn't work, I still can't see old guest, so I change this in virt-manager sides, I will check it again. Alex (In reply to comment #7) > Hi Cole, welcome, it's a little weird, I remember I have ever done the same > change in virtinst, however, virt-manager doesn't work, I still can't see old It indeed works well for me. *** Bug 788132 has been marked as a duplicate of this bug. *** *** Bug 788947 has been marked as a duplicate of this bug. *** Fixed in python-virtinst-0.600.0-7.el6 Verified this bug on python-virtinst-0.600.0-7.el6 and passed. Verify with kernel-2.6.32-220.el6.x86_64 python-virtinst-0.600.0-7.el6.noarch libvirt-0.9.10-0rc2.el6.x86_64 virt-manager-0.9.0-9.el6.x86_64 Steps: 1. Updated the python-virtinst and virt-manager. 2. Launch the virt-manager in terminal, no error message. 3. Check the previous guests displayed in virt-manager and works well. Change the status to Verified. Create new guest by virt-manager still works well. 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. http://rhn.redhat.com/errata/RHBA-2012-0784.html |