thanks, it thought it didn;t have a plugable nic. I fixed it.
I read this advice in Donals blog on logging to, very helpful.

regards,


On Thu, Aug 8, 2013 at 7:06 PM, Alex Huang <alex.hu...@citrix.com> wrote:
> Dan,
>
> There should be a warning right above that exception.  What does that warning 
> say?  It gives the actual state of the router that it thinks it's in.
>
> --Alex
>
>> -----Original Message-----
>> From: Daan Hoogland [mailto:daan.hoogl...@gmail.com]
>> Sent: Thursday, August 8, 2013 4:13 AM
>> To: dev
>> Subject: anyone please: firewall rules application
>>
>> I feel I am on a ghost hunt.
>>
>> On Thu, Aug 8, 2013 at 10:32 AM, Daan Hoogland
>> <daan.hoogl...@gmail.com> wrote:
>> > 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.applyRule
>> s
>> > (VirtualNetworkApplianceManagerImpl.java:3445)
>> > at
>> >
>> com.cloud.network.router.VirtualNetworkApplianceManagerImpl.associateP
>> > ublicIP(VirtualNetworkApplianceManagerImpl.java:3272)
>> > at
>> >
>> com.cloud.network.router.VpcVirtualNetworkApplianceManagerImpl.associ
>> a
>> > tePublicIP(VpcVirtualNetworkApplianceManagerImpl.java:554)
>> > at
>> >
>> com.cloud.network.element.VirtualRouterElement.applyIps(VirtualRouterE
>> > lement.java:438) at
>> >
>> com.cloud.network.NetworkManagerImpl.applyIpAssociations(NetworkMan
>> age
>> > rImpl.java:625) at
>> >
>> com.cloud.network.NetworkManagerImpl.applyRules(NetworkManagerImpl
>> .jav
>> > a:2380) at
>> > com.cloud.network.firewall.FirewallManagerImpl.applyRules(FirewallMana
>> > gerImpl.java:500) at
>> > com.cloud.network.firewall.FirewallManagerImpl.applyFirewallRules(Fire
>> > wallManagerImpl.java:630) at
>> > com.cloud.network.firewall.FirewallManagerImpl.applyIngressFirewallRul
>> > es(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:4
>> 37
>> > ) 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

Reply via email to