Populate the power parameter mac_address during enlistment
Bug #1887436 reported by
Nick Niehoff
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Lee Trager |
Bug Description
When a new machine pxe boots and goes through the provisioning phase MAAS should populate the mac_address field for the machines power-parameters if IPMI is discovered. The mac address can be found with ipmitool using:
ipmitool lan print
Related branches
~ltrager/maas:lp1887436
Merged
into
maas:master
- Adam Collard (community): Approve
- MAAS Lander: Approve
-
Diff: 348 lines (+145/-41)2 files modifiedsrc/metadataserver/builtin_scripts/commissioning_scripts/bmc_config.py (+28/-16)
src/metadataserver/builtin_scripts/commissioning_scripts/tests/test_bmc_config.py (+117/-25)
summary: |
- [feature] MAAS should populate the power parameter mac_address during - enlistment + Populate the power parameter mac_address during enlistment |
Changed in maas: | |
status: | Incomplete → Triaged |
importance: | Undecided → Medium |
milestone: | none → 2.9.0b1 |
Changed in maas: | |
milestone: | 2.9.0b1 → 2.9.0b2 |
Changed in maas: | |
milestone: | 2.9.0b2 → 2.9.0b3 |
milestone: | 2.9.0b3 → 2.9.0b4 |
Changed in maas: | |
milestone: | 2.9.0b4 → 2.9.0b7 |
Changed in maas: | |
assignee: | nobody → Lee Trager (ltrager) |
Changed in maas: | |
milestone: | 2.9.0b7 → 2.9.0b8 |
Changed in maas: | |
milestone: | 2.9.0b8 → 2.9.0rc1 |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
When a MAC address is given MAAS issues an arp request to find the IP to use as the power address[1]. Any given power address is then ignored. Using ARP to map a MAC address with an IP isn't considered as reliable as just using the IP. As MAAS uses the power address to determine which rack controller to issue power commands from having both can cause power failures as well.
Do you have a use case for using ARP over an IP address or is this more of a cosmetic thing?
[1] https:/ /git.launchpad. net/maas/ tree/src/ provisioningser ver/drivers/ power/ipmi. py#n313