Enlistment does not do BMC discovery

Bug #1042004 reported by Julian Edwards
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Andres Rodriguez
cloud-init
Invalid
Undecided
Unassigned

Bug Description

Without BMC discovery, power parameters have to be entered manually. This can be difficult when the BMC uses DHCP itself.

Related branches

Changed in maas:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Julian Edwards (julian-edwards) wrote :

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 Comments
#
# In the Lan_Conf section, typical networking configuration is setup. Most users
# will choose to set "Static" for the "IP_Address_Source" and set the
# appropriate "IP_Address", "MAC_Address", "Subnet_Mask", etc. for the machine.
#
Section Lan_Conf
 ## Possible values: Unspecified/Static/Use_DHCP/Use_BIOS/Use_Others
 IP_Address_Source Use_DHCP
 ## Give valid IP address
 IP_Address 192.168.9.12
 ## Give valid MAC address
 MAC_Address 00:25:90:4B:AA:8A
 ## Give valid Subnet Mask
 Subnet_Mask 255.255.255.0
 ## Give valid IP address
 Default_Gateway_IP_Address 192.168.9.1
 ## Give valid MAC address
 Default_Gateway_MAC_Address 00:00:00:00:00:00
 ## Give valid IP address
 Backup_Gateway_IP_Address 0.0.0.0
 ## Give valid MAC address
 Backup_Gateway_MAC_Address 00:00:00:00:00:00
 ## Give valid unsigned number
 Vlan_id 0
 ## Possible values: Yes/No
 Vlan_Id_Enable No
 ## Give valid unsigned number
 Vlan_Priority 0
EndSection

Revision history for this message
Julian Edwards (julian-edwards) wrote :
Changed in maas:
status: Triaged → In Progress
importance: High → Critical
assignee: nobody → Andres Rodriguez (andreserl)
Changed in maas:
status: In Progress → Fix Released
Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Re: [Bug 1042004] Re: Enlistment does not do BMC discovery

 \o/ thank you, looking forward to testing it. So this is a straight
pxe-boot enlist and it should Just Work (tm)?

Revision history for this message
Andres Rodriguez (andreserl) wrote :

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.

Changed in maas:
status: Fix Released → In Progress
Changed in maas:
status: In Progress → Fix Released
Changed in cloud-init:
status: New → Invalid
Revision history for this message
James Falcon (falcojr) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.