lxd

LXD recognizes video encoder as NVMe drive

Bug #1906834 reported by Simon Fels
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Alexsander de Souza
lxd
New
Undecided
Unassigned

Bug Description

While post processing the commissioning results MAAS fails with

kamek.maas(be6qpq): commissioning script '50-maas-01-commissioning' failed during post-processing.

See the attached log of the 50-maas-01-commissioning script.

My guess is that it fails because of the listed Netint T408 storage device which is not really one. It's a video encoder card which claims itself to be a NVMe storage device.

Related branches

Revision history for this message
dann frazier (dannf) wrote :

Adding a tag w/ kernel_opts="modprobe.blacklist=nvme" allowed commissioning to complete. Obviously that's just a workaround - and luckily this system doesn't use NVMe for storage. But it is evidence for Simon's theory.

Revision history for this message
Adam Collard (adam-collard) wrote :

The traceback that causes the script to 'fail' is when MAAS tries to process the results from the machine-resources binary - https://paste.ubuntu.com/p/RgW7y8qQ3q/

django.core.exceptions.ValidationError: {'size': ['Partition cannot be saved; not enough free space on the block device.']}

I think we're safe to say that Simon's theory is holding.

Changed in maas:
importance: Undecided → High
milestone: none → 2.10-next
status: New → Triaged
Revision history for this message
Lee Trager (ltrager) wrote :

MAAS now gets all of its commissioning information from LXD. Could you also file this bug against LXD and associate it with this bug?

Lee Trager (ltrager)
summary: - MAAS fails in post processing of the commissioning results
+ LXD recognizes video encoder as NVMe drive
Revision history for this message
Lee Trager (ltrager) wrote :

What size is the disk that is showing up? I just remembered MAAS has a global variable MIN_BLOCK_DEVICE_SIZE which is currently set to 4MB. Any block device which is smaller than 4MB is ignored. 4MB was enough to fit a partition table but maybe things have changed.

Revision history for this message
Simon Fels (morphis) wrote :

It's about ~300MB

Revision history for this message
Lee Trager (ltrager) wrote :

I suspect something else is going on here then. A partition table should absolutely be able to fit within a 300MB disk. Can you post the output of 50-maas-01-commissioning?

Revision history for this message
Simon Fels (morphis) wrote :

Looks like I forgot to attach it with the initial report. Added it now

Changed in maas:
milestone: 3.0.0 → 3.0.1
Changed in maas:
assignee: nobody → Alexsander de Souza (alexsander-souza)
Changed in maas:
status: Triaged → Fix Committed
Changed in maas:
milestone: 3.0.1 → 3.2.0-beta1
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.