Unable to get the AMT version for power query

Bug #2057959 reported by Ridsai
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Medium
Unassigned

Bug Description

In Maas 3.4, The AMT node is enlisted, but while setting the power type, its not working. It was observed that AMT version is "Intel® Active Management Technology firmware version: 16.1.25-build 2049", which only supports HTTPS and that too port 16993 or 16995 only

But on the other hand the same version of MAAS is working fine for AMT version "Intel® Active Management Technology firmware version: 15.0.10-build 1414" without any issue as it supports HTTP(port 16992).

Going deeper into the code and logs, it was found that for AMT power type, it uses the wsman utility to fetch the "AMT version" on port 16992(which is not supported now for the latest version of AMT) and hence it returns the following error

"Power state could not be queried: Unable to retrieve AMT version: Connection failed. response code = 0#012Couldn't connect to server"

Maas.log:

2024-03-13T02:39:45.756306+00:00 maas maas.import-images: [info] Starting rack boot image import
2024-03-13T02:59:35.501036+00:00 maas maas.power: [error] DCN1: Power state could not be queried: Unable to retrieve AMT version: Connection failed. response code = 0#012Couldn't connect to server
2024-03-13T02:59:35.518321+00:00 maas maas.power: [error] DCN1: Could not query power state: Unable to retrieve AMT version: Connection failed. response code = 0#012Couldn't connect to server.
2024-03-13T02:59:45.434333+00:00 maas maas.import-images: [info] Starting rack boot image import
2024-03-13T02:59:45.438107+00:00 maas maas.import-images: [info] Downloading image descriptions from http://172.16.2.3:5240/MAAS/images-stream/streams/v1/index.json
2024-03-13T02:59:45.438175+00:00 maas maas.import-images: [info] Rack downloading image descriptions from 'http://172.16.2.3:5240/MAAS/images-stream/streams/v1/index.json'.
2024-03-13T02:59:45.611707+00:00 maas maas.import-images: [info] Finished importing boot images, the region does not have any new images.
2024-03-13T02:59:45.613459+00:00 maas maas.import-images: [info] Starting rack boot image import
2024-03-13T03:04:50.542701+00:00 maas maas.power: [error] DCN1: Power state could not be queried: Unable to retrieve AMT version: Connection failed. response code = 0#012Couldn't connect to server
2024-03-13T03:04:50.561847+00:00 maas maas.power: [error] DCN1: Could not query power state: Unable to retrieve AMT version: Connection failed. response code = 0#012Couldn't connect to server.
2024-03-13T03:09:50.537396+00:00 maas maas.power: [error] DCN1: Power state could not be queried: Unable to retrieve AMT version: Connection failed. response code = 0#012Couldn't connect to server
2024-03-13T03:09:50.553173+00:00 maas maas.power: [error] DCN1: Could not query power state: Unable to retrieve AMT version: Connection failed. response code = 0#012Couldn't connect to server.
2024-03-13T03:15:05.493742+00:00 maas maas.power: [error] DCN1: Power state could not be queried: Unable to retrieve AMT version: Connection failed. response code = 0#012Couldn't connect to server

WSMAN version and config:

ubuntu@maas:~$ cat /snap/maas/current/etc/openwsman/openwsman_client.conf
##################################
#
# Client side settings
#
##################################
[client]
agent = openwsman 2.2.0
# file for certificate revocation list (CRL)
# (rfc3280, used by CURL library)
# crlfile =
# set CURLOPT_NOSIGNAL for libcurl
# with multithreading client applications, the libcurl backend might crash if DNS lookups time out.
# setting curlopt_nosignal = 1 prevents these crashes at the risk of hanging DNS lookups.
# see http://curl.haxx.se/libcurl/c/CURLOPT_NOSIGNAL.html for details
# defaults to 0
curlopt_nosignal = 0

NOTE: FOR INTEL AMT
note-icon End of Support for Non-TLS Connections (Ports 16992, 16994 and 623):

Starting from Alder Lake platforms with Raptor Lake CPUs running Intel CSME 16.1 firmware, remote connections to Intel AMT unsecure TCP/IP ports 16992, 16994 and 623 are no longer supported. TLS ports 16993, 16995 and 664 must be used for connecting to Intel AMT.

Starting from Intel CSME 19 firmware on Arrow Lake platforms, connecting to Intel AMT without TLS is not supported at all (i.e., also local connections must use TLS ports).

Revision history for this message
Bill Wear (billwear) wrote :

You are quite correct. Triaging.

Changed in maas:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 3.6.0
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.