docs: local_libvirt overlay binds on host_uri and renames the row, an unmatched host_uri warns
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python
- Domain
- documentation
Research direction
Update the claims in systems.toml.example, docs/operating/runbooks/image-lifecycle.md, and docs/operating/providers/examples/systems-local-libvirt.toml. Read the cited _overlay_one_local implementation in src/kdive/inventory/reconcile/resources.py to confirm how host_uri, name, warnings, and pool behave. Done when the docs describe those behaviors accurately; the proposed reconcile run is optional evidence for the docs-only change.
Written by the indexing model from the issue text.
Description
Problem
The example config and the egress runbook tell operators the [[local_libvirt]] name must match the discovery-created resource name or the overlay is "silently ignored". The code binds on host_uri, renames the row to the configured name, and warns (not silently) only when no discovered host has that host_uri.
Evidence
- systems.toml.example:321-322: "
namemust match the discovery-created resource name ... a mismatch is silently ignored." - docs/operating/runbooks/image-lifecycle.md:323: same claim, "and egress stays off".
- src/kdive/inventory/reconcile/resources.py:~496-540 (
_overlay_one_local):SELECT ... WHERE kind = ... AND host_uri = ...;UPDATE resources SET name = inst.name, cost_class, capabilities, pool; an absent host appends awarnedrecord "no discovered local-libvirt host at <host_uri>; overlay deferred". - Also docs/operating/providers/examples/systems-local-libvirt.toml:50-51 and systems.toml.example:319-320 say the overlay "only sets name/cost_class/concurrent_allocation_cap"; the overlay also sets
pool.
Expected
Docs say: the block binds by host_uri; name becomes the row's name; an unmatched host_uri is reported as an "overlay deferred" warning.
Proposed approach
Reword the three places; confirm with a reconcile run that a different name renames the row and does not disable egress. Docs-only.
Provenance
Follow-up from campaign 4c2c8dc9e59d-7f9a87f5-2251-458a-bb30-04fbb2d4b05c.
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 9h 13m
- Merged PRs (30d)
- 197
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from randomparity/kdive
-
area:core-platform effort:S priority:P3 risk:night-safe status:ready type:test
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
randomparity/kdive#3620 ·
Maintainers usually reply within 1 day
-
area:providers effort:S priority:P3 risk:night-watch status:ready type:docs
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
randomparity/kdive#3618 ·
Maintainers usually reply within 1 day
-
area:core-platform effort:S priority:P3 risk:night-safe status:ready type:test
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
randomparity/kdive#3603 ·
Maintainers usually reply within 1 day
-
area:providers effort:S priority:P3 risk:night-safe status:ready type:refactor
Difficulty 1/5 Under an hour Newbie friendliness 84/100
randomparity/kdive#3592 ·
Maintainers usually reply within 1 day
-
area:providers effort:S priority:P3 risk:night-safe status:ready type:docs
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
randomparity/kdive#3591 ·
Maintainers usually reply within 1 day
All issues in randomparity/kdive
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
FinanceFlash/unvibecode#760 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
google-research/google-research#3470 ·
Maintainers usually reply within 21 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
mrvautin/ha-workouts#11 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
laramies/theHarvester#2666 ·
Maintainers usually reply within 3 days