commission failed with MAAS 3.1 when BMC has multiple channels but the first channel is disabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Unassigned | ||
3.1 |
Won't Fix
|
Undecided
|
Unassigned | ||
3.2 |
Fix Released
|
Medium
|
Unassigned | ||
3.3 |
Fix Released
|
Medium
|
Alexsander de Souza |
Bug Description
One of UA customer can not commission a machine successfully with MAAS 3.1.
The machine has a BMC with 3 LAN channels(3 ports), but only 1 port/channel is enabled(not the first one).
30-maas-
.....
Unknown section `Lan6_Conf', perhaps another category must be specified (see --category)
Unknown section `Lan6_Conf', perhaps another category must be specified (see --category)
Unknown section `Lan6_Conf', perhaps another category must be specified (see --category)
Unknown section `Lan6_Conf', perhaps another category must be specified (see --category)
.....
ERROR: Unable to determine BMC IP address!
NFO: Loading IPMI kernel modules...
INFO: Checking for HP Moonshot...
INFO: Checking for IPMI...
INFO: IPMI detected!
INFO: Reading current IPMI BMC values...
INFO: Configuring IPMI Lan_Channel...
INFO: Configuring IPMI Lan_Channel_Auth...
INFO: Lan_Channel_Auth settings unavailable!
INFO: Configuring IPMI cipher suite ids...
INFO: Gathering supported cipher suites and current configuration...
INFO: BMC supports the following ciphers - [1, 2, 3, 6, 7, 8, 11, 12, 15, 16, 17]
INFO: Current cipher suite configuration - XXXXXXXXXXXXXXX
INFO: New cipher suite configuration - XXXXXXXXXXXXXXX
INFO: MAAS will use IPMI cipher suite id "17" for BMC communication
WARNING: No K_g BMC key found or configured, communication with BMC will not use a session key!
INFO: Configuring IPMI Serial_Channel...
INFO: Serial_Channel settings unavailable!
INFO: Configuring IPMI SOL_Conf...
INFO: Found existing IPMI user "admin01"!
INFO: Configuring IPMI BMC user "admin01"...
INFO: IPMI user number - User2
INFO: IPMI user privilege level - Administrator
INFO: IPMI Version - LAN_2_0
INFO: IPMI boot type - efi
NFO: Attempting to enable preconfigured static IP on BMC...
INFO: Reading current IPMI BMC values...
INFO: Reading current IPMI BMC values...
INFO: Reading current IPMI BMC values...
INFO: Attempting to enable DHCP on BMC...
INFO: Reading current IPMI BMC values...
INFO: Reading current IPMI BMC values...
......
ii maas-cli 1:3.1.0-
ii maas-common 1:3.1.0-
ii maas-proxy 1:3.1.0-
ii maas-region-api 1:3.1.0-
ii maas-region-
ii python3-django-maas 1:3.1.0-
ii python3-maas-client 1:3.1.0-
ii python3-
power configuration is as below:
- power type: IPMI
- Power driver: LAN_2+0[IPMI 2.0]
- Power boot type: automatic
- IP address: 10.x.x.x
- Power user: maasdeploy
- power password: xxxx
- k_g BMC key: empty
- cipher suite ID: 3- HMAC-SHA1:
- Privilege level: operator
- power mac A4:BF:01:AB:CD:EC
I ask customer to dump bmc-config via 'bmc-config -h <ipmi-ip> -p <ipmi-password> -u <ipmi-user> --checkout'
PFA bmc_config_
From bmc_config_
"
Section Lan_Conf
IP_Address_Source Use_DHCP
IP_Address 0.0.0.0
MAC_Address A4:BF:01:AB:CD:EA
Subnet_Mask 0.0.0.0
Default_
Default_
Backup_
Backup_
EndSection
"
We believe that why 30-maas-
Related branches
- Alexsander de Souza: Approve
- MAAS Lander: Approve
-
Diff: 365 lines (+122/-94)3 files modifiedcreds.yaml (+0/-0)
src/metadataserver/builtin_scripts/commissioning_scripts/bmc_config.py (+55/-40)
src/metadataserver/builtin_scripts/commissioning_scripts/tests/test_bmc_config.py (+67/-54)
- Alexsander de Souza: Approve
- MAAS Lander: Approve
-
Diff: 365 lines (+122/-94)3 files modifiedcreds.yaml (+0/-0)
src/metadataserver/builtin_scripts/commissioning_scripts/bmc_config.py (+55/-40)
src/metadataserver/builtin_scripts/commissioning_scripts/tests/test_bmc_config.py (+67/-54)
- MAAS Lander: Approve
- Jack Lloyd-Walters: Approve
-
Diff: 365 lines (+122/-94)3 files modifiedcreds.yaml (+0/-0)
src/metadataserver/builtin_scripts/commissioning_scripts/bmc_config.py (+55/-40)
src/metadataserver/builtin_scripts/commissioning_scripts/tests/test_bmc_config.py (+67/-54)
Changed in maas: | |
status: | Incomplete → Triaged |
importance: | Undecided → Medium |
Changed in maas: | |
milestone: | none → 3.4.0 |
status: | Triaged → Fix Committed |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Please, run the bcm-config command again in verbose mode:
# bmc-config -h <ipmi-ip> -p <ipmi-password> -u <ipmi-user> --checkout --verbose
This mode shows the additional channels settings in `Lan_Conf_ Channel_ x` sections.
The output should give us an idea about the work required to support multiple channels in MAAS (currently unsupported) and if any workaround is possible.