Bug 669741 - virt-manager: improve wording if reusing an existing storage path
Summary: virt-manager: improve wording if reusing an existing storage path
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-manager
Version: 6.0
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Cole Robinson
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-14 15:35 UTC by Alexander Hass
Modified: 2011-05-19 13:47 UTC (History)
7 users (show)

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


Attachments (Terms of Use)
virt-manager screen shots (87.29 KB, application/zip)
2011-01-14 15:35 UTC, Alexander Hass
no flags Details


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 Alexander Hass 2011-01-14 15:35:08 UTC
Created attachment 473548 [details]
virt-manager screen shots

Changing, i.e. extending, the size of an already existing virtual hard disk (15 GB) of a KVM image does not seem to be possible. Therefore removing the existing hard disk and creating a new one (50 GB) via the GUI as shown in the attached screen shots.
It is recognised that the default path for the hard disk is already existing and whether it should be used or not.
After confirming with <yes>, silently the old image size (15 GB) is taken - and the previously entered new image size is silently discarded again.

After manually deleting the image in the file system a new virtual hard disk can be created with the desired size.

Please adapt the work flow, e.g. by adding an option in the second screen whether the old file should be removed from the file system as well or not.

# rpm -qf `which virt-manager`
virt-manager-0.8.4-8.el6.noarch

Comment 2 Cole Robinson 2011-02-22 14:33:22 UTC
Thanks for the report.

I don't want to add a 'delete' option to the disk wizard, we shouldn't be mixing delete operations in with an 'add' dialog.

The dialog should be more explicit that you aren't just reusing a 'path'  but the actual 'storage', so the wording should be improved.

Comment 3 Cole Robinson 2011-03-10 16:40:22 UTC
Fixed in virt-manager-0.8.6-3.el6

Comment 5 Huming Jiang 2011-03-17 05:03:47 UTC
Verfied it on build :
virt-manager-0.8.6-3.el6.noarch
libvirt-0.8.7-13.el6.x86_64
qemu-kvm-0.12.1.2-2.150.el6.x86_64
kernel-2.6.32-120.el6.x86_64

Steps:
1. Delete an existed guest(for example, rrr), uncheck 'Delete the associated storage file';

2. Create a new guest, with the name 'rrr', leave the other steps default;

3. After the step 'Create a disk image on the computer's hard drive', an warning message dialog pop-up, with the message below:

'The following storage already exists, but is not in use by any virtual machine:

/var/lib/libvirt/images/rrr.img

Would you like to reuse this storage?'

4. Both 'yes' or 'no' are OK for the new guest.

Verification is passed.

Comment 6 errata-xmlrpc 2011-05-19 13:47:37 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.