[ https://issues.apache.org/jira/browse/CLOUDSTACK-5314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sanjay Tripathi updated CLOUDSTACK-5314: ---------------------------------------- Summary: Negative (-ve) values for primary storage and volumes are shown in the resource count table (was: [Hyper-V] Negative (-ve) values for primary storage and volumes are shown in the resource count table) > Negative (-ve) values for primary storage and volumes are shown in the > resource count table > ------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-5314 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5314 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Install and Setup, Management Server > Affects Versions: 4.3.0 > Environment: Hyper-V > Reporter: Abhinav Roy > Assignee: Sanjay Tripathi > Priority: Critical > Fix For: 4.3.0 > > > Description : > ============================ > The resource count value for primary storage and volumes in the > cloud.resource_count table is shown as negative (-ve) > mysql> select * from resource_count; > +----+------------+-----------+-------------------+---------------+ > | id | account_id | domain_id | type | count | > +----+------------+-----------+-------------------+---------------+ > | 1 | NULL | 1 | cpu | 6 | > | 2 | NULL | 1 | memory | 3072 | > | 3 | NULL | 1 | primary_storage | -103079215104 | > | 4 | NULL | 1 | secondary_storage | 56863775232 | > | 9 | NULL | 1 | user_vm | 6 | > | 10 | NULL | 1 | public_ip | 2 | > | 11 | NULL | 1 | volume | -5 | > | 12 | NULL | 1 | snapshot | 0 | > | 13 | NULL | 1 | template | 4 | > | 14 | NULL | 1 | project | 0 | > | 15 | NULL | 1 | network | 1 | > | 16 | NULL | 1 | vpc | 0 | > | 17 | 1 | NULL | user_vm | 0 | > | 18 | 1 | NULL | public_ip | 0 | > | 19 | 1 | NULL | volume | 0 | > | 20 | 1 | NULL | snapshot | 0 | > | 21 | 1 | NULL | template | 0 | > | 22 | 1 | NULL | project | 0 | > | 23 | 1 | NULL | network | 0 | > | 24 | 1 | NULL | vpc | 0 | > | 25 | 1 | NULL | cpu | 0 | > | 26 | 1 | NULL | memory | 0 | > | 27 | 1 | NULL | primary_storage | 0 | > | 28 | 1 | NULL | secondary_storage | 0 | > | 29 | 2 | NULL | user_vm | 6 | > | 30 | 2 | NULL | public_ip | 2 | > | 31 | 2 | NULL | volume | -5 | > | 32 | 2 | NULL | snapshot | 0 | > | 33 | 2 | NULL | template | 4 | > | 34 | 2 | NULL | project | 0 | > | 35 | 2 | NULL | network | 1 | > | 36 | 2 | NULL | vpc | 0 | > | 37 | 2 | NULL | cpu | 6 | > | 38 | 2 | NULL | memory | 3072 | > | 39 | 2 | NULL | primary_storage | -103079215104 | > | 40 | 2 | NULL | secondary_storage | 163220937216 | > +----+------------+-----------+-------------------+---------------+ > 36 rows in set (0.00 sec) -- This message was sent by Atlassian JIRA (v6.1.5#6160)