[
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)