[WIP] Add support to configure hosts automatically / host discovery #9
Labels
No Label
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ungleich-public/cdist#9
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Objective
Be able to boot/netboot a host and have it automatically configured with cdist.
Methods for discovery
ICMP6
In the PoC
cdist scan
we uses scapy/ icmp6 on the IPv6 all hosts multicast group. This is rather reliable to find "all active hosts" on a layer 2 segment. However this requires root privileges. In theory we could drop root rights, but then would need some kind of--user
argh. It is not clear whether this could not be solved nicer, as it is not clear whether icmp6 needs raw socket access.This might actually easy be separately using pipes:
And
cdist scan
output would be interpreted as a regular user.ping/icmp
Similar idea on broadcasting, untested.
Host lists / patterns
Inventory only (?)
Operational challenges
** We might need to maps this to other name(s) used usually in the manifest
Steps
(tbd)