Description of problem: It's impossible to kickstart a Virtual Guest on a Kickstarted Virtual Host. Version-Release number of selected component (if applicable): Satellite-5.3.0-RHEL5-re20090707.0 Satellite-5.3.0-RHEL5-re20090714.0-x86_64 Satellite-5.3.0-RHEL5-re20090716.0 How reproducible: always Steps to Reproduce: 1. Provision a virtual host (ks-rhel-i386-server-5-u3/Xen Virtualized Host) 2. Create a new para-virtual guest to be hosted on the virtual host (ks-rhel-i386-server-5-u3/Xen Para-Virtualized Guest) over WEBUI (Virtualization - Provisioning). 3. When kickstart of the virtual-guest fails, check for the following directory: # ll /var/lib/libvirt/images/ ls: /var/lib/libvirt/images/: No such file or directory 4. Create the missing directory # mkdir /var/lib/libvirt/images/ 5. And re-schedule the failed event ... 6. Make sure the virtual-guest was successfully provisioned. Actual results: Para-virtual guest kickstart fails with following error (after point 2. of the reproducer): --------------------------------------------------------------------------- Details: This action will be executed after 07/20/09 9:24:51 AM EDT. This action's status is: Failed. The client picked up this action on 07/20/09 9:33:46 AM EDT. The client completed this action on 07/20/09 9:33:49 AM EDT. Client execution returned "Virtual kickstart failed. Koan error.: invalid location: /var/lib/libvirt/images/para_guest0" (code 1) --------------------------------------------------------------------------- /var/lib/libvirt/images/para_guest0 cannot be created due to the missing directory. When a directory is created manually, guest kickstart will be successful. Expected results: Para-virtual guest will be kickstarted without any additional manual actions (without any need to create directories).
*** Bug 512460 has been marked as a duplicate of this bug. ***
Satellite-5.3.0-RHEL5-re20090721.0-i386-embedded-oracle.iso Verified using scenario: 1. registered client to satellite 2. gave client virt and prov entitlements 3. created ks profile for xen virt host 4. provisioned client as virt host using above profile 5. host provisioned... but had couple of failed actions due to gpg checking... so disabled gpg checking and rescheduled/executed those actions (e.g. install rhn-virtualization-host & osad)... (these failures were expected, since testing with unsigned pkgs) 6. created ks profile for xen virt guest 7. provisioned virt guest on client Guest was provisioned successfully in step 7. No manual steps required.
Release Pending. Images are now stored in /var/lib/xen/images/
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-1434.html