Comment 7 for bug 1355309

Revision history for this message
Julian Edwards (julian-edwards) wrote : Re: Virtio disks other than the first are not detected by MAAS

Ok thanks for the info. From the XML output it looks like none of the virtual devices have got any size data. The XPATH expression that the code uses is:

_xpath_storage_bytes = """\
    sum(//node[@class='volume']/size[@units='bytes'])
    div 1024 div 1024
"""

So I'm not sure how it gets the first disk with that. This looks more like a bug in lshw to me, what do you think?