power error on some servers with status "new"

Bug #1703535 reported by Marcus Wellnitz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Medium
Andres Rodriguez
2.2
Triaged
Medium
Unassigned

Bug Description

On a servers first PXE-boot cloud-init creates a new user for the BMC (not only) to remote power on the Server. If the ipmi-over-lan is disabled maas is not enabling the feature. That leads to an 'power error' (IPMI is configured but not available via network)

For every Dell server ipmi-over-lan is disabled by default.

The solution I found out is very easy using `bmc_set`:

in ~/provisioningserver/templates/commissioning-user-data/snippets/maas_ipmi_autodetect.py

add a function:
def bmc_set_lan_channel_always_available():
    bmc_set('Lan_Channel:Volatile_Access_Mode', "Always_Available")
    bmc_set('Lan_Channel:Non_Volatile_Access_Mode', "Always_Available")

in main() after "configure_ipmi_user(IPMI_MAAS_USER, IPMI_MAAS_PASSWORD)"
include "bmc_set_lan_channel_always_available()"

Tags: power dell ipmi
tags: added: dell ipmi power
Revision history for this message
Marcus Wellnitz (mwellnitz) wrote :

affects python3-maas-provisioningserver

no longer affects: maas (Ubuntu)
Changed in maas:
milestone: none → 2.3.0
assignee: nobody → Andres Rodriguez (andreserl)
importance: Undecided → High
status: New → Triaged
importance: High → Medium
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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