Bug: Create Firewall with rules sometimes fails because the firewall doesn't exist yet
daviboy opened this issue · 0 comments
Creating a Firewall and specifying the rules. Most of the time it works, but appears to be a race condition, as sometimes I get this:
org.dasein.cloud.CloudException: No such firewall: sg-84e123e1
at org.dasein.cloud.aws.network.SecurityGroup.authorize(SecurityGroup.java:95)
at org.dasein.cloud.aws.network.SecurityGroup.create(SecurityGroup.java:244)
at com.enstratus.networking.worker.firewall.CloudFirewallServices.createFirewall(CloudFirewallServices.java:351)
at com.enstratus.networking.FirewallServiceDelegate$CreateFirewallTask.call(FirewallServiceDelegate.java:313)
at com.enstratus.networking.FirewallServiceDelegate$CreateFirewallTask.call(FirewallServiceDelegate.java:264)
at com.enstratus.task.ExecutableWrapper.run(ExecutableWrapper.java:66)
at com.enstratus.task.ExecutingTaskServer$ExecutingTask.run(ExecutingTaskServer.java:887)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)