cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damodar Reddy Talakanti" <>
Subject Re: Review Request 26168: There are new VM State Machine changes introduced which were missed to capture the usage events
Date Thu, 09 Oct 2014 06:26:40 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Oct. 9, 2014, 6:26 a.m.)

Review request for cloudstack, Kishan Kavala and Koushik Das.


removed TODO tags which are added during fix


Repository: cloudstack-git


There are new VM State Machine changes introduced while adding VM Sync changes and these were
missed to capture the usage events. 

This is causing to get wrong usage statistics for a VM who's state is changed by VM sync

Diffs (updated)

  api/src/com/cloud/vm/ 34387eb 
  engine/components-api/src/com/cloud/network/ c86f782 
  plugins/network-elements/ovs/src/com/cloud/network/ovs/ c998e3b

  server/src/com/cloud/capacity/ e5b7d19 
  server/src/com/cloud/deploy/ a40a7d7 
  server/src/com/cloud/network/router/ 968c538 
  server/src/com/cloud/network/security/ f60a746 
  server/src/com/cloud/storage/listener/ 8da71a6 
  server/src/com/cloud/storage/listener/ 1911a48 
  server/src/com/cloud/vm/ a0088b8 
  server/src/org/apache/cloudstack/affinity/ 8e606ca 
  utils/src/com/cloud/utils/fsm/ 3d0a645 
  utils/src/com/cloud/utils/fsm/ 4950a25cb 


Testing (updated)

Tested on Simulator for all VM Lifecycle states and tested with Xenserver for VM Sync reatled

Ran Simulator for VM lifecycle realted tests.

Currenly there is no API call listUsageEvents to verify that events are generated.

Ran Simulator and used smoke tests against simulator to test it.


Damodar Reddy Talakanti

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message