cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sibin John (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-9310) vpn user creation throwing error , but showing entry for the same user in VR console
Date Thu, 17 Mar 2016 12:46:33 GMT
Sibin John created CLOUDSTACK-9310:
--------------------------------------

             Summary: vpn user creation throwing error , but showing entry for the same user
in VR console
                 Key: CLOUDSTACK-9310
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9310
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: KVM, Virtual Router
    Affects Versions: 4.6.0, 4.7.1
         Environment: centos 6.7 
            Reporter: Sibin John
             Fix For: Future


I enabled vpn access to one of my network created in both cloudstack versions 4.6.0 and 4.7.1
.Its got enabled and when I tried to add vpn user its throwing error as : add vpn user failed
. In management server error log , I got error as below ,

2016-03-17 18:09:20,881 DEBUG [c.c.n.v.RemoteAccessVpnManagerImpl] (API-Job-Executor-78:ctx-d46bb041
job-1270 ctx-84f2718d) (logid:77b8f498) Applying vpn access to VpcVirtualRouter
2016-03-17 18:09:20,881 DEBUG [c.c.n.v.RemoteAccessVpnManagerImpl] (API-Job-Executor-78:ctx-d46bb041
job-1270 ctx-84f2718d) (logid:77b8f498) Applying vpn access to VirtualRouter
2016-03-17 18:09:20,884 DEBUG [o.a.c.n.t.BasicNetworkTopology] (API-Job-Executor-78:ctx-d46bb041
job-1270 ctx-84f2718d) (logid:77b8f498) APPLYING BASIC VPN RULES
2016-03-17 18:09:20,884 WARN  [o.a.c.n.t.BasicNetworkTopology] (API-Job-Executor-78:ctx-d46bb041
job-1270 ctx-84f2718d) (logid:77b8f498) Failed to add/remove VPN users: router not in running
state
2016-03-17 18:09:20,885 WARN  [c.c.n.v.RemoteAccessVpnManagerImpl] (API-Job-Executor-78:ctx-d46bb041
job-1270 ctx-84f2718d) (logid:77b8f498) Unable to apply vpn users
com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is unreachable:
Unable to assign ip addresses, domR is not in right state Stopped
        at org.apache.cloudstack.network.topology.BasicNetworkTopology.applyVpnUsers(BasicNetworkTopology.java:283)
        at com.cloud.network.element.VirtualRouterElement.applyVpnUsers(VirtualRouterElement.java:441)
        at com.cloud.network.vpn.RemoteAccessVpnManagerImpl.applyVpnUsers(RemoteAccessVpnManagerImpl.java:529)
        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:606)
        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 com.sun.proxy.$Proxy232.applyVpnUsers(Unknown Source)
        at org.apache.cloudstack.api.command.user.vpn.AddVpnUserCmd.execute(AddVpnUserCmd.java:122)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
        at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:554)
        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 org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:502)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        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)
2016-03-17 18:09:20,888 DEBUG [o.a.c.n.t.BasicNetworkTopology] (API-Job-Executor-78:ctx-d46bb041
job-1270 ctx-84f2718d) (logid:77b8f498) APPLYING BASIC VPN RULES
2016-03-17 18:09:20,892 DEBUG [c.c.a.t.Request] (API-Job-Executor-78:ctx-d46bb041 job-1270
ctx-84f2718d) (logid:77b8f498) Seq 1-98516241848738091: Sending  { Cmd , MgmtId: 246744086697988,
via: 1(acstest.assistanz.com), Ver: v1, Flags: 100101, [{"com.cloud.agent.api.routing.VpnUsersCfgCommand":{"userpwds":[{"username":"sibin","add":true}],"accessDetails":{"account.id":"5","zone.network.type":"Advanced","router.ip":"169.254.2.99","router.name":"r-55-VM"},"wait":0}}]
}

But the router is in running state and when I tried to restart the service in VR console :
/etc/init.d/cloud-early-config . It is showing entry for the added user in the logs . Is there
any fix available for this issue ?..



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message