Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 532433

Summary: spacewalk-koan does not create virt. guest configuration file after successful kickstart
Product: Red Hat Satellite 5 Reporter: Milan Zázrivec <mzazrivec>
Component: VirtualizationAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED ERRATA QA Contact: Petr Sklenar <psklenar>
Severity: medium Docs Contact:
Priority: low    
Version: 530CC: psklenar
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-04 10:48:32 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: 518261    

Description Milan Zázrivec 2009-11-02 10:55:38 UTC
Description of problem:
In the times of rhn-kickstart package (pre Satellite 5.3.0 era), after
successful virtual guest provisioning and reboot, client code running
on virtualization host used to create configuration file for the new
guest in /etc/sysconfig/rhn/virt directory.

This approach had one nice benefit: the configuration file was later
used by rhn-virtualization-host code to start the guest from inside
Satellite / rhn.redhat.com webui.

This is no longer true with spacewalk-koan: no configuration file
is written out after guest provisioning.

Version-Release number of selected component (if applicable):
spacewalk-koan-0.1.11-12

How reproducible:
Always

Steps to Reproduce:
1. Satellite 5.3.0, create KVM guest kickstart profile
2. Register KVM host to your satellite (RHEL5.4, x86_64, full hardware
virtualization support).
3. Stop crond on your KVM virtualization host.
4. Kickstart new KVM guest from inside Satellite webui
5. After successful guest installation and reboot, check
/etc/sysconfig/rhn/virt directory whether corresponding config file was
created (it will have uuid-of-the-guest.xml form)

  
Actual results:
No config file is created.

Expected results:
Guest config file is created.

Additional info:
N/A

Comment 1 Milan Zázrivec 2009-11-02 17:16:32 UTC
spacewalk.git master:
e0a8df05ff5751660f145dcd6d0b8729293d9012
9a623166afa437d4f82d81c4607d3e8fabf0c8a1

Comment 2 Milan Zázrivec 2009-11-02 17:48:39 UTC
satellite.git SATELLITE-5.3:
055cd1f85aeb7b81b451b54dc8d18c1d02332fdb
a3c4ece400e6d3f0fb77b26433738081b4d506cd

Comment 3 Milan Zázrivec 2009-11-03 10:03:05 UTC
Tagged & built: spacewalk-koan-0.1.11-13 rhn-virtualization-5.3.0-13

Comment 4 Milan Zázrivec 2009-11-11 15:06:46 UTC
New spacewalk-koan & rhn-virtualization have been pushed into webqa.

Comment 5 Petr Sklenar 2009-11-27 11:25:03 UTC
I followed 'Steps to Reproduce:' from comment #0 and kvm-guest was there after
successful kickstart 

right info about this kvm-guest:
cat /etc/sysconfig/rhn/virt/f9973b0cd54e71bdf738434ca9ad6dfb.xml | grep rhel54-i386-base-kvm-guest-3
  <name>rhel54-i386-base-kvm-guest-3</name>
      <source file="/var/lib/libvirt/images/rhel54-i386-base-kvm-guest-3"/>

Comment 7 errata-xmlrpc 2009-12-04 10:48:32 UTC
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-1639.html