Bug 1022795 - PRD35 - [RFE] Disk alias recycling in web-admin portal
Summary: PRD35 - [RFE] Disk alias recycling in web-admin portal
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: RFEs
Version: 3.2.0
Hardware: Unspecified
OS: All
medium
medium
Target Milestone: ---
: 3.5.0
Assignee: Tal Nisan
QA Contact: Kevin Alon Goldblatt
URL:
Whiteboard: storage
Depends On: 1083312
Blocks: 1122932 rhev3.5beta 1156165
TreeView+ depends on / blocked
 
Reported: 2013-10-24 05:07 UTC by Murray Ketchion
Modified: 2019-04-28 10:42 UTC (History)
16 users (show)

Fixed In Version: vt2.2
Doc Type: Enhancement
Doc Text:
Previously, when creating a virtual machine disk, the Administration Portal suggested a default disk alias consisting of 'VMname+_disk+number'. The number came from the total amount of virtual machines disks plus 1. For example, for a virtual machine name 'V1' with 3 existing disks, the suggested name was'V1_disk4. However, the suggestion mode did not recycle disk aliases correctly. If a disk was deleted, the number was not reused. With this update, the suggestion mode recycled the unused numbers to form new virtual machine disk aliases.
Clone Of:
: 1083312 1122932 (view as bug list)
Environment:
Last Closed: 2015-02-11 17:55:37 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:
scohen: Triaged+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 541273 0 None None None Never
Red Hat Product Errata RHSA-2015:0158 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Virtualization Manager 3.5.0 2015-02-11 22:38:50 UTC
oVirt gerrit 24061 0 None None None Never
oVirt gerrit 31931 0 None None None Never

Description Murray Ketchion 2013-10-24 05:07:53 UTC
Description of problem:
Disk alias recycling in web-admin portal

Version-Release number of selected component (if applicable):
3.2

How reproducible:
Always

Steps to Reproduce:
1) Create VM with single disk.
(Disk Tab shows disk server_Disk1)
2) Add another disk.
(Disk Tab shows disk server_Disk1 and server_Disk2)
3) Delete orginal disk
(Disk Tab shows disk server_Disk2)
4) Add another disk
(Disk Tab shows disk server_Disk2 and server_Disk2)

Actual results:
(Disk Tab shows disk server_Disk2 and server_Disk2)

Expected results:
Disk creation dialog provides warning and does not permit two disks of the same alias.  Perhaps suggests new alias based on an incremental counter.

Additional info:

Comment 5 Ayal Baron 2013-10-27 08:49:23 UTC
Disk aliases are not unique by design.
There is for example no reason to limit 2 disks attached to different VMs from having the same alias (e.g. disk1).
Preventing dups would mean that you could not detach both of these disks without changing the alias of at least one of them which seems a bit limiting.

However, when giving an automatic alias to a disk attached to a vm, it should not be the same as another disk that is already attached.

Comment 11 Aharon Canan 2014-08-21 13:42:33 UTC
Failed basic flow - no recycling.

Steps to Reproduce:
1) Create VM with single disk.
(Disk Tab shows disk server_Disk1)
2) Add another disk.
(Disk Tab shows disk server_Disk1 and server_Disk2)
3) Delete orginal disk
(Disk Tab shows disk server_Disk2)
4) Add another disk

results - 
we got server_Disk3 instead of server_Disk1 again.

Comment 13 Aharon Canan 2014-09-14 06:08:42 UTC
verified using vt2.2

https://tcms.engineering.redhat.com/run/163712/

Comment 17 errata-xmlrpc 2015-02-11 17:55:37 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/RHSA-2015-0158.html


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