Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allocating floating IPs on OpenStack may only partially succeed, not be deco'd on de-provision #43

Open
haxsaw opened this issue Mar 5, 2016 · 0 comments
Assignees
Labels

Comments

@haxsaw
Copy link
Owner

haxsaw commented Mar 5, 2016

Allocating a floating IP for a host on openstack is a two-part process: first, the IP must be allocated, and second, it must be associated with a server. It currently is possible to allocate the IP but fail to associate it with a server (if the IP was connect to a network that doesn't have a route to it), which causes the overall operation to fail. However, the FIP remains allocated, even though the process is considered to have failed.

What needs to happen is to treat this in a more transactional fashion: if the association fails, then the FIP should be released, and allow the failure to halt the provisioning process. This will ensure that everything will be in a consistent state such that teardown will release all allocated resources.

@haxsaw haxsaw added the bug label Mar 5, 2016
@haxsaw haxsaw self-assigned this Mar 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant