Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 1341197 - duplicates are not checked
Summary: duplicates are not checked
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Storage Console
Classification: Red Hat
Component: UI
Version: 2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3
Assignee: kamlesh
QA Contact: sds-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-31 12:48 UTC by Martin Kudlej
Modified: 2017-03-23 04:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-23 04:11:56 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Martin Kudlej 2016-05-31 12:48:48 UTC
Description of problem:
I've tried to create pool with same name and UI has allowed it. Then there was no error message, no failed task. There is only error message in Skyring log:
ERROR    storage.go:147 POST_Storages] admin:22c09efe-0b1e-41c0-81b4-bcc3c5c8f630-Storage entity: testpool already added

Version-Release number of selected component (if applicable):
ceph-ansible-1.0.5-15.el7scon.noarch
ceph-installer-1.0.11-1.el7scon.noarch
rhscon-ceph-0.0.18-1.el7scon.x86_64
rhscon-core-0.0.19-1.el7scon.x86_64
rhscon-ui-0.0.34-1.el7scon.noarch

How reproducible:
100%

Steps to Reproduce:
1. create cluster and pool
2. try to create pool with same name as in 1.

Actual results:
There are no checks for duplicates when user tries to create object(cluster, pool, rbd, user) with already existing name.

Expected results:
There should be proper error message in UI when user tries to create object(cluster, pool, rbd, user) with already existing name.


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