Bug 508768

Summary: KVM guests provisioning fails, qemu package needed
Product: Red Hat Satellite 5 Reporter: wes hayutin <whayutin>
Component: ProvisioningAssignee: Mike McCune <mmccune>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 530CC: cperry
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: na
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-04 13:26:33 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:    
Bug Blocks: 462714    

Description wes hayutin 2009-06-29 19:13:06 UTC
Description of problem:

6/26 build

client is a x86_64 rhel 53

ng></value>\n</param>\n<param>\n<value><string>/var/lib/xen/weskvm01</string></value>\n</param>\n<param>\n<value><string> ksdevice=eth0 </string></value>\n</param>\n</params>\n</methodCall>\n", 'version': 2, 'id': 4314}
D: handle_action actionid = 4314, version = 2
D: do_call kickstart_guest.initiate ('grandprix.rhndev.redhat.com', 'sat-blade-6.idm.lab.bos.redhat.com:82:weskvm01', 'qemu', 764, 'weskvm01', 512, 1, 3, 'xenbr0', '/var/lib/xen/weskvm01', ' ksdevice=eth0 ')
- looking for Cobbler at http://grandprix.rhndev.redhat.com/cobbler_api
- reading URL: http://grandprix.rhndev.redhat.com/cblr/svc/op/ks/system/sat-blade-6.idm.lab.bos.redhat.com:82:weskvm01
install_tree: http://grandprix.rhndev.redhat.com/ty/QIErkPSJ
qemu package needs to be installed
D: Sending back response (1, 'Virtual kickstart failed. Koan error.', {'koan': 'qemu package needs to be installed'})
D: do_call packages.checkNeedUpdate ('rhnsd=1',)
D: local action status:  (0, 'rpm database not modified since last update (or package list recently updated)', {})
D: closed   db index       /var/lib/rpm/Providename
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm/Packages
D: May free Score board((nil))

Comment 1 Mike McCune 2009-07-01 19:42:56 UTC
To resolve this you need:

* your system subscribed to: rhel-x86_64-server-vt-5-beta
* the kvm-qemu-img.x86_64 package installed

We can possibly auto-install kvm-qemu-img if we detect you are schedule a KS of a guest using KVM because we can't have koan or spacewalk-koan require the package since this won't work on RHEL Hosts using xen.

Comment 2 Mike McCune 2009-07-01 22:38:17 UTC
I vote we punt this off to a later release after looking at this some more.  I hesitate to auto-install kvm-qemu-img because that is just one of the required pieces for KVM virtualization to work.  Others include libvirt, virt-manager, etc...

Ideally we would have Satellite validate the state of your host to check the required RHEL virt packages:

libvirt
xen (if doing xen)
qemu (if doing kvm)

we could then setup package installs, start libvirtd, etc..

Not something we can do in 530 thou.

Comment 3 Clifford Perry 2009-07-02 18:08:37 UTC
Based on comments, it seems that we anticipate folks to correctly have needed packages installed for Virt for an already installed system if they plan to use it as a virt host. Sure, we should and could do more/better checking for Xen and/or KVM components being installed to validate, but for now, moving off 530. 

Cliff