Skip to content

fix: retry to assign the elastic ip#1361

Open
lukashankeln wants to merge 1 commit into
cattle-ops:mainfrom
lukashankeln:fix/elastic-ips
Open

fix: retry to assign the elastic ip#1361
lukashankeln wants to merge 1 commit into
cattle-ops:mainfrom
lukashankeln:fix/elastic-ips

Conversation

@lukashankeln

Copy link
Copy Markdown

Description

Assigning the elastic ip for the managing instance will now be retried 7 times.

This avoids issues if aws is not fast enough to release the elastic ip when updating the managing runner.

Migrations required

No

Verification

Elastic IP assignment should still work even if aws does not release the elastic ip immediately.

@github-actions

github-actions Bot commented Feb 9, 2026

Copy link
Copy Markdown
Contributor

Hey @lukashankeln! 👋

Thank you for your contribution to the project. Please refer to the contribution rules for a quick overview of the process.

Make sure that this PR clearly explains:

  • the problem being solved
  • the best way a reviewer and you can test your changes

With submitting this PR you confirm that you hold the rights of the code added and agree that it will published under this LICENSE.

The following ChatOps commands are supported:

  • /help: notifies a maintainer to help you out

Simply add a comment with the command in the first line. If you need to pass more information, separate it with a blank line from the command.

This message was generated automatically. You are welcome to improve it.

@tibuntu

tibuntu commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

@kayman-mk any chance this gets a review soon? In the past rotation of the ec2 instances after certain changes went really well for us, until we started to face the issue described above. Currently we need to manually delete the instances to ensure smooth rollout.

@kayman-mk kayman-mk left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have never seen problems here as I am not using EIP. Thanks for fixing this.

I added some improvements and fixed some older problems in the code. Let me know if you can go with my proposal.

Comment thread template/eip.tftpl Outdated
Signed-off-by: Lukas Hankeln <lukashankeln@googlemail.com>
@tibuntu

tibuntu commented May 29, 2026

Copy link
Copy Markdown
Contributor

@kayman-mk can this be merged soon? Causes real pain within our infrastructure.

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.

3 participants