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 2013/06/28 00:02:19 UTC

[jira] [Commented] (CLOUDSTACK-3246) [PortableIP] Unable to use portable IPs if the portable IP range is deleted and re-added at least once

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

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

Commit 4bbc65b34ca1bd2a387161badadc8aea25d74020 in branch refs/heads/master from [~devdeep]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4bbc65b ]

CLOUDSTACK-3246: Unable to use portable ips if the portable ip range is deleted and readded atleast once. Fixed the query used to look for available portable ips.

                
> [PortableIP] Unable to use portable IPs if the portable IP range is deleted and re-added at least once
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3246
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3246
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Controller
>    Affects Versions: 4.2.0
>            Reporter: venkata swamybabu budumuru
>            Assignee: Devdeep Singh
>            Priority: Critical
>             Fix For: 4.2.0
>
>         Attachments: logs.tgz
>
>
> Steps to reproduce :
> 1. Have at least one cloudstack setup with advanced zone running xenserver
> 2. As a ROOT admin, add an ip range at region level.
> 3. deletePortableIpRange that was added above
> 4. add the same IP range again
> 5. As any non-ROOT admin account, try to acquire an IP on ISOLATED n/w using isPortable=true
> Obervations:
> (i) It failed with the following error " Unable to find available portable IP addresses"
> 013-06-27 22:12:25,471 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null) ===END===  10.252.113.30 -- GET  command=listRemoteAccessVpns&response=json&sessionkey=3nquckMOCIAj8fBlBQFCCKl2NMo%3D&listAll=true&publicipid=f1b6ce01-73d6-444d-8615-d8213ba67890&_=1372365826498
> 2013-06-27 22:12:29,278 DEBUG [cloud.api.ApiServlet] (catalina-exec-24:null) ===START===  10.252.113.30 -- GET  command=associateIpAddress&response=json&sessionkey=3nquckMOCIAj8fBlBQFCCKl2NMo%3D&isportable=true&networkid=f83ba8a2-ef38-4359-8e3d-3a505e6cb3d0&_=1372365830264
> 2013-06-27 22:12:29,307 DEBUG [db.Transaction.Transaction] (catalina-exec-24:null) Rolling back the transaction: Time = 2 Name =  allocatePortableIp; called by -Transaction.rollback:890-Transaction.removeUpTo:833-Transaction.close:657-TransactionContextBuilder.interceptException:63-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:133-NetworkServiceImpl.allocatePortableIP:597-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-AssociateIPAddrCmd.create:228-ApiDispatcher.dispatchCreateCmd:101-ApiServer.queueCommand:475-ApiServer.handleRequest:371-ApiServlet.processRequest:304
> 2013-06-27 22:12:29,411 INFO  [user.address.AssociateIPAddrCmd] (catalina-exec-24:null) com.cloud.exception.InsufficientAddressCapacityException: Unable to find available portable IP addressesScope=interface org.apache.cloudstack.region.Region; id=1
> 2013-06-27 22:12:29,411 TRACE [user.address.AssociateIPAddrCmd] (catalina-exec-24:null) com.cloud.exception.InsufficientAddressCapacityException: Unable to find available portable IP addressesScope=interface org.apache.cloudstack.region.Region; id=1
> 2013-06-27 22:12:29,412 INFO  [cloud.api.ApiServer] (catalina-exec-24:null) Unable to find available portable IP addresses
> 2013-06-27 22:12:29,413 DEBUG [cloud.api.ApiServlet] (catalina-exec-24:null) ===END===  10.252.113.30 -- GET  command=associateIpAddress&response=json&sessionkey=3nquckMOCIAj8fBlBQFCCKl2NMo%3D&isportable=true&networkid=f83ba8a2-ef38-4359-8e3d-3a505e6cb3d0&_=1372365830264
> attaching all the required logs along with db dump to the bug.

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