H, I noted that in some of the 4.1 versions I have been testing setting a firewall rule fails. This seems to be when a router is not fully initialized, is it?
the stack trace seems to reflect this, but the error message just says "Failed to create firewall rule" or "Failed to delete firewall rule" com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is unreachable: Unable to apply ip association, virtual router is not in the right state at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyRules(VirtualNetworkApplianceManagerImpl.java:3445) at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.associatePublicIP(VirtualNetworkApplianceManagerImpl.java:3272) at com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.associatePublicIP(VpcVirtualNetworkApplianceManagerImpl.java:554) at com.cloud.network.element.VirtualRouterElement.applyIps(VirtualRouterElement.java:438) at com.cloud.network.NetworkManagerImpl.applyIpAssociations(NetworkManagerImpl.java:625) at com.cloud.network.NetworkManagerImpl.applyRules(NetworkManagerImpl.java:2380) at com.cloud.network.firewall.FirewallManagerImpl.applyRules(FirewallManagerImpl.java:500) at com.cloud.network.firewall.FirewallManagerImpl.applyFirewallRules(FirewallManagerImpl.java:630) at com.cloud.network.firewall.FirewallManagerImpl.applyIngressFirewallRules(FirewallManagerImpl.java:603) at org.apache.cloudstack.api.command.user.firewall.CreateFirewallRuleCmd.execute(CreateFirewallRuleCmd.java:124) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Can someone confirm my suspicion? thanks, Daan
