Bug 1021047

Summary: [patch] Koan does not work on Fedora 19 (cannot find module virtinst)
Product: [Fedora] Fedora Reporter: trivial+rhbugzilla
Component: cobblerAssignee: James C. <jimi>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: awood, extras-orphan, jeckersb, jimi, scott, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cobbler-2.4.4-1.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-03 19:57:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description trivial+rhbugzilla 2013-10-18 21:02:19 UTC
Description of problem:
When trying to install a machine with cobbler/koan I get the following backtrace:

root@james:~# koan --server=cobbler.corni --virt --system f19-gitlab
- looking for Cobbler at http://cobbler.corni:80/cobbler_api
- reading URL: http://10.10.1.1/cblr/svc/op/ks/system/f19-gitlab
install_tree: http://10.10.1.1/cblr/links/f19-x86_64
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/koan/app.py", line 1477, in load_virt_modules
    import xencreate
  File "/usr/lib/python2.7/site-packages/koan/xencreate.py", line 30, in <module>
    import virtinstall
  File "/usr/lib/python2.7/site-packages/koan/virtinstall.py", line 42, in <module>
    from virtinst import osdict
ImportError: No module named virtinst
no virtualization support available, install python-virtinst?

Version-Release number of selected component (if applicable):
2.4.0-1.fc19

How reproducible:
100%

Steps to Reproduce:
1. add a system to cobbler
2. try to install it in a vm via cobbler
3.

Actual results:
the exception above

Expected results:
the installation of the vm starts

Additional info:

Comment 1 Stephen Herr 2013-11-22 20:37:22 UTC
There is a patch available upstream.

This issue is replicated in cobbler's issue tracker in
https://github.com/cobbler/cobbler/issues/614

and the patch is available at https://github.com/cobbler/cobbler/pull/652

Comment 2 Orion Poplawski 2013-12-16 20:44:29 UTC
koan is a sub-package of cobbler

Comment 3 Fedora Update System 2014-04-21 20:33:19 UTC
cobbler-2.4.3-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/cobbler-2.4.3-1.fc19

Comment 4 Fedora Update System 2014-04-21 20:33:47 UTC
cobbler-2.4.3-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/cobbler-2.4.3-1.fc20

Comment 5 Fedora Update System 2014-04-22 15:33:42 UTC
cobbler-2.4.4-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/cobbler-2.4.4-1.fc20

Comment 6 Fedora Update System 2014-04-22 15:34:50 UTC
cobbler-2.4.4-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/cobbler-2.4.4-1.fc19

Comment 7 Fedora Update System 2014-04-22 15:35:50 UTC
cobbler-2.4.4-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/cobbler-2.4.4-1.el6

Comment 8 Fedora Update System 2014-04-22 15:36:54 UTC
cobbler-2.4.4-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/cobbler-2.4.4-1.el5

Comment 9 Fedora Update System 2014-04-22 19:56:12 UTC
Package cobbler-2.4.4-1.el5:
* should fix your issue,
* was pushed to the Fedora EPEL 5 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing cobbler-2.4.4-1.el5'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-1211/cobbler-2.4.4-1.el5
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2014-05-03 19:57:16 UTC
cobbler-2.4.4-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2014-05-08 21:59:25 UTC
cobbler-2.4.4-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2014-05-09 02:56:31 UTC
cobbler-2.4.4-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2014-05-09 22:01:35 UTC
cobbler-2.4.4-1.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.