Bug 555545

Summary: rhq virtualization plugin does not inventory guests using a host lvm filesystem correctly
Product: [Other] RHQ Project Reporter: wes hayutin <whayutin>
Component: InventoryAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: low    
Version: 1.4.0.B01   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://10.16.120.138:7080/rhq/resource/configuration/view.xhtml?id=10105
Whiteboard:
Fixed In Version: 2.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-12 16:52:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 556891    
Bug Blocks: 544086    
Attachments:
Description Flags
screen shot of rhq and qemu config
none
lvm is read correctly none

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.