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
cases it waits till #2 gets over, not sure why this was done. Best would
be if some UI folks could explain the motivation behind this. Anyhow,
please do file a bug at Jira.

Thanks,
-Nitin

On 27/01/15 12:14 AM, "Rohit Yadav" <rohit.ya...@shapeblue.com> wrote:

>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-delete commands fails (as it should
>> fail in this test scenario) and an exception is thrown.
>>
>> If I try to delete the snapshot from CloudMonkey, I see the correct
>>error
>> message.
>>
>> If I try to delete the snapshot from the GUI, the GUI claims the command
>> was successful, but the snapshot is (as expected) not deleted.
>>
>> I wonder if this is a general GUI problem with regards to async commands
>> that fail.
>>
>> Does anyone know?
>>
>> Thanks!
>>
>
>--
>Regards,
>Rohit Yadav
>Software Architect, ShapeBlue
>M. +91 8826230892 | rohit.ya...@shapeblue.com
>Blog: bhaisaab.org | Twitter: @_bhaisaab
>PS. If you see any footer below, I did not add it :)
>Find out more about ShapeBlue and our range of CloudStack related services
>
>IaaS Cloud Design &
>Build<http://shapeblue.com/iaas-cloud-design-and-build//>
>CSForge ­ rapid IaaS deployment framework<http://shapeblue.com/csforge/>
>CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
>CloudStack Software
>Engineering<http://shapeblue.com/cloudstack-software-engineering/>
>CloudStack Infrastructure
>Support<http://shapeblue.com/cloudstack-infrastructure-support/>
>CloudStack Bootcamp Training
>Courses<http://shapeblue.com/cloudstack-training/>
>
>This email and any attachments to it may be confidential and are intended
>solely for the use of the individual to whom it is addressed. Any views
>or opinions expressed are solely those of the author and do not
>necessarily represent those of Shape Blue Ltd or related companies. If
>you are not the intended recipient of this email, you must neither take
>any action based upon its contents, nor copy or show it to anyone. Please
>contact the sender if you believe you have received this email in error.
>Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue
>Services India LLP is a company incorporated in India and is operated
>under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is
>a company incorporated in Brasil and is operated under license from Shape
>Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of
>South Africa and is traded under license from Shape Blue Ltd. ShapeBlue
>is a registered trademark.

Reply via email to