Bug 1524319 - Able to create multiple volume backup with same name
Summary: Able to create multiple volume backup with same name
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: GA
: cfme-future
Assignee: Marek Aufart
QA Contact: Ola Pavlenko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-11 09:08 UTC by Nikhil Dhandre
Modified: 2018-03-09 15:00 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-08 19:01:02 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
showing multiple backup with same name (79.30 KB, image/png)
2017-12-11 09:08 UTC, Nikhil Dhandre
no flags Details

Description Nikhil Dhandre 2017-12-11 09:08:51 UTC
Created attachment 1365828 [details]
showing multiple backup with same name

Description of problem:
-----------------------
When I tried to create a backup of 'available' storage volume; It creates properly with no error in the log. After that, I tried to create a backup with the same name again for the same volume; log shows me an error but backup created with the same name.

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



How reproducible:
-----------------
always

Steps to Reproduce:
------------------
1. lets, Create a backup with name 'x_backup'
2. Now create again backup with the same name.

Actual results:
---------------
Backup created and showing in UI(Attaching Snap) with the same name.


Expected results:
----------------
It should not allow creating backup with the same name. 

Additional info:
----------------
[0] Attaching Snapshot
[1] log : http://pastebin.test.redhat.com/539443

Comment 2 Bronagh Sorota 2018-01-26 18:48:02 UTC
hi Nikhil,
Which provider is this for?

Thanks
Bronagh

Comment 3 Bronagh Sorota 2018-01-26 20:04:15 UTC
Hi Nikhil,

Regardless of the Provider and like almost all inventory types, it is the ID that determines uniqueness. This means multiple cloud volume backups can exist with the same name.
From the screenshot attached it looks like this ticket refers to Openstack (not the cloud providers I work with) so I will let Marek chime in on that and take a look at the error in the log.


Bronagh

Comment 6 Ido Ovadia 2018-01-31 15:42:11 UTC
As described on https://bugzilla.redhat.com/show_bug.cgi?id=1524319#c0

   Expected results:
   -----------------
   It should not allow creating backup with the same name. 

It is not correct and not a bug, OpenStack allows creating backups with the same names (with different IDs).

Comment 7 Sam Lucidi 2018-03-08 19:01:02 UTC
As mentioned in previous comments, this is expected behavior-- the same name is allowed since uniqueness is determined by ID.


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