Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 96BC5104F0 for ; Mon, 28 Apr 2014 20:04:20 +0000 (UTC) Received: (qmail 11626 invoked by uid 500); 28 Apr 2014 20:04:19 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 11391 invoked by uid 500); 28 Apr 2014 20:04:19 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 11368 invoked by uid 500); 28 Apr 2014 20:04:17 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 11306 invoked by uid 99); 28 Apr 2014 20:04:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Apr 2014 20:04:16 +0000 Date: Mon, 28 Apr 2014 20:04:16 +0000 (UTC) From: "Wido den Hollander (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-4667) ceph:UI:Not showing proper error message while providing invalid values in addPrimaryStorage wizard MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-4667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13983476#comment-13983476 ] Wido den Hollander commented on CLOUDSTACK-4667: ------------------------------------------------ So yes, this is a problem. The fact is that we pass down a XML to libvirt and it tries to start the storage pool. That fails, but we don't get exact feedback. Might be an idea to test the credentials first using RADOS Java, that way we can give the user some more feedback. If that succeeds, then we add the pool to libvirt. > ceph:UI:Not showing proper error message while providing invalid values in addPrimaryStorage wizard > --------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-4667 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4667 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: UI > Affects Versions: 4.2.1 > Reporter: sadhu suresh > Assignee: Wido den Hollander > Priority: Minor > > Try to add the RBD based primary storage by proving invalid details like invalid "user name",authorization key,server and check the displayed error messgae > actual results: > its not shown proper error message and it shows "Failed to delete storage pool on host" and its misleading to end user. > http://localhost:8080/client/api?command=createStoragePool&scope=cluster&zoneid=72de9a30-4e59-4bf5-a82c-59f824e097b2&podid=0dadd3d1-6798-423b-b7fe-1ad5c42d6f5d&clusterid=b8aabe18-98b2-45e4-82b2-c38b04261eb7&name=test&url=rbd%3A%2F%2Fadmin%3AQVFCVjdBRlNzTG1aRUJBQW1HaXZBay9CVjFpTXZjYVJIUWZpWGc9PQ%3D%3D%40localhost%2Fbabu&response=json&sessionkey=GDka3Ul7UmsVtPnMthqKVxqn4cY%3D&_=1379089750610 > "{ "createstoragepoolresponse" : {"uuidList":[],"errorcode":530,"cserrorcode":9999,"errortext":"Failed to delete storage pool on host"} } -- This message was sent by Atlassian JIRA (v6.2#6252)