You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Dies Koper (JIRA)" <ji...@apache.org> on 2012/11/09 13:04:12 UTC

[jira] [Updated] (DTACLOUD-361) fgcp: return actual IP address instead of dummy when creating new address

     [ https://issues.apache.org/jira/browse/DTACLOUD-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dies Koper updated DTACLOUD-361:
--------------------------------

    Attachment: 0001-fgcp-return-new-ip-immediately.patch

In my recent testing I noticed that retrieving and enabling the IP address takes < 1 minute, so I'm changing the code to do the polling internally - it will look like a slow operation (60 seconds until it returns - hopefully less than the http timeouts) but the required API calls will be the same as with other providers.
Also my notes added on improved load balancer support.
                
> fgcp: return actual IP address instead of dummy  when creating new address
> --------------------------------------------------------------------------
>
>                 Key: DTACLOUD-361
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-361
>             Project: DeltaCloud
>          Issue Type: Improvement
>          Components: Server
>            Reporter: Dies Koper
>            Priority: Minor
>         Attachments: 0001-fgcp-return-new-ip-immediately.patch
>
>
> There is a difference between Deltacloud and FGCP API regarding public IP address allocation:
> In Deltacloud you allocate an IP address, it is returned immediately, and then you assign it to an instance.
> In FGCP, you allocate an IP address, nothing is returned immediately - you have to wait and poll the list of IP addresses until you notice a new one has been added and hope no one else allocated another one in the meantime as you won't know which was yours - then you need to enable the IP address, which is also an asynchronous operation, and then you can assign it to an instance.
> In the current Deltacloud implementation, you allocate an IP address and need to poll the list to find it. When you try to assign it to an instance the first time, you'll get an error back. It will however enable the IP address so if you retry the operation a minute later it will properly assign the IP address to a machine.
> Should try to bring the fgcp api into the fold.

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