Chandan Purushothama created CLOUDSTACK-228:
-----------------------------------------------

             Summary: UI provides an option to reconnect a disconnected host - 
ServerApiException is thrown on an attempt
                 Key: CLOUDSTACK-228
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-228
             Project: CloudStack
          Issue Type: Bug
          Components: Management Server
    Affects Versions: pre-4.0.0
            Reporter: Chandan Purushothama
            Priority: Minor
             Fix For: pre-4.0.0
         Attachments: UIBug56.PNG


The corresponding screenshot of the button and the error is attached to the bug 
report.

===============
ServerApiException:
===============

2012-09-27 16:52:35,990 DEBUG [cloud.async.AsyncJobManagerImpl] 
(catalina-exec-14:null) submit async job-93, details: AsyncJobVO {id:93, 
userId: 2, accountId: 2, sessionKey: null, instanceType: Host, instanceId: 1, 
cmd: com.cloud.api.commands.ReconnectHostCmd, cmdOriginator: null, cmdInfo: 
{"id":"d6c8a9a3-e998-4462-9db8-91adc80e12b8","response":"json","sessionkey":"RkP7zS3VeWcNLPexbJSuJJYWZg8\u003d","ctxUserId":"2","_":"1348790245154","ctxAccountId":"2","ctxStartEventId":"362"},
 cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, 
processStatus: 0, resultCode: 0, result: null, initMsid: 7471666038533, 
completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2012-09-27 16:52:35,994 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-70:job-93) Executing com.cloud.api.commands.ReconnectHostCmd for 
job-93
2012-09-27 16:52:35,998 INFO  [agent.manager.AgentManagerImpl] 
(Job-Executor-70:job-93) Unable to disconnect host because it is not in the 
correct state: host=1; Status=Disconnected
2012-09-27 16:52:35,998 WARN  [api.commands.ReconnectHostCmd] 
(Job-Executor-70:job-93) Exception:
com.cloud.api.ServerApiException
        at 
com.cloud.api.commands.ReconnectHostCmd.execute(ReconnectHostCmd.java:108)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
        at 
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432)
        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)
2012-09-27 16:52:35,998 WARN  [cloud.api.ApiDispatcher] 
(Job-Executor-70:job-93) class com.cloud.api.ServerApiException : null
2012-09-27 16:52:35,999 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-70:job-93) Complete async job-93, jobStatus: 2, resultCode: 530, 
result: Error Code: 534 Error text: null

=======
Git Info:
=======

Git Revision: 30b19887fd05c7694f8fdf45be9fe9b02d90b1d1
Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to