You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Bharat Kumar (JIRA)" <ji...@apache.org> on 2013/05/27 17:10:20 UTC

[jira] [Resolved] (CLOUDSTACK-2641) [Multiple_IP_Ranges] Failure in deleting guest IP range should mark nic_ip_alias state to Revoked

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

Bharat Kumar resolved CLOUDSTACK-2641.
--------------------------------------

    Resolution: Not A Problem
    
> [Multiple_IP_Ranges] Failure in deleting guest IP range should mark nic_ip_alias state to Revoked 
> --------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2641
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2641
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: Latest build from master branch: CloudStack-non-OSS-MASTER-394-rhel6.3.tar.gz
>            Reporter: Sanjeev N
>            Assignee: Bharat Kumar
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Failure in deleting guest IP range should mark ip alias state in nic_ip_alias table to Revoked 
> Steps to Reproduce:
> =================
> 1.Bring up CS in basic zone with xenserver 6.1
> 2.Exhaust all the guest IP ranges from the primary IP range added during zone creation
> 3.Add another guest IP range in new CIDR
> 4.Deploy guest vm
> 5.Set expunge interval to a small value say 60 secs, and restart management server
> 6.Destroy the guest vm deployed at step4
> 7.After vm expunge, delete the guest IP range added at step3
> Expected Result:
> =============
> In case of successful deletion of the guest IP range , ip alias created on VR should be deleted and the entry from nic_ip_alias table should be removed.
> Actual Result:
> ============
> Due to bug CLOUDSTACK-2621, IP range deletion failed and alias IP address remained in allocated state in user_ip_address table but ip alias was removed from the backend(from the VR).
> nic ip alias state shows active in the DB.
> Impact:
> ======
> Since the deletion failed, if the user wants to use the ip range and tries to deploy vm using this guest IP range, guest vms does not get the IP address since VR does not have ip alias to server dhcp request in this guest range.
> CS does not try to recreate ip alias on VR since nic_ip_alias table shows the state as active.
> mysql> select * from nic_ip_alias\G;
> *************************** 1. row ***************************
>                 id: 1
>               uuid: 757537e5-2c30-47ef-9534-9624ff908af0
>             nic_id: 9
>        ip4_address: 10.147.43.132
>        ip6_address: NULL
>            netmask: 255.255.255.192
>            gateway: 10.147.43.129
> start_ip_of_subnet: 10.147.43.129
>         network_id: 204
>               vmId: 4
>        alias_count: 18
>            created: 2013-05-22 15:14:21
>         account_id: 2
>          domain_id: 1
>              state: active
> 1 row in set (0.00 sec)
> ERROR:
> No query specified

--
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