You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "kiranchavala (via GitHub)" <gi...@apache.org> on 2023/09/15 07:02:01 UTC

[GitHub] [cloudstack] kiranchavala opened a new issue, #7965: The release reserved ip functionality doesn't work from the UI

kiranchavala opened a new issue, #7965:
URL: https://github.com/apache/cloudstack/issues/7965

   ***ISSUE TYPE***
   
   * Bug Report
   
   ***COMPONENT NAME***
   
   Component: UI
   
   ***CLOUDSTACK VERSION***
   
   Cloudstack version 4.18
   
   ***SUMMARY***
   
   The release reserved ip functionality doesn't work from the UI
   
   https://cloudstack.apache.org/api/apidocs-4.18/apis/reserveIpAddress.html  
   
   
   We can remove the "remove release reserved ip" Icon and keep only "Release IP ICON"
   
   ***Steps to reproduce the issue***
   
   1. Create an isolated network
   
   2. Aquire some public ip for the network 
   
   Network > Guest network > Public Ip address > Aquire ip
   
   ![Releaseipaddress1](https://github.com/apache/cloudstack/assets/1401014/896a247d-d375-47c7-9563-34f3a984caf3)
   
   3. Select some public ip address for the network and click on Release reserved ip
   
   Network > Public Ip address > select some Public ip address for the network > and perform Release reserved ip
   
   ![Releaseipaddress2](https://github.com/apache/cloudstack/assets/1401014/8080b2d4-1eeb-427f-9b25-3afdcf755da6)
   
   It informs to execute the disassociateIpAddress api call
   
   ![Releaseipaddress3](https://github.com/apache/cloudstack/assets/1401014/a8ba38cd-1d5d-4995-a1b8-76ee20a3dbab)
   
   
   https://cloudstack.apache.org/api/apidocs-4.18/apis/disassociateIpAddress.html
   
   https://cloudstack.apache.org/api/apidocs-4.18/apis/releaseIpAddress.html
   
   
   ------
   
   The api calls works fine 
   ```
   
   (cmk)  > reserve ipaddress id=87385d0a-fea5-4f04-8894-6f515eb3211e
   {
     "ipaddress": {
       "account": "admin",
       "allocated": "2023-09-15T05:55:30+0000",
       "domain": "ROOT",
       "domainid": "c2e4ddb0-5127-11ee-b168-1e00af000354",
       "fordisplay": true,
       "forvirtualnetwork": true,
       "hasannotations": false,
       "id": "87385d0a-fea5-4f04-8894-6f515eb3211e",
       "ipaddress": "10.0.53.227",
       "isportable": false,
       "issourcenat": false,
       "isstaticnat": false,
       "issystem": false,
       "networkid": "b8bd6301-8a5e-4554-80ab-b0d3642f8581",
       "physicalnetworkid": "d1938364-e4cc-4611-8a57-461e4c47bd05",
       "state": "Reserved",
       "tags": [],
       "zoneid": "86d9a63a-3d0b-466f-8f32-81cefc39e31d",
       "zonename": "ref-trl-5653-k-M7-kiran-chavala"
     }
   }
   
   (cmk)  > release ipaddress id=87385d0a-fea5-4f04-8894-6f515eb3211e
   {
     "success": true
   }
   
   The release ipaddress api call fails if the ip address is in allocated state 
   For example
   
   (cmk) > release ipaddress id=87385d0a-fea5-4f04-8894-6f515eb3211e
   
   🙈 Error: (HTTP 431, error code 4350) Unable to release a public IP in Allocated state, please use disassociateIpAddress instead
   
   ```
   


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

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

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


[GitHub] [cloudstack] kiranchavala closed issue #7965: The release reserved ip functionality doesn't work from the UI

Posted by "kiranchavala (via GitHub)" <gi...@apache.org>.
kiranchavala closed issue #7965: The release reserved ip functionality doesn't work from the UI
URL: https://github.com/apache/cloudstack/issues/7965


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

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] kiranchavala commented on issue #7965: The release reserved ip functionality doesn't work from the UI

Posted by "kiranchavala (via GitHub)" <gi...@apache.org>.
kiranchavala commented on issue #7965:
URL: https://github.com/apache/cloudstack/issues/7965#issuecomment-1720777971

   @weizhouapache , i think we can show the release reserved icon only when the reserved  filter state is selected
   
   For the allocated ip address we can remove the icon 
   
   
   ![Screenshot 2023-09-15 at 12 29 55 PM](https://github.com/apache/cloudstack/assets/1401014/32b72358-151b-4972-8895-a7400a3c671e)
   
   ![Screenshot 2023-09-15 at 12 31 18 PM](https://github.com/apache/cloudstack/assets/1401014/d0db3def-31c8-4815-a9bc-b4cd3e775fee)
   


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

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] kiranchavala commented on issue #7965: The release reserved ip functionality doesn't work from the UI

Posted by "kiranchavala (via GitHub)" <gi...@apache.org>.
kiranchavala commented on issue #7965:
URL: https://github.com/apache/cloudstack/issues/7965#issuecomment-1720770718

   @weizhouapache thanks wei, I missed the filter closing 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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] weizhouapache commented on issue #7965: The release reserved ip functionality doesn't work from the UI

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #7965:
URL: https://github.com/apache/cloudstack/issues/7965#issuecomment-1720854958

   > @weizhouapache , i think we can show the release reserved icon only when the reserved filter state is selected
   > 
   > For the allocated ip address we can remove the icon
   > 
   > ![Screenshot 2023-09-15 at 12 29 55 PM](https://user-images.githubusercontent.com/1401014/268201937-32b72358-151b-4972-8895-a7400a3c671e.png)
   > 
   > ![Screenshot 2023-09-15 at 12 31 18 PM](https://user-images.githubusercontent.com/1401014/268202030-d0db3def-31c8-4815-a9bc-b4cd3e775fee.png)
   
   yes, it could be a valid UI improvement request. @kiranchavala 


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

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] weizhouapache commented on issue #7965: The release reserved ip functionality doesn't work from the UI

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #7965:
URL: https://github.com/apache/cloudstack/issues/7965#issuecomment-1720762168

   @kiranchavala 
   by default, the page lists only Allocated public Ips, which can not be released
   if you change the filter to Reserved, it will list the Reserved IPs, then the icon will work.
   
   in short, it is expected result.


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

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

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


Re: [I] The release reserved ip functionality doesn't work from the UI [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache closed issue #7965: The release reserved ip functionality doesn't work from the UI
URL: https://github.com/apache/cloudstack/issues/7965


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

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

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


Re: [I] The release reserved ip functionality doesn't work from the UI [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #7965:
URL: https://github.com/apache/cloudstack/issues/7965#issuecomment-2689931781

   fixed by #10351 


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

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

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