When a customer enlists a Lenovo x3650 M5, It says "Error:Access denied while performing power action:cipher suite unavailable. Check BMC configuration and try again."
PFA "Maas_Power_Error.png"
maas version:
ii maas 1:2.9.2-9164-g.ac176b5c4-0ubuntu1~20.04.1 all "Metal as a Service" is a physical cloud and IPAM
ii maas-cli 1:2.9.2-9164-g.ac176b5c4-0ubuntu1~20.04.1 all MAAS client and command-line interface
ii maas-common 1:2.9.2-9164-g.ac176b5c4-0ubuntu1~20.04.1 all MAAS server common files
ii maas-dhcp 1:2.9.2-9164-g.ac176b5c4-0ubuntu1~20.04.1 all MAAS DHCP server
ii maas-proxy 1:2.9.2-9164-g.ac176b5c4-0ubuntu1~20.04.1 all MAAS Caching Proxy
ii maas-rack-controller 1:2.9.2-9164-g.ac176b5c4-0ubuntu1~20.04.1 all Rack Controller for MAAS
ii maas-region-api 1:2.9.2-9164-g.ac176b5c4-0ubuntu1~20.04.1 all Region controller API service for MAAS
ii maas-region-controller 1:2.9.2-9164-g.ac176b5c4-0ubuntu1~20.04.1 all Region Controller for MAAS
ii python3-django-maas 1:2.9.2-9164-g.ac176b5c4-0ubuntu1~20.04.1 all MAAS server Django web framework (Python 3)
ii python3-maas-client 1:2.9.2-9164-g.ac176b5c4-0ubuntu1~20.04.1 all MAAS python API client (Python 3)
ii python3-maas-provisioningserver 1:2.9.2-9164-g.ac176b5c4-0ubuntu1~20.04.1 all MAAS server provisioning libraries (Python 3)
/var/log/maas/rackd.log
provisioningserver.rpc.power: [critical] rich-dog: Power on failed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 460, in callback
self._startRunCallbacks(result)
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 568, in _startRunCallbacks
self._runCallbacks()
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 654, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1475, in gotResult
_inlineCallbacks(r, g, status)
--- <exception caught here> ---
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 654, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/lib/python3/dist-packages/provisioningserver/rpc/power.py", line 242, in eb_cancelled
failure.trap(CancelledError)
File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 439, in trap
self.raiseException()
File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 467, in raiseException
raise self.value.with_traceback(self.tb)
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 491, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/python3/dist-packages/provisioningserver/rpc/power.py", line 294, in change_power_state
yield perform_power_driver_change(
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1416, in _inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 491, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/python3/dist-packages/provisioningserver/drivers/power/__init__.py", line 359, in perform_power
yield deferToThread(power_func, system_id, context)
File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 250, in inContext
result = inContext.theWork()
File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>
inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 192, in wrapper
result = func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/provisioningserver/drivers/power/ipmi.py", line 437, in power_on
self._issue_ipmi_command("on", **context)
File "/usr/lib/python3/dist-packages/provisioningserver/drivers/power/ipmi.py", line 431, in _issue_ipmi_command
return self._issue_ipmipower_command(
File "/usr/lib/python3/dist-packages/provisioningserver/drivers/power/ipmi.py", line 337, in _issue_ipmipower_command
raise error_info.get("exception")(error_info.get("message"))
provisioningserver.drivers.power.PowerSettingError: Access denied while performing power action: cipher suite unavailable. Check BMC configuration and try again.
But the server Lenovo x3650 M5 worked well on older Maas version(pre-2.9).
Hi Chuan Li, thank you for trying MAAS 2.9 and reporting the bug.
As you can see in the release notes - https:/ /maas.io/ docs/2. 9/release- notes#heading- -bmc-param- additions - MAAS 2.9 included several changes around IPMI encryption. In your screenshot you show that Cipher ID 3 is being used, and the error message states that you should check BMC configuration.
What Ciphers does the Lenovo x3650 M5 support? Have you tried different ciphers? Is encryption important to the customer? What happens if you select 'freeipmi-tools default'?