Intel AMT support is broken in MAAS 3.3.0

Bug #2008275 reported by Rod Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Alexsander de Souza
3.3
Fix Released
High
Alexsander de Souza

Bug Description

After installing MAAS 3.3.0 on a test system, MAAS is unable to control nodes that use Intel AMT. The machines enlist fine, and as with previous versions of MAAS, the power type shows up as unknown in the web UI. After entering the correct power information (Intel AMT with the correct IP address and password), MAAS reports "power error." The maas.log file shows lines like the following:

2023-02-23T16:14:03.004779+00:00 vb2204t maas.power: [error] kzanol: Could not query power state: Failed to run command: ('amttool', '172.24.124.252', 'info') with error: Can't locate SOAP/Lite.pm in @INC (you may need to install the SOAP::Lite module) (@INC contains: /snap/maas/25850/usr/share/perl5 /snap/maas/25850/usr/share/perl/5.30 /snap/maas/25850/usr/lib/x86_64-linux-gnu/perl/5.30 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl) at /snap/maas/25850/usr/bin/amttool line 4.#012BEGIN failed--compilation aborted at /snap/maas/25850/usr/bin/amttool line 4..

MAAS 3.2.6 worked fine with these same nodes that use AMT for power control.

I'm attaching all the MAAS log files from this test installation. Affected nodes are brennan (an Intel NUC) and kzanol (an HP ProBook 6470b).

Related branches

Revision history for this message
Rod Smith (rodsmith) wrote :
Revision history for this message
Jeff Lane  (bladernr) wrote :

This blocks us from migrating the Server and OEM labs to MAAS 3.3.0 as some OEMs do build and certify servers that use AMT as a management mechanism.

Revision history for this message
Björn Tillenius (bjornt) wrote :

To give some context. amttool uses perl from the base snap. To get it to find the packages that are in the snap as well, we set PERL5LIB in the run-rackd script. That still references 5.30, which should be changed to 5.34.

However, the soap packages are installed in /usr/share/perl5, but it seems like /snap/maas/current/usr/share/perl5 is missing for some reason for maas 3.3.0. It's there in maas 3.2.6.

Bill Wear (billwear)
Changed in maas:
status: New → Triaged
importance: Undecided → Medium
Bill Wear (billwear)
Changed in maas:
milestone: none → 3.3.1
Bill Wear (billwear)
Changed in maas:
milestone: 3.3.1 → 3.4.0
Changed in maas:
importance: Medium → High
Changed in maas:
assignee: nobody → Alexsander de Souza (alexsander-souza)
Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Alberto Donato (ack)
Changed in maas:
milestone: 3.4.0 → 3.4.0-beta1
Alberto Donato (ack)
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.