mirror of https://github.com/apache/cloudstack.git
bug 6500: add back the special handle for secodary storage host, it is in the same path of handling xenserver host, it is easy to break that, so I add some comments there
status 6500: resolved fixed
This commit is contained in:
parent
6a362cf6a4
commit
09cefaf3e9
|
|
@ -938,8 +938,10 @@ public class AgentManagerImpl implements AgentManager, HandlerFactory {
|
|||
ReadyCommand ready = new ReadyCommand(dcId);
|
||||
Answer answer = easySend(hostId, ready);
|
||||
if (answer == null) {
|
||||
// this is tricky part for secondary storage
|
||||
// make it as disconnected, wait for secondary storage VM to be up
|
||||
// return the attache instead of null, even it is disconnectede
|
||||
handleDisconnect(attache, Event.AgentDisconnected, false);
|
||||
return null;
|
||||
}
|
||||
|
||||
_hostDao.updateStatus(host, Event.Ready, _nodeId);
|
||||
|
|
|
|||
Loading…
Reference in New Issue