[jira] [Commented] (CLOUDSTACK-3189) Primary storage usage is not getting decremented after deleting the DATA volumes

2013-07-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13697038#comment-13697038
 ] 

ASF subversion and git services commented on CLOUDSTACK-3189:
-

Commit 301c91c099957b77dd1127484446f9fe69b53e39 in branch refs/heads/master 
from [~sanjay.tripathi]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=301c91c ]

CLOUDSTACK-3189: Primary storage usage is not getting decremented after 
deleting the DATA volumes.
When a volume is created the resource usage for it gets incremented. If it is 
deleted without being
attached to a volume, the decrement doesn't take place. Fixed the delete volume 
code to decrement
resource usage for a volume in allocated state too.


 Primary storage usage is not getting decremented after deleting the DATA 
 volumes 
 -

 Key: CLOUDSTACK-3189
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3189
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Storage Controller
Affects Versions: 4.2.0
Reporter: Sailaja Mada
Assignee: Sanjay Tripathi
Priority: Blocker
 Fix For: 4.2.0


 Steps:
 1. Deploy instance using user account
 2. Add new DATA volume  
 3. List Primary storage usage using listAccounts - It has all the usage 
 details 
 4. Delete the DATA volume 
 5. Tried to get the Primary storage usage using listAccounts
 Observation :
 Primary storage usage is not getting decremented after deleting the DATA 
 volumes . 
 1. Two instances with 2 GB each + 1 DATA volume of 5 GB ( Total 9GB) 
 primarystoragelimit200/primarystoragelimit
 primarystoragetotal9/primarystoragetotal
 primarystorageavailable191/primarystorageavailable
 2. Delete DATA Volume of 5 GB and Instance ROOT of 2 GB ( Total 7 GB should 
 have got decremented (198 GB) . But its decremented only for the ROOT volume 
 of 2 GB and not for DATA volume. (193 GB)
 primarystoragelimit200/primarystoragelimit
 primarystoragetotal7/primarystoragetotal
 primarystorageavailable193/primarystorageavailable

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-3189) Primary storage usage is not getting decremented after deleting the DATA volumes

2013-07-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13697077#comment-13697077
 ] 

ASF subversion and git services commented on CLOUDSTACK-3189:
-

Commit 737a9c397755f979bd42a1504bd0b298b4f74825 in branch 
refs/heads/master-6-17-stable from [~sanjay.tripathi]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=737a9c3 ]

CLOUDSTACK-3189: Primary storage usage is not getting decremented after 
deleting the DATA volumes.
When a volume is created the resource usage for it gets incremented. If it is 
deleted without being
attached to a volume, the decrement doesn't take place. Fixed the delete volume 
code to decrement
resource usage for a volume in allocated state too.


 Primary storage usage is not getting decremented after deleting the DATA 
 volumes 
 -

 Key: CLOUDSTACK-3189
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3189
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Storage Controller
Affects Versions: 4.2.0
Reporter: Sailaja Mada
Assignee: Sanjay Tripathi
Priority: Blocker
 Fix For: 4.2.0


 Steps:
 1. Deploy instance using user account
 2. Add new DATA volume  
 3. List Primary storage usage using listAccounts - It has all the usage 
 details 
 4. Delete the DATA volume 
 5. Tried to get the Primary storage usage using listAccounts
 Observation :
 Primary storage usage is not getting decremented after deleting the DATA 
 volumes . 
 1. Two instances with 2 GB each + 1 DATA volume of 5 GB ( Total 9GB) 
 primarystoragelimit200/primarystoragelimit
 primarystoragetotal9/primarystoragetotal
 primarystorageavailable191/primarystorageavailable
 2. Delete DATA Volume of 5 GB and Instance ROOT of 2 GB ( Total 7 GB should 
 have got decremented (198 GB) . But its decremented only for the ROOT volume 
 of 2 GB and not for DATA volume. (193 GB)
 primarystoragelimit200/primarystoragelimit
 primarystoragetotal7/primarystoragetotal
 primarystorageavailable193/primarystorageavailable

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-3189) Primary storage usage is not getting decremented after deleting the DATA volumes

2013-07-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13697102#comment-13697102
 ] 

ASF subversion and git services commented on CLOUDSTACK-3189:
-

Commit af4eb22a6539b9c25f6b9df2aa110bf099283cbb in branch refs/heads/4.2 from 
[~sanjay.tripathi]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=af4eb22 ]

CLOUDSTACK-3189: Primary storage usage is not getting decremented after 
deleting the DATA volumes.
When a volume is created the resource usage for it gets incremented. If it is 
deleted without being
attached to a volume, the decrement doesn't take place. Fixed the delete volume 
code to decrement
resource usage for a volume in allocated state too.


 Primary storage usage is not getting decremented after deleting the DATA 
 volumes 
 -

 Key: CLOUDSTACK-3189
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3189
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Storage Controller
Affects Versions: 4.2.0
Reporter: Sailaja Mada
Assignee: Sanjay Tripathi
Priority: Blocker
 Fix For: 4.2.0


 Steps:
 1. Deploy instance using user account
 2. Add new DATA volume  
 3. List Primary storage usage using listAccounts - It has all the usage 
 details 
 4. Delete the DATA volume 
 5. Tried to get the Primary storage usage using listAccounts
 Observation :
 Primary storage usage is not getting decremented after deleting the DATA 
 volumes . 
 1. Two instances with 2 GB each + 1 DATA volume of 5 GB ( Total 9GB) 
 primarystoragelimit200/primarystoragelimit
 primarystoragetotal9/primarystoragetotal
 primarystorageavailable191/primarystorageavailable
 2. Delete DATA Volume of 5 GB and Instance ROOT of 2 GB ( Total 7 GB should 
 have got decremented (198 GB) . But its decremented only for the ROOT volume 
 of 2 GB and not for DATA volume. (193 GB)
 primarystoragelimit200/primarystoragelimit
 primarystoragetotal7/primarystoragetotal
 primarystorageavailable193/primarystorageavailable

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CLOUDSTACK-3189) Primary storage usage is not getting decremented after deleting the DATA volumes

2013-06-28 Thread Sanjay Tripathi (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13695330#comment-13695330
 ] 

Sanjay Tripathi commented on CLOUDSTACK-3189:
-

Fix is available for review at: https://reviews.apache.org/r/12156/

 Primary storage usage is not getting decremented after deleting the DATA 
 volumes 
 -

 Key: CLOUDSTACK-3189
 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3189
 Project: CloudStack
  Issue Type: Bug
  Security Level: Public(Anyone can view this level - this is the 
 default.) 
  Components: Storage Controller
Affects Versions: 4.2.0
Reporter: Sailaja Mada
Assignee: Sanjay Tripathi
Priority: Blocker
 Fix For: 4.2.0


 Steps:
 1. Deploy instance using user account
 2. Add new DATA volume  
 3. List Primary storage usage using listAccounts - It has all the usage 
 details 
 4. Delete the DATA volume 
 5. Tried to get the Primary storage usage using listAccounts
 Observation :
 Primary storage usage is not getting decremented after deleting the DATA 
 volumes . 
 1. Two instances with 2 GB each + 1 DATA volume of 5 GB ( Total 9GB) 
 primarystoragelimit200/primarystoragelimit
 primarystoragetotal9/primarystoragetotal
 primarystorageavailable191/primarystorageavailable
 2. Delete DATA Volume of 5 GB and Instance ROOT of 2 GB ( Total 7 GB should 
 have got decremented (198 GB) . But its decremented only for the ROOT volume 
 of 2 GB and not for DATA volume. (193 GB)
 primarystoragelimit200/primarystoragelimit
 primarystoragetotal7/primarystoragetotal
 primarystorageavailable193/primarystorageavailable

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira