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

Fix a bug where previously leased subnets would not update etcd leases #761

Merged
merged 1 commit into from
Jun 30, 2017

Conversation

mgleung
Copy link
Contributor

@mgleung mgleung commented Jun 29, 2017

Description

Previously leased subnets were not reused properly so in the case that there was a subnet config file created from a previous run, the code would try to recreate that lease even if it already existed within etcd. This fix allows leases that match the previously leased subnet to be reused even if information about it changes (like the public ip address)

Bug introduced by #752

Fixes #760

Testing

@tomdee
Copy link
Contributor

tomdee commented Jun 30, 2017

LGTM

@tomdee tomdee merged commit ffd72b6 into flannel-io:master Jun 30, 2017
@mgleung mgleung deleted the public-ip-change branch June 30, 2017 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flannel has problems if public IP changes
2 participants