You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/03/18 07:09:10 UTC

[GitHub] [cloudstack] shwstppr commented on issue #4723: listPublicIpAddresses API lists the (unallocated) reserved public IPs of other account, and resulting in UI to show other account's public IPs while acquire new IPs in the network

shwstppr commented on issue #4723:
URL: https://github.com/apache/cloudstack/issues/4723#issuecomment-801687343


   tested `listpublicipaddresses` API and Acquire New IP UI with #4675. IPs assigned to different account were not listed.
   And not able assign ip from another account.
   ```
   (local) 🐱 > list publicipaddresses id=1404f2a2-1c30-49a5-8aea-6da8cfa3295e
   {
     "count": 1,
     "publicipaddress": [
       {
         "fordisplay": true,
         "forvirtualnetwork": true,
         "id": "1404f2a2-1c30-49a5-8aea-6da8cfa3295e",
         "ipaddress": "192.168.5.5",
         "isportable": false,
         "issourcenat": false,
         "isstaticnat": false,
         "issystem": false,
         "networkid": "c8822cbc-1fd7-4a76-b6fd-04db5c103806",
         "physicalnetworkid": "2282fc1e-02f9-4b99-bc65-9c3c606b1b40",
         "state": "Free",
         "tags": [],
         "vlanid": "eac3ddb5-4635-445f-b727-8b4eed2ace08",
         "vlanname": "vlan://53",
         "zoneid": "6d560900-b905-4f31-af04-c2e3f947e9c6",
         "zonename": "Sandbox-simulator"
       }
     ]
   }
   
   (local) 🐱 > list networks id=b0a7048b-2dfc-4dbf-bd2e-cf5bbd4e7692 filter=id,name,account
   {
     "count": 1,
     "network": [
       {
         "account": "account1",
         "id": "b0a7048b-2dfc-4dbf-bd2e-cf5bbd4e7692",
         "name": "iso"
       }
     ]
   }
   
   (local) 🐱 > associate ipaddress networkid=b0a7048b-2dfc-4dbf-bd2e-cf5bbd4e7692 ipaddress=192.168.5.5
   🙈 Error: (HTTP 533, error code 9999) Insufficient address capacity


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org