Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
4.3.0
-
Security Level: Public (Anyone can view this level - this is the default.)
-
Hyper-V, Advanced zone
Description
Create a network, deploy VM, acquire public IP
Try to enable VPN with the public IP
Fails with the below exception while trying to configure VPN Users:
2013-12-31 11:01:50,932 DEBUG [c.c.a.t.Request] (Job-Executor-34:ctx-9a90d7a7 ctx-a754a267) Seq 4-1479870573: Received: { Ans: , MgmtId: 280320865129348, via: 4, Ver: v1, Flags: 110,
{ UnsupportedAnswer } }
2013-12-31 11:01:50,932 ERROR [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-34:ctx-9a90d7a7 ctx-a754a267) Unable to start vpn: unable add users to vpn in zone 1 for account 3 on domR: r-23-VM due to Unsupported command /api/HypervResource/com.cloud.agent.api.routing.VpnUsersCfgCommand. Are you sure you got the right type of server?
2013-12-31 11:01:50,932 WARN [o.a.c.a.c.u.v.CreateRemoteAccessVpnCmd] (Job-Executor-34:ctx-9a90d7a7 ctx-a754a267) Exception:
com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is unreachable: Unable to start vpn: Unable to add users to vpn in zone 1 for account 3 on domR: r-23-VM due to Unsupported command /api/HypervResource/com.cloud.agent.api.routing.VpnUsersCfgCommand. Are you sure you got the right type of server?
at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRemoteAccessVpn(VirtualNetworkApplianceManagerImpl.java:2624)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy240.startRemoteAccessVpn(Unknown Source)
at com.cloud.network.element.VirtualRouterElement.startVpn(VirtualRouterElement.java:430)
at com.cloud.network.vpn.RemoteAccessVpnManagerImpl.startRemoteAccessVpn(RemoteAccessVpnManagerImpl.java:442)
at com.cloud.network.vpn.RemoteAccessVpnManagerImpl.startRemoteAccessVpn(RemoteAccessVpnManagerImpl.java:92)
at org.apache.cloudstack.api.command.user.vpn.CreateRemoteAccessVpnCmd.execute(CreateRemoteAccessVpnCmd.java:153)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
at com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJobDispatcher.java:109)
at com.cloud.api.ApiAsyncJobDispatcher$1.run(ApiAsyncJobDispatcher.java:66)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:63)
at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:522)
at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)