mirror of https://github.com/apache/cloudstack.git
Bug 13394 - HA XEN- After host is disconnected from network & reconnected to network, host remains in Connecting state
get current update count before update agent status otherwise the operation would fail because someone before he update the update count status 13394: resolved fixed
This commit is contained in:
parent
0e03e0d5fd
commit
7359789541
|
|
@ -583,7 +583,7 @@ public class HostDaoImpl extends GenericDaoBase<HostVO, Long> implements HostDao
|
|||
|
||||
@Override
|
||||
public boolean updateState(Status oldStatus, Event event, Status newStatus, Host vo, Object data) {
|
||||
HostVO host = (HostVO) vo;
|
||||
HostVO host = findById(vo.getId());
|
||||
long oldPingTime = host.getLastPinged();
|
||||
|
||||
SearchBuilder<HostVO> sb = createSearchBuilder();
|
||||
|
|
|
|||
Loading…
Reference in New Issue