Bug 496135

Summary: missing dependency on PyXML
Product: [Fedora] Fedora Reporter: Ruben Kerkhof <ruben>
Component: xenAssignee: Justin M. Forbes <jforbes>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: berrange, jforbes, kraxel, markmc, virt-maint, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: xen-3.4.1-5.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-13 10:49:22 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: 480594    

Description Ruben Kerkhof 2009-04-16 19:44:48 UTC
Description of problem:

Running xm create produces the following error:

root@localhost ~]# xm create fedora.cfg
Using config file "/etc/xen/fedora.cfg".
Unexpected error: <type 'exceptions.ImportError'>

Please report to xen-devel.com
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in <module>
    main.main(sys.argv)
  File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 2884, in main
    _, rc = _run_cmd(cmd, cmd_name, args)
  File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 2908, in _run_cmd
    return True, cmd(args)
  File "<string>", line 1, in <lambda>
  File "/usr/lib64/python2.6/site-packages/xen/xm/main.py", line 1376, in xm_importcommand
    cmd.main([command] + args)
  File "/usr/lib64/python2.6/site-packages/xen/xm/create.py", line 1313, in main
    from xen.xm.xenapi_create import sxp2xml
  File "/usr/lib64/python2.6/site-packages/xen/xm/xenapi_create.py", line 23, in <module>
    from xml.parsers.xmlproc import xmlproc, xmlval, xmldtd
ImportError: No module named xmlproc

The xmlproc module comes from the PyXML package

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

[root@localhost ~]# rpm -q xen
xen-3.3.1-11.fc11.x86_64


How reproducible:

Run xm create after enabling the new-style api.



Steps to Reproduce:
1. Enable the new-style api in /etc/xen/xm-config.xml:
<server type='Xen-API' uri='httpu:///var/run/xend/xen-api.sock' />
2. Run xm create domain.cfg

Comment 1 Bug Zapper 2009-06-09 13:57:29 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Justin M. Forbes 2009-10-09 15:03:42 UTC
* Thu Oct 7 2009 Justin M. Forbes <jforbes> - 3.4.1-5
- add PyXML to dependencies. (#496135)
- Take ownership of {_libdir}/fs (#521806)

Comment 3 Justin M. Forbes 2009-10-09 17:36:37 UTC
tag request: https://fedorahosted.org/rel-eng/ticket/2432

Comment 4 Mark McLoughlin 2009-10-13 10:49:22 UTC
tagged into f12-beta