Bug 555545 - rhq virtualization plugin does not inventory guests using a host lvm filesystem correctly
Summary: rhq virtualization plugin does not inventory guests using a host lvm filesyst...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Inventory
Version: 1.4.0.B01
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: wes hayutin
URL: http://10.16.120.138:7080/rhq/resourc...
Whiteboard:
Depends On: 556891
Blocks: RHQ_Cobbler, RHQ_Cobbler4j
TreeView+ depends on / blocked
 
Reported: 2010-01-14 18:49 UTC by wes hayutin
Modified: 2010-08-12 16:52 UTC (History)
0 users

Fixed In Version: 2.4
Clone Of:
Environment:
Last Closed: 2010-08-12 16:52:54 UTC
Embargoed:


Attachments (Terms of Use)
screen shot of rhq and qemu config (816.02 KB, image/png)
2010-01-14 18:49 UTC, wes hayutin
no flags Details
lvm is read correctly (654.04 KB, image/png)
2010-01-25 23:48 UTC, wes hayutin
no flags Details

Description wes hayutin 2010-01-14 18:49:26 UTC
Created attachment 384414 [details]
screen shot of rhq and qemu config

Description of problem:
rhq virtualization plugin does not inventory guests using a host lvm filesystem correctly

I have a qemu kvm guest running w/ a filesystem based on a lvm on the host machine.

    <disk type='block' device='disk'>
      <source dev='/dev/vmstorage/base-rhq01'/>
      <target dev='vda' bus='virtio'/>
    </disk>

RHQ appears to only be designed to pick up file based guest filesystems. There are at least two kinds of filesystems a guest can use.  A file or lvm base file system.

We should support either file system.
rhq reports the file system as
block 		not set 	not set 	not set 	vda

See screenshot for further details

Comment 1 Bryan Kearney 2010-01-15 15:44:18 UTC
XML Parsing was probably barfing on optional items.

6a59e0f19febd2d316872a2d1af27e14d0d65247

Comment 2 wes hayutin 2010-01-25 23:47:41 UTC
looks good in master commit 7e95167fa9480ab75c72f444fb786795dd314adc

Comment 3 wes hayutin 2010-01-25 23:48:10 UTC
Created attachment 386729 [details]
lvm is read correctly

Comment 4 Corey Welton 2010-08-12 16:52:54 UTC
Mass-closure of verified bugs against JON.


Note You need to log in before you can comment on or make changes to this bug.