You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/06/01 02:57:12 UTC
[jira] [Commented] (CLOUDSTACK-8908) After copying the template
charging for that template is stopped
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15309141#comment-15309141 ]
ASF GitHub Bot commented on CLOUDSTACK-8908:
--------------------------------------------
Github user bvbharatk commented on the pull request:
https://github.com/apache/cloudstack/pull/896
### ACS CI BVT Run
**Sumarry:**
Build Number 101
Hypervisor xenserver
NetworkType Advanced
Passed=66
Failed=3
Skipped=3
_Link to logs Folder (search by build_no):_ https://www.dropbox.com/sh/yj3wnzbceo9uef2/AAB6u-Iap-xztdm6jHX9SjPja?dl=0
**Failed tests:**
* test_service_offerings.py
* ContextSuite context=TestServiceOfferings>:setup Failing since 5 runs
* test_list_ids_parameter.py
* ContextSuite context=TestListIdsParams>:setup Failing since 2 runs
* test_vm_life_cycle.py
* test_deploy_vm_multiple Failed
**Skipped tests:**
test_vm_nic_adapter_vmxnet3
test_static_role_account_acls
test_deploy_vgpu_enabled_vm
**Passed test suits:**
test_deploy_vm_with_userdata.py
test_affinity_groups_projects.py
test_portable_publicip.py
test_vpc_vpn.py
test_over_provisioning.py
test_global_settings.py
test_scale_vm.py
test_routers_iptables_default_policy.py
test_routers.py
test_reset_vm_on_reboot.py
test_snapshots.py
test_deploy_vms_with_varied_deploymentplanners.py
test_login.py
test_public_ip_range.py
test_multipleips_per_nic.py
test_regions.py
test_affinity_groups.py
test_network_acl.py
test_pvlan.py
test_volumes.py
test_nic.py
test_deploy_vm_root_resize.py
test_resource_detail.py
test_secondary_storage.py
test_disk_offerings.py
> After copying the template charging for that template is stopped
> -----------------------------------------------------------------
>
> Key: CLOUDSTACK-8908
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8908
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Template, Usage
> Affects Versions: 4.5.2
> Reporter: subhash yedugundla
>
> [Repro Steps]
> Register a template in Zone 1 .
> Copy the template from Zone 1 to Zone 2 .
> Once copied, deleted the template from Zone 1.
> Check the charging of the template and found that charging of the template in Zone 2 stopped
> Sample data related to the issue
> mysql> select id,type,state,description,created from event where description like "%4186%" and type like "%template%";
> +---------+-----------------+-----------+-----------------------------------------------------------------------------------------+---------------------+
> | id | type | state | description | created |
> +---------+-----------------+-----------+-----------------------------------------------------------------------------------------+---------------------+
> | 1964466 | TEMPLATE.CREATE | Completed | Successfully completed creating template. Id: 4186 name: PerfTestVM2 | 2015-06-15 09:48:57 |
> | 2411011 | TEMPLATE.COPY | Scheduled | copying template: 4186 from zone: 3 to zone: 1 | 2015-07-22 03:57:32 |
> | 2411012 | TEMPLATE.COPY | Started | copying template. copying template: 4186 from zone: 3 to zone: 1 | 2015-07-22 03:57:32 |
> | 2411458 | TEMPLATE.COPY | Completed | Successfully completed copying template. copying template: 4186 from zone: 3 to zone: 1 | 2015-07-22 04:47:08 |
> | 2412521 | TEMPLATE.DELETE | Scheduled | Deleting template 4186 | 2015-07-22 06:46:18 |
> | 2412522 | TEMPLATE.DELETE | Started | deleting template. Template Id: 4186 | 2015-07-22 06:46:18 |
> | 2412523 | TEMPLATE.DELETE | Completed | Successfully completed deleting template. Template Id: 4186 | 2015-07-22 06:46:18 |
> +---------+-----------------+-----------+-----------------------------------------------------------------------------------------+---------------------+
> You can see that the template of zone3 is not removed.
> mysql> select * from template_zone_ref where template_id=4186;;
> +------+---------+-------------+---------------------+---------------------+---------------------+
> | id | zone_id | template_id | created | last_updated | removed |
> +------+---------+-------------+---------------------+---------------------+---------------------+
> | 3974 | 3 | 4186 | 2015-06-15 09:48:57 | 2015-06-15 09:48:57 | NULL | <=====Not removed
> | 4845 | 1 | 4186 | 2015-07-22 04:47:08 | 2015-07-22 04:47:08 | 2015-07-22 06:46:18 |
> +------+---------+-------------+---------------------+---------------------+---------------------+
> However, not only Zone1 but also the charging of the template of Zone3 stopped.
> +---------+---------------------+---------------------+---------+----------------------------------------------------------+---------------+--------------------+----------+-------------+
> | id | start_date | end_date | zone_id | description | usage_display | raw_usage | usage_id | size |
> +---------+---------------------+---------------------+---------+----------------------------------------------------------+---------------+--------------------+----------+-------------+
> | 5998486 | 2015-06-14 15:00:00 | 2015-06-15 14:59:59 | 3 | Template Id:4186 Size:14995087360VirtualSize:16106127360 | 4.808055 Hrs | 4.808055400848389 | 4186 | 14995087360 |
> =====================an abbreviation============================
> 4186 | 14995087360 |
> | 7834096 | 2015-07-19 15:00:00 | 2015-07-20 14:59:59 | 3 | Template Id:4186 Size:14995087360VirtualSize:16106127360 | 24 Hrs | 24 | 4186 | 14995087360 |
> | 7889426 | 2015-07-20 15:00:00 | 2015-07-21 14:59:59 | 3 | Template Id:4186 Size:14995087360VirtualSize:16106127360 | 24 Hrs | 24 | 4186 | 14995087360 |
> | 7945799 | 2015-07-21 15:00:00 | 2015-07-22 14:59:59 | 3 | Template Id:4186 Size:14995087360VirtualSize:16106127360 | 15.771667 Hrs | 15.771666526794434 | 4186 | 14995087360 |
> | 7945801 | 2015-07-21 15:00:00 | 2015-07-22 14:59:59 | 1 | Template Id:4186 Size:14995087360VirtualSize:16106127360 | 1.986111 Hrs | 1.9861112833023071 | 4186 | 14995087360 |
> +---------+---------------------+---------------------+---------+----------------------------------------------------------+---------------+--------------------+----------+-------------+
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)