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 subversion and git services (JIRA)" <ji...@apache.org> on 2014/09/02 18:49:21 UTC

[jira] [Commented] (CLOUDSTACK-6756) usage id is not being returned for an ip in deleted ip range

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-6756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14118338#comment-14118338 ] 

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

Commit 79edd933b3dfae9e56a71b72902e876a9816389b in cloudstack's branch refs/heads/hotfix/4.3-CLOUDSTACK-6756 from [~rajanik]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=79edd93 ]

Fixed CLOUDSTACK-6756: usage id is not being returned for an ip in deleted ip range

(cherry picked from commit df42ce903d399cf30055e55bc24b84fbc0b563a9)
Signed-off-by: Rohit Yadav <ro...@shapeblue.com>

Conflicts:
	api/src/com/cloud/network/IpAddress.java
	engine/components-api/src/com/cloud/network/addr/PublicIp.java
	engine/schema/src/com/cloud/dc/VlanVO.java
	engine/schema/src/com/cloud/network/dao/IPAddressVO.java
	server/src/com/cloud/configuration/ConfigurationManagerImpl.java

Deleted:
	setup/db/db/schema-430to440.sql


> usage id is not being returned for an ip in deleted ip range
> ------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6756
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6756
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Controller, Usage
>    Affects Versions: 4.3.0, 4.4.0
>            Reporter: Rajani Karuturi
>            Assignee: Rajani Karuturi
>            Priority: Critical
>             Fix For: 4.4.0
>
>
> 1. acquire an ip in an ip range
> 2. after some usage is recorded, release the ip 
> 3. delete the ip range
> 4. call list usage records
> This doesn't return the usage id for the ip acquired in step 1. 
> the ip's are hard deleted from the ip range and hence the api service couldnt get the uuid of the deleted ip.
> ip_addresses should be soft deleted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)