Repository navigation
Conversation
scotwells
force-pushed
the
feat/ipam-lab
branch
from
November 26, 2026 01:54
3a976a0 to
19f9925
Compare
scotwells
force-pushed
the
feat/ipam-claim-contract
branch
from
November 26, 2026 03:43
ba109e0 to
20cbcec
Compare
scotwells
force-pushed
the
feat/ipam-lab
branch
from
November 26, 2026 03:46
65b5ff5 to
0f89d68
Compare
3 of 4 tasks
scotwells
force-pushed
the
feat/ipam-claim-contract
branch
from
November 28, 2026 23:23
20cbcec to
b355e66
Compare
scotwells
force-pushed
the
feat/ipam-lab
branch
from
November 28, 2026 23:40
0f89d68 to
117c13a
Compare
scotwells
force-pushed
the
feat/ipam-claim-contract
branch
from
November 29, 2026 01:20
b355e66 to
6b2de4a
Compare
scotwells
force-pushed
the
feat/ipam-lab
branch
from
November 29, 2026 01:20
117c13a to
4297ea9
Compare
scotwells
force-pushed
the
feat/ipam-claim-contract
branch
from
November 29, 2026 02:04
6b2de4a to
ef820d6
Compare
scotwells
force-pushed
the
feat/ipam-lab
branch
from
November 29, 2026 02:04
4297ea9 to
7357126
Compare
4 tasks done
scotwells
force-pushed
the
feat/ipam-claim-contract
branch
from
November 29, 2026 02:15
ef820d6 to
33156b9
Compare
scotwells
force-pushed
the
feat/ipam-lab
branch
from
November 29, 2026 02:15
7357126 to
f7d4685
Compare
scotwells
marked this pull request as ready for review
November 29, 2026 02:59
ecv
approved these changes
Nov 29, 2026
ecv
left a comment
Contributor
There was a problem hiding this comment.
Approve.
The lab now runs the real IPAM behind the provider project's Milo API with its own PostgreSQL, replacing the in-process stand-in. It is lab only and only with --synced-dhcp, which CI never selects. Everything IPAM-specific (token, class lab-provisioning, the 192.168.77.0/24 pool, APIService, NetworkPolicy, RBAC) lives in the provider project's lab Milo or the lab platform cluster, so lab claims cannot touch a non-lab pool.
- The one change reaching every lab run is the front-proxy flags on the provider Milo (
config/multiplane/milo/provider/kustomization.yaml). CI'sacceptance (localvm, flux)andacceptance (redfish, flux)passed with it, which covers static runs. The generated CA and client key are 2-day, per-run and enrolled out of band, never in the source. - The IPAM token is added to the provider tokens only when synced and gets
system:masters, like the bootstrap token. Acceptable for a throwaway lab Milo; keep it from being copied into any real config. - The lab marks the IPAM APIService Available itself by patching its status. If IPAM is not Ready the lab still passes that gate, so rely on the wait for
ipclassesthrough the provider API that follows it. That wait is bounded at 300s. - The synced run has not executed (the PR says so), so IPAM's startup against the lab Milo and the sampler's field names (
allocatedCIDR,boundAllocationRef,claimRef) are unproven against the pinned release. CI'sharnesscheck covers inventory and digests only.
Follow-ups:
In synchronized DHCP mode the multiplane Redfish lab now runs the real IPAM service (milo-os/ipam v0.6.0, manifests and image pinned by digest) on the platform cluster, aggregated by the provider project's Milo API, with its own pinned PostgreSQL. Fleet adds no database. Quota is off because the lab Milo serves no quota API. Bootstrap enrolls the front-proxy, serving and database credentials at run time, registers the APIService, and creates the lab-provisioning class and a pool that allocates only 192.168.77.100-199. The stand-in claim CRD and binder are gone from the lab path; envtests keep their stand-in. A background sampler records IPAM's claims and allocations for the whole run, recording failed reads instead of stopping. The synced DHCP phase ties every Kea lease to IPAM's allocation for that operation's own claim, bridging a window IPAM could not be read only by the same allocation on both sides, requires a recent last sample, and requires every claim and allocation released and the pool back to its reservations. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The provider Milo in every lab run held a cluster-admin token for IPAM, which only synchronized DHCP runs. It now exists only there, and IPAM's sampler starts only for the scenario groups that release a target. The synchronized DHCP evidence also counts a Kea row that renews a live lease as that lease, reads a claim's address from its single-host CIDR when IPAM sets no address, and keys each boot window by its admission. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A released lease no longer counts as live, so a later grant of the same address and MAC is a new grant, not a renewal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells
force-pushed
the
feat/ipam-claim-contract
branch
from
November 29, 2026 07:18
33156b9 to
179e58a
Compare
scotwells
force-pushed
the
feat/ipam-lab
branch
from
November 29, 2026 07:19
f7d4685 to
f0be8dd
Compare
ecv
approved these changes
Nov 29, 2026
ecv
left a comment
Contributor
There was a problem hiding this comment.
Approve.
Rebase only: range-diff against my last review shows no change to this PR's commits.
Base automatically changed from
feat/ipam-claim-contract
to
feat/manual-inventory-records
November 29, 2026 14:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In its synchronized DHCP mode, the lab now takes boot addresses from the real IPAM service, served through the provider project's Milo API with its own lab database, in place of a stand-in. The DHCP check ties every address the site's DHCP handed out to IPAM's allocation for that operation's own claim, and requires every claim and allocation released at the end. The synchronized lab has not run yet, so IPAM's startup against the lab's Milo is unproven. Stacked on #216.
Related to #186
How it stays inactive
It is lab only. IPAM and its database start only when the lab runs with synchronized DHCP, which is off by default and which CI never selects, and no deployed configuration includes either. The lab gives IPAM a token only in that mode. One part reaches every lab run: the provider Milo now starts with the aggregation layer's front proxy, which static runs also get.
Decisions for a person
Test plan
gh pr checksentry green on the head, including the multi-plane acceptance🤖 Generated with Claude Code