virtio disk drive was not detected as available

Bug #1687923 reported by Dimitri John Ledkov
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
subiquity
Fix Released
High
Unassigned

Bug Description

I had to change bus to SATA to get the hard drive detected.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Triaged; we need to fix this in high priority; usage of virtio is common.

Changed in subiquity (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

It looks to me like probert is doing the right thing, so some form of extra filtering directly in subiquity might be causing virtio drives to be ignored.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

subquity does this:

        storage = self.prober.get_storage()
        VALID_MAJORS = ['8', '253']
        for path, data in storage.items():
            if data['DEVTYPE'] == 'disk' and data['MAJOR'] in VALID_MAJORS:

I guess that's the filtering that is excluding the virtio disks.

Revision history for this message
Ryan Harper (raharper) wrote :

It appears that virtio-blk uses dynamic major numbers:

https://lkml.org/lkml/2016/3/2/1035

That suggests that to support virtio-blk, it'll need some thing else to check out of probert output.

affects: subiquity (Ubuntu) → subiquity
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :
Changed in subiquity:
status: Triaged → In Progress
tags: added: id-59d5665d82b8d4da073dadb2
Revision history for this message
Steve Langasek (vorlon) wrote :

resolved in latest 17.10 builds.

Changed in subiquity:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.