You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Harikrishna Patnala (JIRA)" <ji...@apache.org> on 2014/02/14 10:09:19 UTC
[jira] [Commented] (CLOUDSTACK-6032) [VmScaleup]service offering id
is not getting changed in usage_vm_instance table under usage_type 1
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13901255#comment-13901255 ]
Harikrishna Patnala commented on CLOUDSTACK-6032:
-------------------------------------------------
Patch ready to review @https://reviews.apache.org/r/17799/
> [VmScaleup]service offering id is not getting changed in usage_vm_instance table under usage_type 1
> ----------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-6032
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6032
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Management Server, Usage
> Affects Versions: 4.3.0
> Reporter: Harikrishna Patnala
> Assignee: Harikrishna Patnala
> Fix For: 4.3.0, 4.4.0
>
>
> steps to reproduce
> ===================
> 1-Deploy vm with co "small instance{cpu:512,ram=512}"
> 2-scaleup vm to co "medium instance{cpu:1GHz,ram=1024}"
> 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 |
> +------------+---------+------------+----------------+---------+---------------------+-------------+-----------------+---------------------+----------+-----------+-----------+--------+
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)