com.cloud.exception.ResourceUnavailableException: Resource [Site2SiteVpnConnection:5] is unreachable: Failed to apply site-to-site VPN

cloudstack-users | Somesh Naidu | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    RE: unable to create VPN connection for Site-To-Site VPN

    cloudstack-users | 1 year ago | Somesh Naidu
    com.cloud.exception.ResourceUnavailableException: Resource [Site2SiteVpnConnection:5] is unreachable: Failed to apply site-to-site VPN

    Root Cause Analysis

    1. com.cloud.exception.ResourceUnavailableException

      Resource [Site2SiteVpnConnection:5] is unreachable: Failed to apply site-to-site VPN

      at com.cloud.network.vpn.Site2SiteVpnManagerImpl.startVpnConnection()
    2. com.cloud.network
      Site2SiteVpnManagerImpl.startVpnConnection
      1. com.cloud.network.vpn.Site2SiteVpnManagerImpl.startVpnConnection(Site2SiteVpnManagerImpl.java:345)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      3 frames
    5. org.apache.cloudstack
      EventUtils$EventInterceptor.invoke
      1. org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106)
      1 frame
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
      1 frame
    7. com.cloud.event
      ActionEventInterceptor.invoke
      1. com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
      1 frame
    8. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
      2. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      4. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      4 frames
    9. com.sun.proxy
      $Proxy160.startVpnConnection
      1. com.sun.proxy.$Proxy160.startVpnConnection(Unknown Source)
      1 frame
    10. org.apache.cloudstack
      CreateVpnConnectionCmd.execute
      1. org.apache.cloudstack.api.command.user.vpn.CreateVpnConnectionCmd.execute(CreateVpnConnectionCmd.java:153)
      1 frame
    11. com.cloud.api
      ApiAsyncJobDispatcher.runJob
      1. com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
      2. com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
      2 frames
    12. org.apache.cloudstack
      AsyncJobManagerImpl$5.run
      1. org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:537)
      2. org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
      3. org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
      4. org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
      5. org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
      6. org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
      7. org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:494)
      7 frames
    13. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      5. java.lang.Thread.run(Thread.java:744)
      5 frames