Comment 8 for bug 1355309

Revision history for this message
David Britton (dpb) wrote : Re: [Bug 1355309] Re: Virtio disks other than the first are not detected by MAAS

On Tue, Aug 12, 2014 at 05:05:01AM -0000, Julian Edwards wrote:
> 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?

Sounds reasonable to me, can we add that project here? I'll leave it to
you to file it how you would like.

--
David Britton <email address hidden>