Description of problem: With new version of beaker-client I'm not able to add test to beaker using "make bkradd" command Version-Release number of selected component (if applicable): beaker-client-.7.0-1.el6eso.noarch beaker-0.7.0-1.el6eso.noarch How reproducible: always Steps to Reproduce: 1. run "make bkradd" in test directory Actual results: <snip> /mnt/testarea/rhts-build-rlnVu8xj/install ~/tests/e2fsprogs/Regression/bz679931-mkfs-extN-problems-on-devices-with-physical-sector Traceback (most recent call last): File "/usr/bin/bkr", line 9, in <module> load_entry_point('bkr.client==0.7.0', 'console_scripts', 'bkr')() File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 299, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2229, in load_entry_point return ep.load() File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1948, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/lib/python2.6/site-packages/bkr/client/main.py", line 26, in <module> BeakerCommandContainer.register_module(bkr.client.commands, prefix="cmd_") File "/usr/lib/python2.6/site-packages/kobo/plugins.py", line 192, in register_module __import__(module.__name__, {}, {}, module_list) File "/usr/lib/python2.6/site-packages/bkr/client/commands/cmd_job_watch.py", line 62, in <module> from bkr.client.message_bus import ClientBeakerBus File "/usr/lib/python2.6/site-packages/bkr/client/message_bus.py", line 3, in <module> from bkr.common.message_bus import BeakerBus File "/usr/lib/python2.6/site-packages/bkr/common/message_bus.py", line 22, in <module> class BeakerBus(object): File "/usr/lib/python2.6/site-packages/bkr/common/message_bus.py", line 50, in BeakerBus headers_exchange = config.get('global', 'headers_exchange') File "/usr/lib64/python2.6/ConfigParser.py", line 541, in get raise NoOptionError(option, section) ConfigParser.NoOptionError: No option 'headers_exchange' in section: 'global' ~/tests/e2fsprogs/Regression/bz679931-mkfs-extN-problems-on-devices-with-physical-sector Finished building test package rm testinfo.desc Expected results: test successfully added to beaker Additional info: after downgrade to beaker-client-0.6.17-1.el6eso.noarch "make bkradd" works flawlessly
Seems to be a global problem, even "bkr help" fails with the same traceback...
You may try to follow this: > Also if any beaker clients are using it, they will have > to disable it by adding the following in their config file > > QPID_BUS=False Source: https://engineering.redhat.com/trac/rhat/wiki/DisableQPID My more generic advice is: Stay away! beaker-client-0.7 was not released to public and qpid was disabled. Disable the beaker-stage repo, please.
Ray, are you aware of the issue? This must be fixed before new client is released. IMO default value should be provided for all non-essential configuration options. Is this covered by test suite?
No and No. Looking at it.
But yes, the 'solution' is actually to delete the file /etc/beaker/message_bus.conf. The next release of beaker will interact with the configs slightly differently, and that offending block of code will be gone.
This is solved by 734669