Bug 1111535 - ConfigError: registration of commands not supported
Summary: ConfigError: registration of commands not supported
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Shea
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:950332e64643041701422b7ec98...
: 1100399 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-20 09:15 UTC by Tim Hughes
Modified: 2014-12-02 19:24 UTC (History)
9 users (show)

Fixed In Version: anaconda-22.11-1
Clone Of:
Environment:
Last Closed: 2014-12-02 19:24:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (353.72 KB, text/plain)
2014-06-20 09:15 UTC, Tim Hughes
no flags Details
File: anaconda.log (8.36 KB, text/plain)
2014-06-20 09:15 UTC, Tim Hughes
no flags Details
File: environ (2.50 KB, text/plain)
2014-06-20 09:15 UTC, Tim Hughes
no flags Details
File: ks_base.cfg (1.18 KB, text/plain)
2014-06-20 09:15 UTC, Tim Hughes
no flags Details
File: lsblk_output (1.63 KB, text/plain)
2014-06-20 09:15 UTC, Tim Hughes
no flags Details
File: nmcli_dev_list (5.80 KB, text/plain)
2014-06-20 09:15 UTC, Tim Hughes
no flags Details
File: os_info (397 bytes, text/plain)
2014-06-20 09:15 UTC, Tim Hughes
no flags Details
File: program.log (60.41 KB, text/plain)
2014-06-20 09:15 UTC, Tim Hughes
no flags Details
File: storage.log (261.85 KB, text/plain)
2014-06-20 09:15 UTC, Tim Hughes
no flags Details
File: ifcfg.log (12.19 KB, text/plain)
2014-06-20 09:15 UTC, Tim Hughes
no flags Details
File: packaging.log (3.27 KB, text/plain)
2014-06-20 09:15 UTC, Tim Hughes
no flags Details

Description Tim Hughes 2014-06-20 09:15:35 UTC
Description of problem:
Trying to install in a qcow2 image

Version-Release number of selected component:
anaconda-19.30.13-1.fc19.x86_64

The following was filed automatically by anaconda:
anaconda 19.30.13-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 555, in registerCommand
    raise Errors.ConfigError(_('registration of commands not supported'))
  File "/usr/lib/yum-plugins/changelog.py", line 247, in config_hook
    conduit.registerCommand(ChangeLogCommand())
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 166, in __init__
    self.run('config')
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 634, in doPluginSetup
    plugin_types, confpath, disabled_plugins, enabled_plugins)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 381, in _getConfig
    startupconf.pluginconfpath,disabled_plugins,enabled_plugins)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1075, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 690, in _getRepos
    self.conf # touch the config class first
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1067, in <lambda>
    repos = property(fget=lambda self: self._getRepos(),
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 209, in _resetYum
    for repo in self._yum.repos.listEnabled():
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 185, in reset
    self._resetYum(root=root)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 454, in updateBaseRepo
    self.reset(root=root)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 193, in setup
    self.updateBaseRepo(fallback=not flags.automatedInstall)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/__init__.py", line 671, in payloadInitialize
    payload.setup(storage)
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 168, in run
    threading.Thread.run(self, *args, **kwargs)
ConfigError: registration of commands not supported

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --image=img.qcow2 --cmdline --kickstart=ks_base.cfg
cmdline_file:   BOOT_IMAGE=/vmlinuz-3.14.4-100.fc19.x86_64 root=/dev/mapper/fedora_lithium-root ro rd.md=0 rd.dm=0 rd.lvm.lv=fedora_lithium/swap rd.lvm.lv=fedora_lithium/root rd.luks=0 vconsole.font=latarcyrheb-sun16 vconsole.keymap=uk rhgb quiet LANG=en_GB.UTF-8
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.14.4-100.fc19.x86_64
other involved packages: yum-3.4.3-137.fc19.noarch, python-libs-2.7.5-9.fc19.x86_64, yum-plugin-changelog-1.1.31-18.fc19.noarch
product:        Fedora
release:        Fedora release 19 (Schrödinger’s Cat)
type:           anaconda
version:        19

Comment 1 Tim Hughes 2014-06-20 09:15:38 UTC
Created attachment 910712 [details]
File: anaconda-tb

Comment 2 Tim Hughes 2014-06-20 09:15:40 UTC
Created attachment 910713 [details]
File: anaconda.log

Comment 3 Tim Hughes 2014-06-20 09:15:42 UTC
Created attachment 910714 [details]
File: environ

Comment 4 Tim Hughes 2014-06-20 09:15:44 UTC
Created attachment 910715 [details]
File: ks_base.cfg

Comment 5 Tim Hughes 2014-06-20 09:15:46 UTC
Created attachment 910716 [details]
File: lsblk_output

Comment 6 Tim Hughes 2014-06-20 09:15:48 UTC
Created attachment 910717 [details]
File: nmcli_dev_list

Comment 7 Tim Hughes 2014-06-20 09:15:49 UTC
Created attachment 910718 [details]
File: os_info

Comment 8 Tim Hughes 2014-06-20 09:15:51 UTC
Created attachment 910719 [details]
File: program.log

Comment 9 Tim Hughes 2014-06-20 09:15:54 UTC
Created attachment 910720 [details]
File: storage.log

Comment 10 Tim Hughes 2014-06-20 09:15:55 UTC
Created attachment 910721 [details]
File: ifcfg.log

Comment 11 Tim Hughes 2014-06-20 09:15:58 UTC
Created attachment 910722 [details]
File: packaging.log

Comment 12 James Antill 2014-11-12 13:59:16 UTC
 Anaconda has:

    def _resetYum(self, root=None, keep_cache=False, releasever=None):
[...]

            # Enable all types of yum plugins. We're somewhat careful about what
            # plugins we put in the environment.
            self._yum.preconf.plugin_types = yum.plugins.ALL_TYPES
            self._yum.preconf.enabled_plugins = YUM_PLUGINS

....which implies that anaconda needs to control the environment so that the changelog plugin (or aliases/etc.) aren't there. The above code is a year or two old, so I assume something has changed in the environment recently?

 Not sure why anaconda doesn't just say only run non-interactive plugins, and make sure any that it needs are non-interactive. But there is nothing yum can do, it's told to run all plugins and does, but then can't.

Comment 13 James Antill 2014-11-12 14:00:09 UTC
*** Bug 1100399 has been marked as a duplicate of this bug. ***

Comment 14 David Shea 2014-11-12 22:18:41 UTC
Oops. Thanks, James.

Comment 15 David Shea 2014-11-12 22:28:33 UTC
*** Bug 1156370 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.