You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rajani Karuturi (JIRA)" <ji...@apache.org> on 2015/03/16 04:43:58 UTC
[jira] [Updated] (CLOUDSTACK-7961) [Automation] After Deletion of a
Volume in an Account - PrimaryStorageTotal value of the Account is not
Updated properly
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajani Karuturi updated CLOUDSTACK-7961:
----------------------------------------
Fix Version/s: (was: 4.5.0)
4.5.1
> [Automation] After Deletion of a Volume in an Account - PrimaryStorageTotal value of the Account is not Updated properly
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-7961
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7961
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Automation
> Affects Versions: 4.5.0
> Reporter: Chandan Purushothama
> Assignee: edison su
> Priority: Critical
> Fix For: 4.5.1
>
>
> *Steps to Reproduce:*
> 1. Create an Account. Observe the primarystoragetotal Information:
> {noformat}
> {
> primarystorageavailable: u'Unlimited',
> domain: u'ROOT',
> domainid: u'58f506ce-7108-11e4-bca3-7640e6bc0920',
> vpclimit: u'Unlimited',
> iplimit: u'Unlimited',
> volumelimit: u'Unlimited',
> memorytotal: 0,
> secondarystorageavailable: u'Unlimited',
> vmtotal: 0,
> cputotal: 0,
> vpctotal: 0,
> id: u'f83b6369-abe7-4cb7-9101-c3e70beee013',
> cpuavailable: u'Unlimited',
> snapshotlimit: u'Unlimited',
> networklimit: u'Unlimited',
> iptotal: 0,
> volumetotal: 0,
> projectlimit: u'Unlimited',
> state: u'enabled',
> networktotal: 0,
> accounttype: 2,
> networkavailable: u'Unlimited',
> primarystoragetotal: 0,
> templatelimit: u'Unlimited',
> snapshottotal: 0,
> templateavailable: u'Unlimited',
> vmlimit: u'Unlimited',
> vpcavailable: u'Unlimited',
> memoryavailable: u'Unlimited',
> secondarystoragetotal: 0,
> templatetotal: 0,
> projecttotal: 0,
> user: [
> {
> username: u'test-a-TestVolumeLimits-test_create_multiple_volumes_1_root_domain_admin-QKVX6C',
> account: u'test-a-TestVolumeLimits-test_create_multiple_volumes_1_root_domain_admin-QKVX6C',
> domainid: u'58f506ce-7108-11e4-bca3-7640e6bc0920',
> firstname: u'test',
> created: u'2014-11-21T01: 02: 31+0000',
> lastname: u'test',
> domain: u'ROOT',
> id: u'f04dfdcf-e94e-411a-9d96-a308fae131df',
> iscallerchilddomain: False,
> state: u'enabled',
> accounttype: 2,
> email: u'test-account@test.com',
> isdefault: False,
> accountid: u'f83b6369-abe7-4cb7-9101-c3e70beee013'
> }
> ],
> groups: [
>
> ],
> projectavailable: u'Unlimited',
> isdefault: False,
> primarystoragelimit: u'Unlimited',
> secondarystoragelimit: u'Unlimited',
> volumeavailable: u'Unlimited',
> name: u'test-a-TestVolumeLimits-test_create_multiple_volumes_1_root_domain_admin-QKVX6C',
> vmavailable: u'Unlimited',
> ipavailable: u'Unlimited',
> memorylimit: u'Unlimited',
> cpulimit: u'Unlimited',
> snapshotavailable: u'Unlimited'
> }
> {noformat}
> 2. Deploy a VM from the default template (2 GB Size) with a disk offering of 2GB. Observe primarystoragetotal Information of the account as 4GB.
> {noformat}
> {
> primarystorageavailable: u'Unlimited',
> domain: u'ROOT',
> domainid: u'58f506ce-7108-11e4-bca3-7640e6bc0920',
> vpclimit: u'Unlimited',
> iplimit: u'Unlimited',
> volumelimit: u'Unlimited',
> memorytotal: 128,
> secondarystorageavailable: u'Unlimited',
> vmtotal: 1,
> cputotal: 1,
> vpctotal: 0,
> id: u'f83b6369-abe7-4cb7-9101-c3e70beee013',
> networkavailable: u'Unlimited',
> snapshotlimit: u'Unlimited',
> networklimit: u'Unlimited',
> iptotal: 1,
> volumetotal: 2,
> projectlimit: u'Unlimited',
> state: u'enabled',
> networktotal: 1,
> sentbytes: 0,
> accounttype: 2,
> receivedbytes: 0,
> cpuavailable: u'Unlimited',
> primarystoragetotal: 4,
> templatelimit: u'Unlimited',
> snapshottotal: 0,
> templateavailable: u'Unlimited',
> vmlimit: u'Unlimited',
> vpcavailable: u'Unlimited',
> memoryavailable: u'Unlimited',
> secondarystoragetotal: 0,
> templatetotal: 0,
> projecttotal: 0,
> vmrunning: 1,
> groups: [
>
> ],
> projectavailable: u'Unlimited',
> isdefault: False,
> primarystoragelimit: u'Unlimited',
> secondarystoragelimit: u'Unlimited',
> volumeavailable: u'Unlimited',
> name: u'test-a-TestVolumeLimits-test_create_multiple_volumes_1_root_domain_admin-QKVX6C',
> vmavailable: u'Unlimited',
> ipavailable: u'Unlimited',
> memorylimit: u'Unlimited',
> cpulimit: u'Unlimited',
> snapshotavailable: u'Unlimited',
> user: [
> {
> username: u'test-a-TestVolumeLimits-test_create_multiple_volumes_1_root_domain_admin-QKVX6C',
> account: u'test-a-TestVolumeLimits-test_create_multiple_volumes_1_root_domain_admin-QKVX6C',
> domainid: u'58f506ce-7108-11e4-bca3-7640e6bc0920',
> firstname: u'test',
> created: u'2014-11-21T01: 02: 31+0000',
> lastname: u'test',
> domain: u'ROOT',
> id: u'f04dfdcf-e94e-411a-9d96-a308fae131df',
> iscallerchilddomain: False,
> state: u'enabled',
> accounttype: 2,
> email: u'test-account@test.com',
> isdefault: False,
> accountid: u'f83b6369-abe7-4cb7-9101-c3e70beee013'
> }
> {noformat}
> 3. Create a 5GB and 10GB Volumes and attach them to the VMs. Observe the primarystoragetotal value of the account is 19 (4+5+10).
> {noformat}
> {
> primarystorageavailable: u'Unlimited',
> domain: u'ROOT',
> domainid: u'58f506ce-7108-11e4-bca3-7640e6bc0920',
> vpclimit: u'Unlimited',
> iplimit: u'Unlimited',
> volumelimit: u'Unlimited',
> memorytotal: 128,
> secondarystorageavailable: u'Unlimited',
> vmtotal: 1,
> cputotal: 1,
> vpctotal: 0,
> id: u'f83b6369-abe7-4cb7-9101-c3e70beee013',
> networkavailable: u'Unlimited',
> snapshotlimit: u'Unlimited',
> networklimit: u'Unlimited',
> iptotal: 1,
> volumetotal: 4,
> projectlimit: u'Unlimited',
> state: u'enabled',
> networktotal: 1,
> sentbytes: 0,
> accounttype: 2,
> receivedbytes: 0,
> cpuavailable: u'Unlimited',
> primarystoragetotal: 19,
> templatelimit: u'Unlimited',
> snapshottotal: 0,
> templateavailable: u'Unlimited',
> vmlimit: u'Unlimited',
> vpcavailable: u'Unlimited',
> memoryavailable: u'Unlimited',
> secondarystoragetotal: 0,
> templatetotal: 0,
> projecttotal: 0,
> vmrunning: 1,
> groups: [
>
> ],
> projectavailable: u'Unlimited',
> isdefault: False,
> primarystoragelimit: u'Unlimited',
> secondarystoragelimit: u'Unlimited',
> volumeavailable: u'Unlimited',
> name: u'test-a-TestVolumeLimits-test_create_multiple_volumes_1_root_domain_admin-QKVX6C',
> vmavailable: u'Unlimited',
> ipavailable: u'Unlimited',
> memorylimit: u'Unlimited',
> cpulimit: u'Unlimited',
> snapshotavailable: u'Unlimited',
> user: [
> {
> username: u'test-a-TestVolumeLimits-test_create_multiple_volumes_1_root_domain_admin-QKVX6C',
> account: u'test-a-TestVolumeLimits-test_create_multiple_volumes_1_root_domain_admin-QKVX6C',
> domainid: u'58f506ce-7108-11e4-bca3-7640e6bc0920',
> firstname: u'test',
> created: u'2014-11-21T01: 02: 31+0000',
> lastname: u'test',
> domain: u'ROOT',
> id: u'f04dfdcf-e94e-411a-9d96-a308fae131df',
> iscallerchilddomain: False,
> state: u'enabled',
> accounttype: 2,
> email: u'test-account@test.com',
> isdefault: False,
> accountid: u'f83b6369-abe7-4cb7-9101-c3e70beee013'
> }
> {noformat}
> 4. Delete the 5GB Volume attached to the VM. Observe that the primarystoragetotal value of the account is set to 12 instead of 14 (19 - 5)
> {noformat}
> {
> primarystorageavailable: u'Unlimited',
> domain: u'ROOT',
> domainid: u'58f506ce-7108-11e4-bca3-7640e6bc0920',
> vpclimit: u'Unlimited',
> iplimit: u'Unlimited',
> volumelimit: u'Unlimited',
> memorytotal: 128,
> secondarystorageavailable: u'Unlimited',
> vmtotal: 1,
> cputotal: 1,
> vpctotal: 0,
> id: u'f83b6369-abe7-4cb7-9101-c3e70beee013',
> networkavailable: u'Unlimited',
> snapshotlimit: u'Unlimited',
> networklimit: u'Unlimited',
> iptotal: 1,
> volumetotal: 3,
> projectlimit: u'Unlimited',
> state: u'enabled',
> networktotal: 1,
> sentbytes: 0,
> accounttype: 2,
> receivedbytes: 0,
> cpuavailable: u'Unlimited',
> primarystoragetotal: 12,
> templatelimit: u'Unlimited',
> snapshottotal: 0,
> templateavailable: u'Unlimited',
> vmlimit: u'Unlimited',
> vpcavailable: u'Unlimited',
> memoryavailable: u'Unlimited',
> secondarystoragetotal: 0,
> templatetotal: 0,
> projecttotal: 0,
> vmrunning: 1,
> groups: [
>
> ],
> projectavailable: u'Unlimited',
> isdefault: False,
> primarystoragelimit: u'Unlimited',
> secondarystoragelimit: u'Unlimited',
> volumeavailable: u'Unlimited',
> name: u'test-a-TestVolumeLimits-test_create_multiple_volumes_1_root_domain_admin-QKVX6C',
> vmavailable: u'Unlimited',
> ipavailable: u'Unlimited',
> memorylimit: u'Unlimited',
> cpulimit: u'Unlimited',
> snapshotavailable: u'Unlimited',
> user: [
> {
> username: u'test-a-TestVolumeLimits-test_create_multiple_volumes_1_root_domain_admin-QKVX6C',
> account: u'test-a-TestVolumeLimits-test_create_multiple_volumes_1_root_domain_admin-QKVX6C',
> domainid: u'58f506ce-7108-11e4-bca3-7640e6bc0920',
> firstname: u'test',
> created: u'2014-11-21T01: 02: 31+0000',
> lastname: u'test',
> domain: u'ROOT',
> id: u'f04dfdcf-e94e-411a-9d96-a308fae131df',
> iscallerchilddomain: False,
> state: u'enabled',
> accounttype: 2,
> email: u'test-account@test.com',
> isdefault: False,
> accountid: u'f83b6369-abe7-4cb7-9101-c3e70beee013'
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)