redfish power control gets the error: Failed to query node's BMC - 'NoneType' object has no attribute 'lower'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
New
|
Undecided
|
Unassigned |
Bug Description
[Description]
ubuntu@maas:~$ snap list
Name Version Rev Tracking Publisher Notes
core18 20231027 2812 latest/stable canonical✓ base
core20 20240227 2264 latest/stable canonical✓ base
core22 20240111 1122 latest/stable canonical✓ base
maas 3.3.6-13237-
maas-cli 0.6.8 79 latest/stable canonical✓ -
snapd 2.61.2 21184 latest/stable canonical✓ snapd
I enlisted an Dell R750 and tried to make my MAAS instance to manage the node via Redfish. I got this error message when querying the node after filling all necessary Redfish info.
on the web UI log:
Failed to query node's BMC - 'NoneType' object has no attribute 'lower'
in the rackd.log:
2024-04-15 00:21:06 provisioningser
Traceback (most recent call last):
File "/snap/
self.
File "/snap/
self.
File "/snap/
current.result = callback( # type: ignore[misc]
File "/snap/
current_
--- <exception caught here> ---
File "/snap/
current.result = callback( # type: ignore[misc]
File "/snap/
failure.
File "/snap/
self.
File "/snap/
raise self.value.
File "/snap/
result = current_
File "/snap/
return g.throw(self.type, self.value, self.tb)
File "/snap/
yield perform_
File "/snap/
result = current_
File "/snap/
return g.throw(self.type, self.value, self.tb)
File "/snap/
yield power_func(
File "/snap/
result = current_
File "/snap/
return g.throw(self.type, self.value, self.tb)
File "/snap/
power_state = yield self.power_
File "/snap/
result = current_
File "/snap/
return node_data.
builtins.
=======
=======
[Steps to Reproduce]
1. Enlist the machine
2. Fill in redfish configuration
3. Click "Check power" on the web UI of MAAS
[Expected Result]
The power status is queried and showed on the web UI
[Actually Result]
Got the "power error" message and the trace above
[Additional Info]
1. The same BMC login credential works for ipmi 2.0 to manage the power.
2. I have verified Redfish is enabled in the corresponding R750 idrac9 settings.
description: | updated |
Hi Taihsiang,
Could you provide full logs? They should be in the following locations: maas/common/ log/maas. log maas/common/ log/regiond. log maas/common/ log/rackd. log maas/common/ log/rsyslog/ $MACHINE_ NAME/$RELEVANT_ DATE/messages
/var/snap/
/var/snap/
/var/snap/
/var/snap/
Thanks!