Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
When I try to add an IDE disk to a running vm, I get the following warning:
"This device could not be attached to the running machine. Would you like to make the device available after the next VM shutdown?"
And then I click "yes", but it's not added to the VM after shutdown or reboot.
After changing back to "yes_no", it works fine:
<snip>
if attach_err:
# res = self.err.show_err(
res = self.err.yes_no(
_("Are you sure you want to add this device?"),
# attach_err[0] + "\n\n" + attach_err[1],
text2=(
_("This device could not be attached to the running machine. "
"Would you like to make the device available after the "
"next VM shutdown?")))
# dialog_type=gtk.MESSAGE_WARNING,
# buttons=gtk.BUTTONS_YES_NO)
</snip>
So I suppose the problem existing in show_err.
Version-Release number of selected component (if applicable):
virt-manager-0.8.6-1.el6.noarch
and virt-manager-0.8.6-3.el6.noarch also has this problem.
But virt-manager-0.8.4-8.el6 can works fine.
How reproducible:
100%
Steps to Reproduce:
1. Add an IDE disk to a running VM
2. Click the button "yes" in the warning dialogue
3. Shutdown the VM
Actual results:
The IDE disk is not added
Expected results:
The IDE disk should be added
Additional info:
Verified it, Passed on virt-manager-0.8.6-4
#uname -a
Linux rhel6u1 2.6.32-131.0.1.el6.x86_64 #1 SMP Tue Apr 12 16:40:23 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
virt-manager-0.8.6-4.el6.noarch
libvirt-0.8.7-18.el6.x86_64
qemu-kvm-0.12.1.2-2.158.el6.x86_64
Steps:
1. Add an IDE disk to a running VM
2. Click the button "yes" in the warning dialogue
3. Shutdown the VM
4. The IDE disk is added.
5. Run the VM again
6. Add an IDE disk to a running VM
7. Click the button "no" in the warning dialogue
8. Shutdown the VM
9. The IDE disk is not added.
And for IDE cdrom, Floppy disk are all work well.
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
Description of problem: When I try to add an IDE disk to a running vm, I get the following warning: "This device could not be attached to the running machine. Would you like to make the device available after the next VM shutdown?" And then I click "yes", but it's not added to the VM after shutdown or reboot. After changing back to "yes_no", it works fine: <snip> if attach_err: # res = self.err.show_err( res = self.err.yes_no( _("Are you sure you want to add this device?"), # attach_err[0] + "\n\n" + attach_err[1], text2=( _("This device could not be attached to the running machine. " "Would you like to make the device available after the " "next VM shutdown?"))) # dialog_type=gtk.MESSAGE_WARNING, # buttons=gtk.BUTTONS_YES_NO) </snip> So I suppose the problem existing in show_err. Version-Release number of selected component (if applicable): virt-manager-0.8.6-1.el6.noarch and virt-manager-0.8.6-3.el6.noarch also has this problem. But virt-manager-0.8.4-8.el6 can works fine. How reproducible: 100% Steps to Reproduce: 1. Add an IDE disk to a running VM 2. Click the button "yes" in the warning dialogue 3. Shutdown the VM Actual results: The IDE disk is not added Expected results: The IDE disk should be added Additional info: