BMC host auto-discovery in IPMI network
Problem description:
Currently nodes registration has to be done manually either by filling instackenv.json or by using TripleO UI. It is not the most convenient way especially in case of scaling up a cloud.
Proposal:
Before registration all bare-metal nodes need to be physically connected to IPMI network. We can scan this network periodically to find all new nodes and automate registration process and introspection of hardware.
Arp-scan component can be used for this purpose. We can scan provided IP range. After find a new node we can use the following information to register it: MAC address, IP address and device vendor.
To do:
- Scanning IMPI network periodically,
- After finding a nodes checking if it is already registered in ironic,
- If it is a new node register it in ironic with provided credentials to BMC and proper pxe driver based on vendor information form arp-scan output,
- Wait for power state update and run hardware introspection.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Marek Skotnicki
- Direction:
- Needs approval
- Assignee:
- Marek Skotnicki
- Definition:
- New
- Series goal:
- Accepted for future
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by