prashant kumar mishra created CLOUDSTACK-5742:
-------------------------------------------------
Summary: #cpu,cpu speed, and ram is getting updated under wrong
usage_type(2) for dynamic compute offering in usage_vm_instance table
Key: CLOUDSTACK-5742
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5742
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Affects Versions: 4.3.0
Reporter: prashant kumar mishra
Priority: Critical
Fix For: 4.3.0
STEPS TO REPO
==============
1-prepare a CS setup 4.3
2-deploy a vm with small CO
3-Change the vm CO to dynamic CO.
4-check the usage_vm_instance table after cloud_usage db synch
EXPECTED
=========
cpu and ram should get updated under usage type 1
ACTUAL
=======
cpu and ram is getting updated under usage type2
DB
===
| 2 | 1 | 2 | 8 | test |
12 | 202 | XenServer | 2014-01-03 10:10:15 | NULL
| 100 | 1 | 256 |
| 1 | 1 | 2 | 8 | test |
12 | 202 | XenServer | 2014-01-03 10:11:21 | NULL
| NULL | NULL | NULL |
+------------+---------+------------+----------------+---------+---------------------+-------------+-----------------+---------------------+---------------------+-----------+-----------+--------+
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)