Created attachment 701188 [details] screenshot Description of problem: --------------------------------------- When trying to create a volume with name 'volume' from the UI, the action fails with the following error message - "Error while executing action Create Gluster Volume: Unexpected exception" Volume creation with the name 'volume' is not permitted from gluster CLI - [root@localhost yum.repos.d]# gluster volume create volume 10.70.35.109:/opt/gluster/b1 "volume" cannot be the name of a volume. Usage: volume create <NEW-VOLNAME> [stripe <COUNT>] [replica <COUNT>] [device vg] [transport <tcp|rdma|tcp,rdma>] <NEW-BRICK> ... The UI should tell the user in a similar way that naming a volume as 'volume' is not permitted. Version-Release number of selected component (if applicable): Red Hat Storage Console Version: 2.1.0-0.qa6.el6rhs How reproducible: always Steps to Reproduce: 1. Create a volume from the UI with the name 'volume' Actual results: the above described error message is seen. Expected results: The UI should tell the user that the name is not permitted. Additional info: Find screenshot attached.
engien and vdsm logs please
Created attachment 704134 [details] engine logs
Created attachment 704135 [details] vdsm logs from server 1
Created attachment 704136 [details] vdsm logs from server 2
verified in 2.1.0-0.qa7.el6rhs
Re-opening this bug as the error message now says - Error while executing action Create Gluster Volume: Internal Engine Error The Console should convey to the user that 'volume' is not a permitted volume name, similar to the way gluster does.
As this bug has been identified as known issue, please add the DocText.
While looking at updating doc text, noticed that this bug has been fixed. It now returns error message like this: Error while executing action Create Gluster Volume: Command execution failed error: "volume" cannot be the name of a volume_ Usage: volume create [stripe ] [replica ] [device vg] [transport ] ___ [force] return code: 1 Moving to ON_QA
(In reply to Sahina Bose from comment #9) > While looking at updating doc text, noticed that this bug has been fixed. Please set the appropriate flags, whiteboard and keywords.
Tested with Red Hat Storage Console Version: 2.1.2-0.32.el6rhs The following message is seen when 'volume' is used as the name of a volume. Error while executing action Create Gluster Volume: Command execution failed error: "volume" cannot be the name of a volume_ Usage: volume create [stripe ] [replica ] [device vg] [transport ] ___ [force] return code: 1 The UI now conveys to the user that volume cannot be the name of a volume. But the gluster CLI usage information and return code is not of use to a user of RHSC and should not be displayed. Logged BZ#1048096 for this. Marking this as VERIFIED.
Please review the edited DocText and signoff.
Doctext ok
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. http://rhn.redhat.com/errata/RHEA-2014-0208.html