Re: [Question] GUI and failed async commands

2015-01-27 Thread Mike Tutkowski
Also, just for the sake of clarity, the "success" that the GUI reports here happens after the async part has completed (even though an exception was thrown from the "execute" method of the command object). On Tue, Jan 27, 2015 at 12:42 PM, Mike Tutkowski < mike.tutkow...@solidfire.com> wrote: > F

Re: [Question] GUI and failed async commands

2015-01-27 Thread Mike Tutkowski
FYI that I just logged an issue for it: https://issues.apache.org/jira/browse/CLOUDSTACK-8185 I marked it as Major because it could be quite confusing to end users, but maybe it should just be Minor. On Tue, Jan 27, 2015 at 12:33 PM, Nitin Mehta wrote: > Yeah it is somewhat confusing experienc

Re: [Question] GUI and failed async commands

2015-01-27 Thread Nitin Mehta
Yeah it is somewhat confusing experience. Async api has 2 parts - 1. Sync part - does basic checks, db creation/updates and returns job id 2. Async part - Does the actual business logic and contacting the resource layer. At some places UI returns on #1 itself reporting success, whereas in some cas

Re: [Question] GUI and failed async commands

2015-01-27 Thread Rohit Yadav
This probably is a bug that needs to be fixed in the UI. On Tuesday 27 January 2015 02:05 AM, Mike Tutkowski wrote: Hi, I noticed that the GUI reports what appears to be success when I try to delete a snapshot, but the snapshot is not really being deleted. I've tracked down where the snapshot-