Repository navigation
fix: discover LXC DHCP addresses from runtime interfaces - #277
Closed
MikeTsenatek wants to merge 1 commit into
Closed
MikeTsenatek wants to merge 1 commit into
MikeTsenatek wants to merge 1 commit into
Conversation
MikeTsenatek
marked this pull request as ready for review
November 22, 2026 09:46
Owner
|
Thank you @MikeTsenatek for this fix and its tests. It's now on
Because the commit was squashed instead of merged from this branch, I'm closing this PR manually. The change ships in the next proxbox-api release. |
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.
LXC containers configured with
ip=dhcpcurrently sync their interfaces and MAC addresses but no IP addresses: runtime network discovery is restricted to QEMU guest agents, and the configuration fallback skipsdhcp.This change reads
GET /nodes/{node}/lxc/{vmid}/interfacesthrough the existing authenticated Proxmox session and normalizes the response with the pinned SDK models. Full VM network sync and standalone interface/IP stages reuse the existing MAC/name matching, address filtering, and NetBox IP reconciliation. Olderinet/inet6response shapes are supported; unavailable runtime interfaces preserve static configuration fallback and emit a secret-free warning. No Proxmox writes, API changes, migrations, or plugin compatibility-floor changes are introduced.Validation:
Outstanding validation: the complete core test run did not finish within the local time limit and recorded a failure; the full suite and coverage gate are not claimed as passing. The documented
e2e/docker/docker-compose.yml,wait-for-stack.sh, andsmoke.share absent from this checkout, so Docker E2E qualification is still outstanding. Opening as a draft for review and CI qualification.