Closed ubuntu-server-builder closed 1 year ago
Launchpad user Julian Edwards(julian-edwards) wrote on 2012-10-01T02:56:51.193799+00:00
Details capture from duplicate bug:
When a machine is declared to MAAS by booting ephemerally off PXE it should capture BMC information with:
sudo bmc-config --checkout
This provides a file like the attached, which can be parsed to gather IPMI details (ip address for the BMC specifically, but also details of user configuration and network config). The critical section looks like this:
ubuntu@node-0025904cbfb0:~$ sudo bmc-config --checkout --section Lan_Conf #
#
# Section Lan_Conf
IP_Address_Source Use_DHCP
IP_Address 192.168.9.12
MAC_Address 00:25:90:4B:AA:8A
Subnet_Mask 255.255.255.0
Default_Gateway_IP_Address 192.168.9.1
Default_Gateway_MAC_Address 00:00:00:00:00:00
Backup_Gateway_IP_Address 0.0.0.0
Backup_Gateway_MAC_Address 00:00:00:00:00:00
Vlan_id 0
Vlan_Id_Enable No
Vlan_Priority 0 EndSection
Launchpad user Julian Edwards(julian-edwards) wrote on 2012-10-01T02:57:28.319912+00:00
See also https://bugs.launchpad.net/maas/+bug/1059074/+attachment/3358361/+files/bmc-config.example.txt for example bmc-config output
Launchpad user Mark Shuttleworth(sabdfl) wrote on 2012-10-09T14:09:28+00:00
\o/ thank you, looking forward to testing it. So this is a straight pxe-boot enlist and it should Just Work (tm)?
Launchpad user Andres Rodriguez(andreserl) wrote on 2012-10-09T19:07:16.479785+00:00
Howdy.
Enlistment doesn't yet do BMC discovery,Commissioning does. However, the API now accepts power parameters which allow us sending the information back to MAAS during enlistment. Marking this bug as 'In Progress' as it is currently in progress.
Cheers.
This bug was originally filed in Launchpad as LP: #1042004
Launchpad details
Launchpad user Julian Edwards(julian-edwards) wrote on 2012-08-27T01:50:08.212705+00:00
Without BMC discovery, power parameters have to be entered manually. This can be difficult when the BMC uses DHCP itself.