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/02/24 05:23:49 UTC

[GitHub] [cloudstack] sureshanaparti opened a new issue #4723: UI show the reserved public IPs of other account while acquire new IPs in the network

sureshanaparti opened a new issue #4723:
URL: https://github.com/apache/cloudstack/issues/4723


   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   UI show the reserved public IPs of other account while acquire new IPs in the network
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Network
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master branch.
   -->
   
   ~~~
   4.14.0
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   UI show the list of reserved public IPs of other account while acquire new IPs in the network
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   1) Create a zone with advanced network
   2) Add two different public IP ranges in the Public Network and reserve them to two different accounts, say account01 and account02.
   3) Login with account01, and create a network, say network01
   4) Try to acquire new IP in the network01, which lists the reserved IPs for account02.
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   The reserved public IPs of other account shouldn't be listed while acquiring new IP.
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   The reserved public IPs of other account are listed while acquiring new IP.
   ~~~
   


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



[GitHub] [cloudstack] rhtyd 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

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4723:
URL: https://github.com/apache/cloudstack/issues/4723#issuecomment-789520868


   @shwstppr can you test if PR #4675 fixes the issue for this bug?


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



[GitHub] [cloudstack] DaanHoogland commented on issue #4723: UI show the reserved public IPs of other account while acquire new IPs in the network

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #4723:
URL: https://github.com/apache/cloudstack/issues/4723#issuecomment-784997787


   @sureshanaparti if the UI shows that the API must return those as well, which seems the real issue, did you check that?


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



[GitHub] [cloudstack] sureshanaparti 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

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on issue #4723:
URL: https://github.com/apache/cloudstack/issues/4723#issuecomment-787873092


   > , did you check th
   
   yes @DaanHoogland , API is ignoring account when listing unallocated IPs (allocatedonly=false)


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



[GitHub] [cloudstack] weizhouapache 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

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #4723:
URL: https://github.com/apache/cloudstack/issues/4723#issuecomment-787878781


   @sureshanaparti this might be fixed by #4675
   
   @ravening could you confirm ?


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



[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

Posted by GitBox <gi...@apache.org>.
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



[GitHub] [cloudstack] sureshanaparti removed a comment 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

Posted by GitBox <gi...@apache.org>.
sureshanaparti removed a comment on issue #4723:
URL: https://github.com/apache/cloudstack/issues/4723#issuecomment-787873092


   > , did you check th
   
   yes @DaanHoogland , API is ignoring account when listing unallocated IPs (allocatedonly=false)


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



[GitHub] [cloudstack] rhtyd closed 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

Posted by GitBox <gi...@apache.org>.
rhtyd closed issue #4723:
URL: https://github.com/apache/cloudstack/issues/4723


   


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



[GitHub] [cloudstack] rhtyd 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

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4723:
URL: https://github.com/apache/cloudstack/issues/4723#issuecomment-811697545


   Fixed in https://github.com/apache/cloudstack/pull/4675


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



[GitHub] [cloudstack] ravening 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

Posted by GitBox <gi...@apache.org>.
ravening commented on issue #4723:
URL: https://github.com/apache/cloudstack/issues/4723#issuecomment-787900644


   > @sureshanaparti this might be fixed by #4675
   > 
   > 
   > 
   > @ravening could you confirm ?
   
   Yes that pr fixes the issue


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



[GitHub] [cloudstack] sureshanaparti 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

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on issue #4723:
URL: https://github.com/apache/cloudstack/issues/4723#issuecomment-787911560


   thanks for the confirmation @ravening 


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



[GitHub] [cloudstack] sureshanaparti 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

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on issue #4723:
URL: https://github.com/apache/cloudstack/issues/4723#issuecomment-787873494


   > @sureshanaparti if the UI shows that the API must return those as well, which seems the real issue, did you check that?
   
   yes @DaanHoogland , API is ignoring account when listing unallocated IPs (allocatedonly=false)


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