Bug 1111535
| Summary: | ConfigError: registration of commands not supported | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tim Hughes <thughes> | ||||||||||||||||||||||||
| Component: | anaconda | Assignee: | David Shea <dshea> | ||||||||||||||||||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||||
| Version: | 19 | CC: | admiller, anaconda-maint-list, dct996, g.kaviyarasu, james.antill, jonathan, packaging-team-maint, sdharane, vanmeeuwen+fedora | ||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||||
| Whiteboard: | abrt_hash:950332e64643041701422b7ec981247817c53bf2d358c9344161f93d0aa1c7e8 | ||||||||||||||||||||||||||
| Fixed In Version: | anaconda-22.11-1 | Doc Type: | Bug Fix | ||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||||
| Last Closed: | 2014-12-02 19:24:13 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: | |||||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||||
Created attachment 910712 [details]
File: anaconda-tb
Created attachment 910713 [details]
File: anaconda.log
Created attachment 910714 [details]
File: environ
Created attachment 910715 [details]
File: ks_base.cfg
Created attachment 910716 [details]
File: lsblk_output
Created attachment 910717 [details]
File: nmcli_dev_list
Created attachment 910718 [details]
File: os_info
Created attachment 910719 [details]
File: program.log
Created attachment 910720 [details]
File: storage.log
Created attachment 910721 [details]
File: ifcfg.log
Created attachment 910722 [details]
File: packaging.log
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.
*** Bug 1100399 has been marked as a duplicate of this bug. *** Oops. Thanks, James. *** Bug 1156370 has been marked as a duplicate of this bug. *** |
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