[ https://issues.apache.org/jira/browse/CLOUDSTACK-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13568474#comment-13568474 ]
Prasanna Santhanam commented on CLOUDSTACK-1088: ------------------------------------------------ As you pointed the result boolean flag is improperly used. This affects the 4.1.0 upcoming release as well. Are you able to post a patch via reviewboard with the fix? > 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 > > 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