Project

General

Profile

Bug #9486

UI: Error message is not proper when pool creation fails due to duplicate name

Added by Kanagaraj Mayilsamy about 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

Steps to reproduce:

1. Go to pool list view
2. Create a new pool with name 'test1'
3. Try to create a another pool immediately with the same name 'test1'. This should be done before the pool which is created in the above step is listed in the ui.
4. "Unexpected Error 409" "

[object Object]
" is shown

The error should be "Pool with name test2 already exists"

pool_create.png View (49.1 KB) Kanagaraj Mayilsamy, 09/16/2014 12:12 AM

unexpected_error.png View (230 KB) Christina Meno, 09/26/2014 10:30 AM

History

#1 Updated by Kanagaraj Mayilsamy about 7 years ago

The error should be "Pool with name <name> already exists"

#2 Updated by Kanagaraj Mayilsamy about 7 years ago

Response from rest-api

{"name": ["Pool with name test3 already exists"]}

#3 Updated by Christina Meno about 7 years ago

  • Assignee set to Kanagaraj Mayilsamy

#4 Updated by Christina Meno about 7 years ago

I built a package with https://github.com/ceph/calamari-clients/pull/49
and still see this error on creation.

see new screenshot

#5 Updated by Kanagaraj Mayilsamy about 7 years ago

https://github.com/ceph/calamari-clients/pull/49 will just fix the error callback issue.

https://github.com/ceph/calamari-clients/pull/51 will fix the way the errors are shown.

This scenario which explained in this issue will not be applicable once pull-51 applied.

#6 Updated by Christina Meno about 7 years ago

  • Status changed from New to In Progress

#7 Updated by Christina Meno almost 7 years ago

  • Status changed from In Progress to Resolved

fixed in #7480

Also available in: Atom PDF