[
https://issues.apache.org/jira/browse/CLOUDSTACK-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13568763#comment-13568763
]
Wei Zhou commented on CLOUDSTACK-1088:
--------------------------------------
I have post a patch for this issue on reviewboard, you can visit :
https://reviews.apache.org/r/9254/
I have another question, from
http://incubator.apache.org/cloudstack/docs/api/apidocs-4.0.0/TOC_Root_Admin.html
we can see that EnableStaticNat is sync call, however, DisableStaticNat and
createIpForwardingRule and deleteIpForwardingRule are all async call.
When I use EnableStaticNat, I have to wait 10 seconds for the response.
Why not change EnableStaticNat to async call?
> EnableStaticNat error will clear the data in database
> -----------------------------------------------------
>
> Key: CLOUDSTACK-1088
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1088
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Affects Versions: 4.0.0
> Reporter: Wei Zhou
> Labels: integration-test
>
> The issue occur in two conditions
> (1) If I use two sessions or browsers to EnableStaticNat on CloudStack UI.
> one is successful, the other is failed. However, there is no ip in database.
> (2) If I use API call EnableStaticNat several times The first time succeed,
> the second failed, the third succeed. the result is
> success-fail-success-fail-success-fail, which it is not correct.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira