[2.3, HWTv2] Pre-create KVM pod machines do not run hardware tests even though the UI shows they will

Bug #1731353 reported by Andres Rodriguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Lee Trager

Bug Description

I came across this issue after this: https://bugs.launchpad.net/maas/+bug/1731350

So, effectively I have 2 VM's in my libvirt and I do:

1. Add a pod
2. MAAS starts commissioning and the UI shows feedback that testing is going to be run as well.
3. While running commissioning scripts, at a certain point (almost while finishing commissioning), the Hardware Tests tab disappears.
4. The machine is marked ready but no hardware tests are run

It may seem as if:

1. pod starts commissioning *without* hardware testing
2. But since MAAS creates a scriptset before we discover storage, to run tests, it shows them
3. after discovering storage and re-creating the scriptsets, it notices that smartctl-valid was not selected on the start of the call, and removes the UI relating to hardware testing.

Related branches

Changed in maas:
milestone: none → 2.3.0rc2
importance: Undecided → High
status: New → Triaged
assignee: nobody → Lee Trager (ltrager)
summary: - [2.3, HWTv2] Re-running commissioning + testing of a NEW machine that
- was previously manually aborted results on tests not run
+ [2.3, HWTv2] Pre-create Pod discovered machines commission but tests are
+ not run
description: updated
summary: - [2.3, HWTv2] Pre-create Pod discovered machines commission but tests are
- not run
+ [2.3, HWTv2] Pre-create KVM pod machines do not run hardware tests even
+ though the UI shows they will
description: updated
Revision history for this message
Andres Rodriguez (andreserl) wrote :

After the machine was fully commissioned, I tried to run commissioning *without* any hardware tests, and I saw this error:

Node failed to be commissioned, because of the following error: {"current_testing_script_set": ["script set instance with id 199 does not exist."]}

Changed in maas:
milestone: 2.3.0rc2 → 2.3.0
Lee Trager (ltrager)
Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
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.