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 619894 - customized settings are not remembered if first attempt fails to create VM
Summary: customized settings are not remembered if first attempt fails to create VM
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-manager
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Cole Robinson
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-30 19:44 UTC by Eric Blake
Modified: 2011-05-19 13:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 13:46:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0637 0 normal SHIPPED_LIVE virt-manager bug fix and enhancement update 2011-05-18 17:55:47 UTC

Description Eric Blake 2010-07-30 19:44:02 UTC
Description of problem:
I tried to use virt-manager to create a new VM with storage located on NFS.  I also customized the settings (to select vga instead of cirrus for the video adapter).  The first attempt failed, because of SELinux, so I backed up a screen, fixed the selinux settings, then went forward again, but my customizations were lost and I had to repeat them.

Version-Release number of selected component (if applicable):
virt-manager-0.8.4-7.el6.noarch


How reproducible:
always

Steps to Reproduce:
1. as root, run setsebool virt_use_nfs 0
2. Start virt-manager, and connect to a host
3. Start to create a new domain
4. On step 4, select managed storage, and select a disk image on an NFS path
5. On step 5, check Customize before hitting finish
6. Make a customization, such as changing video to vga, and apply, then hit the check mark to start the install
7. The install will fail because the image can't be accessed and kick you back to step 5
8. run setsebool virt_use_nfs 1
9. Again, check customize, and notice that the customization was lost
  
Actual results:
customization is lost every time that creation fails and you get kicked back to step 5

Expected results:
customization should be remembered - if creation fails, and I correct the root cause of the failure, then continuing from step 5 should remember what I already changed

Additional info:

Comment 1 Eric Blake 2010-07-30 19:44:44 UTC
Not a show-stopper for 6.0.

Comment 2 Cole Robinson 2010-12-07 22:10:01 UTC
Fixed upstream now with a combination of virt-manager and virtinst commits, though we should get it all for 'free' with the rebase.

Comment 3 Cole Robinson 2011-01-14 22:16:31 UTC
Fixed in virt-manager-0.8.6-1.el6

Comment 5 Min Zhan 2011-01-17 12:29:39 UTC
Now customization can be remembered and installation is going well. So verified with passed in virt-manager-0.8.6-1.el6

# uname -a
Linux dhcp-65-85.nay.redhat.com 2.6.32-99.el6.x86_64 #1 SMP Fri Jan 14 10:46:00
EST 2011 x86_64 x86_64 x86_64 GNU/Linux

kernel-2.6.32-99.el6.x86_64
qemu-kvm-0.12.1.2-2.129.el6.x86_64
libvirt-0.8.7-1.el6.x86_64

Comment 6 errata-xmlrpc 2011-05-19 13:46:39 UTC
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 therefore 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/RHBA-2011-0637.html


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