[
https://issues.apache.org/jira/browse/DTACLOUD-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502755#comment-13502755
]
Michal Fojtik commented on DTACLOUD-361:
----------------------------------------
Can you please rebase this patch? I got some errors when I was applying it:
~/code/core/server › git am 0001-fgcp-return-new-ip-immediately.patch
Applying: fgcp: return new ip immediately
error: patch failed: server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb:704
error: server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb: patch does not apply
Patch failed at 0001 fgcp: return new ip immediately
The copy of the patch that failed is found in:
/home/mfojtik/code/core/.git/rebase-apply/patch
When you have resolved this problem, run "git am --resolved".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
> 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