Could not find vpn user

2014-04-28 Thread Amir Abbasi
Hello,

When I try to remove the vpn user I face the error "Could not find vpn user" 
but they exists and I can see them in vpn_users table in DB. 


2014-04-28 15:44:54,933 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-480:null) Seq 55-1106121211: Executing request
2014-04-28 15:44:55,067 DEBUG [cloud.async.AsyncJobManagerImpl] 
(catalina-exec-18:null) submit async job-243, details: AsyncJobVO {id:243, 
userId: 2, accountId: 2, sessionKey: null, instanceType: None, instanceId: 
null, cmd: com.cloud.api.commands.RemoveVpnUserCmd, cmdOriginator: null, 
cmdInfo: 
{"response":"json","id":"af367a24-1329-41b4-8fec-835f77e31b33d","sessionkey":"/gB6LovUuiAk7VDK3ipEVbeLAb238\u003d","username":"amir","ctxUserId":"2","_":"1398683760125","ctxAccountId":"2","ctxStartEventId":"158165"},
 cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, 
processStatus: 0, resultCode: 0, result: null, initMsid: 345050455587, 
completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2014-04-28 15:44:55,072 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-44:job-243) Executing com.cloud.api.commands.RemoveVpnUserCmd for 
job-243
2014-04-28 15:44:55,076 INFO  [cloud.api.ApiDispatcher] 
(Job-Executor-44:job-243) Could not find vpn user amir
2014-04-28 15:44:55,076 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-44:job-243) Complete async job-243, jobStatus: 2, resultCode: 
530, result: com.cloud.api.response.ExceptionResponse@58aeeb0

Re: Could not find vpn user

2014-05-05 Thread Daan Hoogland
seems like a programmatic error, Amir. Can you try and up the debug
levels on the logging in the server? Some more usefull (stacktrace)
logging should appear.

Also, what versions are you running?

On Mon, Apr 28, 2014 at 1:24 PM, Amir Abbasi  wrote:
> Hello,
>
> When I try to remove the vpn user I face the error "Could not find vpn user" 
> but they exists and I can see them in vpn_users table in DB.
>
>
> 2014-04-28 15:44:54,933 DEBUG [agent.manager.DirectAgentAttache] 
> (DirectAgent-480:null) Seq 55-1106121211: Executing request
> 2014-04-28 15:44:55,067 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (catalina-exec-18:null) submit async job-243, details: AsyncJobVO {id:243, 
> userId: 2, accountId: 2, sessionKey: null, instanceType: None, instanceId: 
> null, cmd: com.cloud.api.commands.RemoveVpnUserCmd, cmdOriginator: null, 
> cmdInfo: 
> {"response":"json","id":"af367a24-1329-41b4-8fec-835f77e31b33d","sessionkey":"/gB6LovUuiAk7VDK3ipEVbeLAb238\u003d","username":"amir","ctxUserId":"2","_":"1398683760125","ctxAccountId":"2","ctxStartEventId":"158165"},
>  cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, 
> processStatus: 0, resultCode: 0, result: null, initMsid: 345050455587, 
> completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
> 2014-04-28 15:44:55,072 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (Job-Executor-44:job-243) Executing com.cloud.api.commands.RemoveVpnUserCmd 
> for job-243
> 2014-04-28 15:44:55,076 INFO  [cloud.api.ApiDispatcher] 
> (Job-Executor-44:job-243) Could not find vpn user amir
> 2014-04-28 15:44:55,076 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (Job-Executor-44:job-243) Complete async job-243, jobStatus: 2, resultCode: 
> 530, result: com.cloud.api.response.ExceptionResponse@58aeeb0



-- 
Daan