[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajani Karuturi resolved CLOUDSTACK-7270.
-----------------------------------------

    Resolution: Fixed

> Deleting public IP range or guest network permanently removes DB row/entry
> --------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7270
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7270
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: API, Usage
>    Affects Versions: 4.2.0, 4.2.1, 4.3.0, 4.4.0, 4.3.1
>            Reporter: Rohit Yadav
>            Assignee: Rajani Karuturi
>            Priority: Critical
>
> If you remove a public IP range or a shared network, the entry from 
> user_ip_address gets removed but entry in cloud_usage.cloud_usage for the 
> type=3 (ip address) does not. In case of portable IPs we definetely remove IP 
> entries, for others we need to check. This was discovered in 4.2.1, and then 
> again in 4.3 release
> This logic causes NPE when listing usage records in the service layer when we 
> do IPAddressVO object.getUuid().
> We need to discuss why we are not marking them as removed and should we 
> remove entry from cloud_usage table for type=3 (ip address) since in 
> cloud_usage table there is no field that says marked as removed (its 
> reference in user_ip_address table etc.)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to