[WIP] Add support to configure hosts automatically / host discovery #9
Labels
No labels
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ungleich-public/cdist#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 scanwe 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--userargh. 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 scanoutput 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)