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.
Bug 1244566 - Cannot create a new guest in virt-manager
Summary: Cannot create a new guest in virt-manager
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-manager
Version: 7.2
Hardware: x86_64
OS: Unspecified
high
high
Target Milestone: alpha
: ---
Assignee: Pavel Hrdina
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 1246973 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-20 02:47 UTC by Xiaodai Wang
Modified: 2015-11-19 05:31 UTC (History)
6 users (show)

Fixed In Version: virt-manager-1.2.1-4.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 05:31:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2206 0 normal SHIPPED_LIVE virt-manager bug fix and enhancement update 2015-11-19 08:17:29 UTC

Description Xiaodai Wang 2015-07-20 02:47:10 UTC
Description of problem:
Cannot create a new guest in virt-manager

Version-Release number of selected component (if applicable):
virt-manager-1.2.1-3.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. Launch virt-manager.
2. Click the New button to create a new guest.

Actual result:
"Error: 'NoneType' object has no attribute 'guest'" pops up.

Expected result:
The create new guest window should pop up.

Additional information:

Comment 4 Pavel Hrdina 2015-07-20 07:20:49 UTC
Upstream patch proposed:

https://www.redhat.com/archives/virt-tools-list/2015-July/msg00084.html

Comment 5 Pavel Hrdina 2015-07-22 09:57:21 UTC
Upstream commit:

commit cce1f89a345e3837dc79b9aac8af9bfb476b326f
Author: Pavel Hrdina <phrdina>
Date:   Mon Jul 20 09:19:57 2015 +0200

    virtManager/create: update capsinfo sooner in set_conn_state
    
    We need to update/initialize the capsinfo sooner in that function to be
    able to call has_install_options().
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1244566
    
    Signed-off-by: Pavel Hrdina <phrdina>

Comment 7 Pavel Hrdina 2015-07-27 10:47:08 UTC
*** Bug 1246973 has been marked as a duplicate of this bug. ***

Comment 9 XiaoQing 2015-07-29 06:31:36 UTC
I can reproduce the bug with the build:
virt-manager-1.2.1-3.el7.noarch

Try to verify this bug with package:
virt-manager-1.2.1-4.el7.noarch

steps:

1. Launch virt-manager
2. Click the New button to create a new guest.

Result:
New VM window pops up and create a new guest successfully.
move this bug from ON_QA to VERIFIED.

Comment 11 errata-xmlrpc 2015-11-19 05:31:45 UTC
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-2206.html


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