Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.3.0
-
Security Level: Public (Anyone can view this level - this is the default.)
-
None
Description
steps to reproduce
===================
1-Deploy vm with co "small instance
"
2-scaleup vm to co "medium instance
"
3-check usage_vm_instance table in usage db
expected
=========
for usage_typ 1 and 2 service offerings_id should get update to new SO
Actual
=======
Sservice_offering_id is getting updated for usage_type 2 only
Detail
======
mysql> select * from usage_vm_instance where vm_instance_id=3 and end_date is NULL;
--------------------------------------------------------------------------------------------------------------------------------------------------
usage_type | zone_id | account_id | vm_instance_id | vm_name | service_offering_id | template_id | hypervisor_type | start_date | end_date | cpu_speed | cpu_cores | memory |
--------------------------------------------------------------------------------------------------------------------------------------------------
1 | 1 | 2 | 3 | one | 15 | 7 | VMware | 2014-01-29 14:45:12 | NULL | NULL | NULL | NULL |
2 | 1 | 2 | 3 | one | 2 | 7 | VMware | 2014-01-29 14:46:26 | NULL | NULL | NULL | NULL |
--------------------------------------------------------------------------------------------------------------------------------------------------