koan crashed with ImportError in /usr/lib/python2.7/dist-packages/koan/configurator.py: No module named yum
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cobbler (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: cobbler
After installing koan and python-cobbler (which includes koan python modules, and shouldn't as per bug #731616), This error appears:
$ koan
Traceback (most recent call last):
File "/usr/bin/koan", line 18, in <module>
import koan.app as app
File "/usr/lib/
import configurator
File "/usr/lib/
import yum
ImportError: No module named yum
ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: koan 2.1.0~bzr2002-
ProcVersionSign
Uname: Linux 2.6.38-5-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Tue Mar 8 16:32:05 2011
ExecutablePath: /usr/bin/koan
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate amd64 (20091020.3)
InterpreterPath: /usr/bin/python2.7
PackageArchitec
ProcCmdline: /usr/bin/python /usr/bin/koan
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
LANGUAGE=en_US:en
PythonArgs: ['/usr/bin/koan']
SourcePackage: cobbler
Title: koan crashed with ImportError in /usr/lib/
UpgradeStatus: Upgraded to natty on 2011-02-01 (34 days ago)
UserGroups: adm admin cdrom dialout kvm libvirtd lpadmin plugdev sambashare
Related branches
- Chuck Short: Pending requested
-
Diff: 131 lines (+106/-0)4 files modifieddebian/changelog (+9/-0)
debian/patches/31_add_ubuntu_koan_utils_support.patch (+35/-0)
debian/patches/32_fix_koan_import_yum.patch (+60/-0)
debian/patches/series (+2/-0)
- Chuck Short: Pending requested
-
Diff: 55544 lines (+53908/-0) (has conflicts)301 files modified.bzrignore (+1/-0)
AUTHORS (+95/-0)
CHANGELOG (+912/-0)
COPYING (+340/-0)
MANIFEST.in (+13/-0)
README (+9/-0)
aux/anamon (+280/-0)
aux/anamon.init (+101/-0)
cobbler.spec (+266/-0)
cobbler/action_acl.py (+120/-0)
cobbler/action_buildiso.py (+447/-0)
cobbler/action_check.py (+482/-0)
cobbler/action_dlcontent.py (+96/-0)
cobbler/action_hardlink.py (+60/-0)
cobbler/action_import.py (+1332/-0)
cobbler/action_litesync.py (+167/-0)
cobbler/action_log.py (+71/-0)
cobbler/action_power.py (+150/-0)
cobbler/action_replicate.py (+357/-0)
cobbler/action_report.py (+365/-0)
cobbler/action_reposync.py (+568/-0)
cobbler/action_status.py (+172/-0)
cobbler/action_sync.py (+259/-0)
cobbler/action_validate.py (+119/-0)
cobbler/api.py (+947/-0)
cobbler/cexceptions.py (+44/-0)
cobbler/cli.py (+553/-0)
cobbler/clogger.py (+89/-0)
cobbler/cobblerd.py (+145/-0)
cobbler/codes.py (+98/-0)
cobbler/collection.py (+444/-0)
cobbler/collection_distros.py (+103/-0)
cobbler/collection_files.py (+63/-0)
cobbler/collection_images.py (+78/-0)
cobbler/collection_mgmtclasses.py (+64/-0)
cobbler/collection_packages.py (+63/-0)
cobbler/collection_profiles.py (+82/-0)
cobbler/collection_repos.py (+77/-0)
cobbler/collection_systems.py (+69/-0)
cobbler/config.py (+298/-0)
cobbler/configgen.py (+156/-0)
cobbler/couch.py (+101/-0)
cobbler/field_info.py (+170/-0)
cobbler/func_utils.py (+34/-0)
cobbler/item.py (+407/-0)
cobbler/item_distro.py (+246/-0)
cobbler/item_file.py (+82/-0)
cobbler/item_image.py (+197/-0)
cobbler/item_mgmtclass.py (+64/-0)
cobbler/item_package.py (+64/-0)
cobbler/item_profile.py (+240/-0)
cobbler/item_repo.py (+198/-0)
cobbler/item_system.py (+676/-0)
cobbler/kickgen.py (+200/-0)
cobbler/module_loader.py (+106/-0)
cobbler/modules/add_post_distro_tftp_copy_fetchable_files.py (+53/-0)
cobbler/modules/authn_configfile.py (+84/-0)
cobbler/modules/authn_denyall.py (+51/-0)
cobbler/modules/authn_ldap.py (+136/-0)
cobbler/modules/authn_passthru.py (+47/-0)
cobbler/modules/authn_spacewalk.py (+154/-0)
cobbler/modules/authn_testing.py (+50/-0)
cobbler/modules/authz_allowall.py (+50/-0)
cobbler/modules/authz_configfile.py (+65/-0)
cobbler/modules/authz_ownership.py (+205/-0)
cobbler/modules/install_post_log.py (+51/-0)
cobbler/modules/install_post_power.py (+53/-0)
cobbler/modules/install_post_report.py (+101/-0)
cobbler/modules/install_pre_clear_anamon_logs.py (+74/-0)
cobbler/modules/install_pre_log.py (+31/-0)
cobbler/modules/manage_bind.py (+332/-0)
cobbler/modules/manage_dnsmasq.py (+205/-0)
cobbler/modules/manage_import_debian.old (+727/-0)
cobbler/modules/manage_import_debian_ubuntu.py (+777/-0)
cobbler/modules/manage_import_redhat.py (+972/-0)
cobbler/modules/manage_import_ubuntu.old (+727/-0)
cobbler/modules/manage_import_vmware.py (+862/-0)
cobbler/modules/manage_in_tftpd.py (+144/-0)
cobbler/modules/manage_isc.py (+201/-0)
cobbler/modules/manage_tftpd_py.py (+109/-0)
cobbler/modules/scm_track.py (+109/-0)
cobbler/modules/serializer_catalog.py (+241/-0)
cobbler/modules/serializer_couch.py (+136/-0)
cobbler/modules/sync_post_restart_services.py (+66/-0)
cobbler/modules/sync_post_tftp_copy_fetchable_files.py (+48/-0)
cobbler/pxegen.py (+836/-0)
cobbler/remote.py (+2547/-0)
cobbler/resource.py (+75/-0)
cobbler/serializer.py (+168/-0)
cobbler/services.py (+462/-0)
cobbler/settings.py (+170/-0)
cobbler/sub_process.py (+1149/-0)
cobbler/templar.py (+171/-0)
cobbler/template_api.py (+212/-0)
cobbler/test_basic.py (+894/-0)
cobbler/utils.py (+2071/-0)
cobbler/yumgen.py (+120/-0)
cobbler4j/.classpath (+9/-0)
cobbler4j/.externalToolBuilders/Ant Builder.launch (+18/-0)
cobbler4j/.project (+23/-0)
cobbler4j/README (+24/-0)
cobbler4j/build.py (+143/-0)
cobbler4j/build.xml (+61/-0)
cobbler4j/notes.txt (+458/-0)
cobbler4j/object_base.tmpl (+145/-0)
cobbler4j/pom.xml (+130/-0)
cobbler4j/src/main/java/org/fedorahosted/cobbler/CobblerConnection.java (+106/-0)
cobbler4j/src/main/java/org/fedorahosted/cobbler/CobblerObject.java (+238/-0)
cobbler4j/src/main/java/org/fedorahosted/cobbler/Finder.java (+118/-0)
cobbler4j/src/main/java/org/fedorahosted/cobbler/ObjectType.java (+46/-0)
cobbler4j/src/main/java/org/fedorahosted/cobbler/PropertyLoader.java (+56/-0)
cobbler4j/src/main/java/org/fedorahosted/cobbler/XmlRpcException.java (+51/-0)
cobbler4j/src/test/java/org/fedorahosted/cobbler/test/Config.java (+44/-0)
cobbler4j/src/test/java/org/fedorahosted/cobbler/test/DistroTests.java (+107/-0)
cobbler4j/src/test/java/org/fedorahosted/cobbler/test/FinderTests.java (+25/-0)
cobbler4j/src/test/java/org/fedorahosted/cobbler/test/Fixture.java (+34/-0)
cobbler4j/src/test/java/org/fedorahosted/cobbler/test/ProfileTests.java (+119/-0)
cobbler4j/src/test/java/org/fedorahosted/cobbler/test/RepoTests.java (+106/-0)
cobbler4j/user.properties.sample (+6/-0)
config/auth.conf (+2/-0)
config/cheetah_macros (+2/-0)
config/cobbler.conf (+32/-0)
config/cobbler_bash (+87/-0)
config/cobbler_web.conf (+27/-0)
config/cobblerd (+141/-0)
config/cobblerd_rotate (+28/-0)
config/completions (+508/-0)
config/modules.conf (+86/-0)
config/rsync.exclude (+12/-0)
config/settings (+342/-0)
config/users.conf (+28/-0)
config/users.digest (+1/-0)
contrib/cobbler_sync_master (+193/-0)
debian/README.source (+8/-0)
debian/changelog (+92/-0)
debian/cobbler-common.dirs (+12/-0)
debian/cobbler-common.install (+50/-0)
debian/cobbler-web.install (+2/-0)
debian/cobbler-web.postinst (+22/-0)
debian/cobbler-web.postrm (+20/-0)
debian/cobbler.dirs (+2/-0)
debian/cobbler.docs (+1/-0)
debian/cobbler.install (+4/-0)
debian/cobbler.postinst (+8/-0)
debian/cobbler.postrm (+8/-0)
debian/cobbler.upstart (+14/-0)
debian/compat (+1/-0)
debian/control (+132/-0)
debian/copyright (+452/-0)
debian/koan.dirs (+3/-0)
debian/koan.install (+4/-0)
debian/libcobbler4j-java.jlibs (+1/-0)
debian/patches/05_cobbler_fix_reposync_permissions.patch (+12/-0)
debian/patches/12_fix_dhcp_restart.patch (+12/-0)
debian/patches/21_cobbler_use_netboot.patch (+17/-0)
debian/patches/30_cobbler4j_redstone.patch (+21/-0)
debian/patches/31_add_ubuntu_koan_utils_support.patch (+35/-0)
debian/patches/32_fix_koan_import_yum.patch (+60/-0)
debian/patches/series (+6/-0)
debian/pycompat (+1/-0)
debian/python-cobbler.install (+1/-0)
debian/python-cobbler.postinst (+12/-0)
debian/rules (+47/-0)
debian/source/format (+1/-0)
docs/cobbler-register.pod (+39/-0)
docs/cobbler.pod (+993/-0)
docs/koan.pod (+112/-0)
kickstarts/default.ks (+2/-0)
kickstarts/legacy.ks (+62/-0)
kickstarts/pxerescue.ks (+15/-0)
kickstarts/sample.ks (+69/-0)
kickstarts/sample.seed (+96/-0)
kickstarts/sample_end.ks (+75/-0)
koan/app.py (+1656/-0)
koan/configurator.py (+307/-0)
koan/imagecreate.py (+192/-0)
koan/opt_parse.py (+1682/-0)
koan/qcreate.py (+212/-0)
koan/register.py (+196/-0)
koan/sub_process.py (+1149/-0)
koan/text_wrap.py (+354/-0)
koan/utils.py (+548/-0)
koan/vmwcreate.py (+175/-0)
koan/xencreate.py (+193/-0)
scripts/cobbler (+36/-0)
scripts/cobbler-ext-nodes (+21/-0)
scripts/cobbler-register (+19/-0)
scripts/cobblerd (+97/-0)
scripts/debuginator.py (+50/-0)
scripts/demo_connect.py (+44/-0)
scripts/index.py (+199/-0)
scripts/koan (+19/-0)
scripts/services.py (+99/-0)
scripts/tftpd.py (+1064/-0)
scripts/zpxe.rexx (+298/-0)
setup.cfg (+19/-0)
setup.py (+276/-0)
snippets/cobbler_register (+13/-0)
snippets/download_config_files (+18/-0)
snippets/func_install_if_enabled (+4/-0)
snippets/func_register_if_enabled (+26/-0)
snippets/keep_cfengine_keys (+97/-0)
snippets/keep_files (+156/-0)
snippets/keep_rhn_keys (+88/-0)
snippets/keep_ssh_host_keys (+107/-0)
snippets/kickstart_done (+76/-0)
snippets/kickstart_start (+32/-0)
snippets/koan_environment (+4/-0)
snippets/log_ks_post (+2/-0)
snippets/log_ks_pre (+12/-0)
snippets/main_partition_select (+3/-0)
snippets/network_config (+85/-0)
snippets/partition_select (+34/-0)
snippets/post_anamon (+23/-0)
snippets/post_install_kernel_options (+7/-0)
snippets/post_install_network_config (+372/-0)
snippets/post_koan_add_reinstall_entry (+6/-0)
snippets/post_s390_reboot (+67/-0)
snippets/pre_anamon (+4/-0)
snippets/pre_install_network_config (+92/-0)
snippets/pre_partition_select (+33/-0)
snippets/redhat_register (+18/-0)
templates/etc/dhcp.template (+62/-0)
templates/etc/dnsmasq.template (+20/-0)
templates/etc/named.template (+31/-0)
templates/etc/rsync.template (+43/-0)
templates/etc/tftpd.template (+19/-0)
templates/etc/zone.template (+13/-0)
templates/ldap/ldap_authconfig.template (+1/-0)
templates/power/power_apc_snmp.template (+1/-0)
templates/power/power_bladecenter.template (+1/-0)
templates/power/power_bullpap.template (+1/-0)
templates/power/power_drac.template (+4/-0)
templates/power/power_ether_wake.template (+9/-0)
templates/power/power_ilo.template (+2/-0)
templates/power/power_integrity.template (+1/-0)
templates/power/power_ipmilan.template (+2/-0)
templates/power/power_ipmitool.template (+1/-0)
templates/power/power_lpar.template (+3/-0)
templates/power/power_rsa.template (+1/-0)
templates/power/power_virsh.template (+32/-0)
templates/power/power_wti.template (+1/-0)
templates/pxe/efidefault.template (+4/-0)
templates/pxe/grubprofile.template (+4/-0)
templates/pxe/grubsystem.template (+4/-0)
templates/pxe/pxedefault.template (+15/-0)
templates/pxe/pxelocal.template (+9/-0)
templates/pxe/pxelocal_ia64.template (+4/-0)
templates/pxe/pxelocal_s390x.template (+1/-0)
templates/pxe/pxeprofile.template (+5/-0)
templates/pxe/pxeprofile_esxi.template (+6/-0)
templates/pxe/pxeprofile_s390x.template (+11/-0)
templates/pxe/pxesystem.template (+8/-0)
templates/pxe/pxesystem_esxi.template (+8/-0)
templates/pxe/pxesystem_ia64.template (+6/-0)
templates/pxe/pxesystem_ppc.template (+11/-0)
templates/pxe/pxesystem_s390x.template (+11/-0)
templates/pxe/s390x_conf.template (+77/-0)
templates/pxe/s390x_parm.template (+21/-0)
templates/reporting/build_report_email.template (+46/-0)
tests/multi.py (+29/-0)
tests/performance.py (+70/-0)
tests/pycallgraph_mod.py (+228/-0)
web/cobbler_web/templates/blank.tmpl (+12/-0)
web/cobbler_web/templates/check.tmpl (+14/-0)
web/cobbler_web/templates/empty.tmpl (+9/-0)
web/cobbler_web/templates/enoaccess.tmpl (+12/-0)
web/cobbler_web/templates/error_page.tmpl (+14/-0)
web/cobbler_web/templates/eventlog.tmpl (+14/-0)
web/cobbler_web/templates/events.tmpl (+33/-0)
web/cobbler_web/templates/generic_delete.tmpl (+27/-0)
web/cobbler_web/templates/generic_edit.tmpl (+536/-0)
web/cobbler_web/templates/generic_list.tmpl (+188/-0)
web/cobbler_web/templates/generic_rename.tmpl (+35/-0)
web/cobbler_web/templates/header.tmpl (+3/-0)
web/cobbler_web/templates/import.tmpl (+50/-0)
web/cobbler_web/templates/index.tmpl (+11/-0)
web/cobbler_web/templates/item.tmpl (+38/-0)
web/cobbler_web/templates/ksfile_edit.tmpl (+62/-0)
web/cobbler_web/templates/ksfile_list.tmpl (+32/-0)
web/cobbler_web/templates/master.tmpl (+84/-0)
web/cobbler_web/templates/message.tmpl (+13/-0)
web/cobbler_web/templates/paginate.tmpl (+186/-0)
web/cobbler_web/templates/settings.tmpl (+30/-0)
web/cobbler_web/templates/snippet_edit.tmpl (+72/-0)
web/cobbler_web/templates/snippet_list.tmpl (+31/-0)
web/cobbler_web/templates/task_created.tmpl (+10/-0)
web/cobbler_web/templatetags/site.py (+361/-0)
web/cobbler_web/urls.py (+47/-0)
web/cobbler_web/views.py (+1120/-0)
web/content/cobbler.js (+49/-0)
web/content/index.html (+10/-0)
web/content/jquery-1.3.2.js (+4376/-0)
web/content/jquery-1.3.2.min.js (+19/-0)
web/content/jsGrowl.css (+101/-0)
web/content/jsGrowl.js (+269/-0)
web/content/jsGrowl_jquery.js (+29/-0)
web/content/style.css (+47/-0)
web/manage.py (+11/-0)
web/settings.py (+69/-0)
web/urls.py (+18/-0)
tags: | removed: need-duplicate-check |
Changed in cobbler (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in cobbler (Ubuntu): | |
assignee: | nobody → Andres Rodriguez (andreserl) |
status: | Confirmed → In Progress |
Changed in cobbler (Ubuntu): | |
status: | In Progress → Fix Committed |
assignee: | Andres Rodriguez (andreserl) → nobody |
This bug was fixed in the package cobbler - 2.1.0~bzr2005- 0ubuntu2
--------------- bzr2005- 0ubuntu2) natty; urgency=low
cobbler (2.1.0~
* debian/ patches/ 31_add_ ubuntu_ koan_utils_ support. patch: Add support for patches/ 32_fix_ koan_import_ yum.patch: Fix import error of yum
ubuntu distro in koan utils.py.
* debian/
python module; adds flexibility for other package managers. (LP: #731620)
-- Andres Rodriguez <email address hidden> Fri, 11 Mar 2011 16:02:48 -0500