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

Bug 539528

Summary: kickstart with xen full virt guest, traceback : global name 'DistroManager' is not defined
Product: Red Hat Satellite 5 Reporter: Petr Sklenar <psklenar>
Component: VirtualizationAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: high Docs Contact:
Priority: high    
Version: 530CC: cperry, jhutar
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-20 21:49:27 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: 500798, 518261    
Attachments:
Description Flags
rhn_check -vv none

Description Petr Sklenar 2009-11-20 13:42:04 UTC
Created attachment 372490 [details]
rhn_check -vv

Description of problem:
If I schedule kickstart with xen full virt guest, it doesn't work and there is traceback:
global name 'DistroManager' is not defined

Version-Release number of selected component (if applicable):
sat531

spacewalk-koan-0.1.11-13.el5sat
rhn-virtualization-host-5.3.0-13.el5sat
rhn-virtualization-common-5.3.0-13.el5sat

How reproducible:
always with xen full virt guest

Steps to Reproduce:
1. create default kickstart with rhel54 tree and for xen full virt
2. rhn_check -vv on xen host
  
Actual results:
traceback:

D: handle_action actionid = 1019, version = 2
D: do_call kickstart_guest.initiate ('dhcp-lab-163.englab.brq.redhat.com', 'xen-host-dhcp-lab-234:2:rhel54-x8664-base-xen-full-virt-2', 'xenfv', 108, 'rhel54-x8664-base-xen-full-virt-2', 512, 1, 3, 'xenbr0', '/var/lib/xen/images/rhel54-x8664-base-xen-full-virt-2', ' ')
- looking for Cobbler at http://dhcp-lab-163.englab.brq.redhat.com/cobbler_api
- reading URL: http://dhcp-lab-163.englab.brq.redhat.com/cblr/svc/op/ks/system/xen-host-dhcp-lab-234:2:rhel54-x8664-base-xen-full-virt-2
install_tree: http://dhcp-lab-163.englab.brq.redhat.com/ty/xf6UjKUz
libvirtd (pid  3555) is running...
exceptions.NameError
global name 'DistroManager' is not defined
  File "/usr/share/rhn/spacewalkkoan/spacewalkkoan.py", line 191, in initiate_guest
    k.run()
   File "/usr/lib/python2.4/site-packages/koan/app.py", line 312, in run
    self.virt()
   File "/usr/lib/python2.4/site-packages/koan/app.py", line 601, in virt
    return self.net_install(after_download)
   File "/usr/lib/python2.4/site-packages/koan/app.py", line 520, in net_install
    after_download(self, profile_data)
   File "/usr/lib/python2.4/site-packages/koan/app.py", line 599, in after_download
    self.virt_net_install(profile_data)
   File "/usr/lib/python2.4/site-packages/koan/app.py", line 1080, in virt_net_install
    virt_type     =  self.virt_type
   File "/usr/lib/python2.4/site-packages/koan/xencreate.py", line 72, in start_install
    guest = virtinst.FullVirtGuest(installer=DistroManager.PXEInstaller())

D: Sending back response ((6,), 'Fatal error in Python code occured', {})
D: do_call packages.checkNeedUpdate ('rhnsd=1',)
D: local action status:  (0, 'rpm database not modified since last update (or package list recently updated)', {})


Expected results:
I can provision xen full virt guest

Additional info:
creation of xen paravirt guest works but xen full virt doesn't

Comment 6 Milan Zázrivec 2009-11-20 21:49:27 UTC

*** This bug has been marked as a duplicate of bug 520812 ***