mirror of https://github.com/apache/cloudstack.git
bug 10135: Fix clustered agent manager's version bug
We are using v1 now, instead of v3. This bug result in all the commands from the other clustered management server would be sent to agentmanager, and then dropped. status 10135: resolved fixed
This commit is contained in:
parent
ff86c865e2
commit
7cf312674b
|
|
@ -596,7 +596,8 @@ public class ClusteredAgentManagerImpl extends AgentManagerImpl implements Clust
|
|||
|
||||
final byte[] data = task.getData();
|
||||
Version ver = Request.getVersion(data);
|
||||
if (ver.ordinal() < Version.v3.ordinal()) {
|
||||
if (ver.ordinal() != Version.v1.ordinal()) {
|
||||
s_logger.warn("Wrong version for clustered agent request");
|
||||
super.doTask(task);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue