Github user resmo commented on the pull request:

    https://github.com/apache/cloudstack/pull/885#issuecomment-143227931
  
    I successfully tested the patch on 4.5.2:
    ~~~
    2015-09-25 15:38:11,953 WARN  [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-7:ctx-65344d8a) Detected missing VM but power state is 
outdated, wait for another process report run for VM id: 342
    2015-09-25 15:38:13,109 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-2:ctx-d782bbcb) VM state report. host: 25, vm id: 342, 
power state: PowerOn
    2015-09-25 15:38:13,120 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-2:ctx-d782bbcb) VM state report is updated. host: 25, vm 
id: 342, power state: PowerOn
    2015-09-25 15:38:13,145 WARN  [o.a.c.alerts] 
(DirectAgentCronJob-2:ctx-d782bbcb)  alertType:: 9 // dataCenterId:: 1 // 
podId:: 1 // clusterId:: null // message:: Router has been migrated out of 
band: r-342-VM
    2015-09-25 15:39:11,869 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-14:ctx-1a38e77e) VM state report. host: 19, vm id: 342, 
power state: PowerOn
    2015-09-25 15:39:11,879 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-14:ctx-1a38e77e) VM state report is updated. host: 19, vm 
id: 342, power state: PowerOn
    2015-09-25 15:39:11,906 WARN  [o.a.c.alerts] 
(DirectAgentCronJob-14:ctx-1a38e77e)  alertType:: 9 // dataCenterId:: 1 // 
podId:: 1 // clusterId:: null // message:: Router has been migrated out of 
band: r-342-VM
    2015-09-25 15:40:11,928 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-8:ctx-631f9ddc) Detected missing VM. host: 19, vm id: 342, 
power state: PowerReportMissing, last state update: 1443188351000
    2015-09-25 15:40:11,928 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-8:ctx-631f9ddc) vm id: 342 - time since last state 
update(60925ms) has not passed graceful period yet
    2015-09-25 15:40:13,095 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-3:ctx-1c07d7f5) VM state report. host: 25, vm id: 342, 
power state: PowerOn
    2015-09-25 15:40:13,105 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-3:ctx-1c07d7f5) VM state report is updated. host: 25, vm 
id: 342, power state: PowerOn
    2015-09-25 15:40:13,128 WARN  [o.a.c.alerts] 
(DirectAgentCronJob-3:ctx-1c07d7f5)  alertType:: 9 // dataCenterId:: 1 // 
podId:: 1 // clusterId:: null // message:: Router has been migrated out of 
band: r-342-VM
    2015-09-25 15:40:48,537 DEBUG [c.c.a.t.Request] 
(DirectAgent-38:ctx-9baa3adc) Seq 25-594475150812905490: Processing:  { Ans: , 
MgmtId: 345051122106, via: 25, Ver: v1, Flags: 10, 
[{"com.cloud.agent.api.NetworkUsageAnswer":{"routerName":"r-342-VM","bytesSent":1435260,"bytesReceived":1356600,"result":true,"details":"","wait":0}}]
 }
    2015-09-25 15:41:13,104 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-18:ctx-9fbec9c7) VM state report. host: 25, vm id: 342, 
power state: PowerOn
    2015-09-25 15:41:13,114 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] 
(DirectAgentCronJob-18:ctx-9fbec9c7) VM state report is updated. host: 25, vm 
id: 342, power state: PowerOn
    ~~~


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to