30-maas-01-bmc-config: ERROR: Redfish string indices must be integers

Bug #1977864 reported by Björn Tillenius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Anton Troyanov
3.2
Fix Released
High
Anton Troyanov

Bug Description

Got this when running 30-maas-01-bmc-config on a machine that has Redfish info in dmidecode data:

File "/tmp/user_data.sh.HwMzjq/scripts/commissioning/29-maas-01-bmc-config", line 1080, in detect_and_configure
    if bmc.detected():
  File "/tmp/user_data.sh.HwMzjq/scripts/commissioning/29-maas-01-bmc-config", line 1013, in detected
    self._detect()
  File "/tmp/user_data.sh.HwMzjq/scripts/commissioning/29-maas-01-bmc-config", line 995, in _detect
    iface = get_network_interface(fd.read(), vendor_id, product_id)
  File "/tmp/user_data.sh.HwMzjq/scripts/commissioning/29-maas-01-bmc-config", line 1241, in get_network_interface
    if device_type not in machine_resources["resources"]:
INFO: Loading IPMI kernel modules...
INFO: Checking for HP Moonshot...
INFO: Checking for Redfish...
ERROR: Redfish string indices must be integers

Note that 29-maas-01-bmc-config is a copy of 30-maas-01-bmc-config that prints out a traceback on errors.

Related branches

Changed in maas:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Anton Troyanov (troyanov)
Changed in maas:
status: Triaged → Fix Committed
milestone: none → 3.3.0
milestone: 3.3.0 → none
Changed in maas:
milestone: none → 3.3.0
Changed in maas:
milestone: 3.3.0 → 3.3.0-beta1
Changed in maas:
status: Fix Committed → Fix Released
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.