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

add error message if FIP assigned to router #161

Merged
merged 1 commit into from
Nov 22, 2017

Conversation

alexander-demicev
Copy link

Router can't be deleted if has assigned floating ips.
https://bugzilla.redhat.com/show_bug.cgi?id=1470754

@alexander-demicev
Copy link
Author

@aufi
Copy link
Member

aufi commented Nov 16, 2017

After more detailed reading of the BZ, it looks we should lookup instances with Floating IP connected via the Router [1]. Router.floating_ips method returns list of floating_ip on the connected network, we propably could filter just FIPs which are associated with a VM on such network.

@alexander-demichev please include steps how this should be tested (positive and negative example), thanks!

[1] http://paste.openstack.org/show/626489/

@alexander-demicev alexander-demicev force-pushed the unsupported-router-delete branch from aa2715b to 0879469 Compare November 16, 2017 14:50
@alexander-demicev alexander-demicev force-pushed the unsupported-router-delete branch from 0879469 to fe16fb8 Compare November 22, 2017 10:01
@miq-bot
Copy link
Member

miq-bot commented Nov 22, 2017

Checked commit alexander-demicev@fe16fb8 with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 🏆

@aufi
Copy link
Member

aufi commented Nov 22, 2017

Looks good to me, merging!

@aufi aufi merged commit 4495c3f into ManageIQ:master Nov 22, 2017
@aufi aufi added the bug label Nov 22, 2017
@aufi aufi added this to the Sprint 74 Ending Nov 27, 2017 milestone Nov 22, 2017
@aufi
Copy link
Member

aufi commented Nov 22, 2017

BZ doesn't specify G-release as target release, feel free update it if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants