Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Verify ownership before detaching/deleting a floating IP

Open
#265 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
go

Research direction

Start in internal/provider/load_balancer.go at EnsureLoadBalancerDeleted and the recreate path in ensureLoadBalancer, then trace how the CCM creates floating IPs and sets their description. Ensure both paths refuse to detach or delete a name-colliding IP without the managed description, with the refusal visible in events or logs; verify that a user-created IP remains intact.

Written by the indexing model from the issue text.

Description

Bug Kubernetes Cloud Controller Manager (CCM)

Context

EnsureLoadBalancerDeleted (internal/provider/load_balancer.go) detaches and deletes any floating IP whose name matches the computed load balancer name — including one a user created by hand. Oxide has no resource tags (HasClusterID() is false), so there's no ownership marker today.

Scope

The CCM already sets Description: "Managed by oxide-cloud-controller-manager." on create. Check that description before detach/delete (in both EnsureLoadBalancerDeleted and the recreate path in ensureLoadBalancer) and refuse with a clear error/event on mismatch.

Done when

A name-colliding, user-created floating IP is never deleted by the CCM, and the refusal is visible in events/logs.

Related: collision-proof LB names — ship both in the same release with one migration note.

Dominant language
Go
Stars
6
Forks
2
Avg merge
2h 37m
Merged PRs (30d)
11

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from oxidecomputer/oxide-cloud-controller-manager

All issues in oxidecomputer/oxide-cloud-controller-manager

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.