Rayees Namathponnan created CLOUDSTACK-5349:
-----------------------------------------------
Summary: [Automation] VOLUME.CREATE missing in events table
Key: CLOUDSTACK-5349
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5349
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Management Server
Affects Versions: 4.3.0
Environment: ALL
branch 4.3
Reporter: Rayees Namathponnan
Fix For: 4.3.0
# Validate the following
# 1. Create a VM. Verify usage_events table contains VM .create, VM.start ,
Network.offering.assign , Volume.create events
# 2. Stop the VM. Verify usage_events table contains network.offerings.remove
,VM .stop Events for the created account.
# 3. Destroy the VM after some time. Verify usage_events table
containsVM.Destroy and volume .delete Event for the created account
# 4. Delete the account
VOLUME.CREATE missing in events table, below test case failing due to this
integration.component.test_usage.TestVmUsage.test_01_vm_usage
mysql> select type from usage_event where account_id = '103';
+-------------------------+
| type |
+-------------------------+
| VM.CREATE |
| NETWORK.OFFERING.ASSIGN |
| VM.START |
| SG.ASSIGN |
| VM.STOP |
| NETWORK.OFFERING.REMOVE |
| SG.REMOVE |
| VM.DESTROY |
| VOLUME.DELETE |
+-------------------------+
9 rows in set (0.00 sec)
--
This message was sent by Atlassian JIRA
(v6.1#6144)