You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "venkata swamybabu budumuru (JIRA)" <ji...@apache.org> on 2013/06/27 23:11:19 UTC

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

venkata swamybabu budumuru created CLOUDSTACK-3246:
------------------------------------------------------

             Summary: [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
            Priority: Critical
             Fix For: 4.2.0


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