When a bkr workflow command is passed --hostrequire with a value that does not meet the expected format (TAG OPERATOR VALUE) it produces a traceback: $ bkr workflow-simple --distro=RHEL-7.2 --task=/distribution/reservesys --hostrequire=fqdn.example.com Traceback (most recent call last): File "/usr/bin/bkr", line 9, in <module> load_entry_point('bkr.client==22.1', 'console_scripts', 'bkr')() File "/usr/lib/python2.7/site-packages/bkr/client/main.py", line 72, in main return cmd.run(*cmd_args, **cmd_opts.__dict__) File "/usr/lib/python2.7/site-packages/bkr/client/commands/cmd_workflow_simple.py", line 106, in run recipeTemplate.addBaseRequires(*args, **kwargs) File "/usr/lib/python2.7/site-packages/bkr/client/__init__.py", line 768, in addBaseRequires self._addBaseHostRequires(**kwargs) File "/usr/lib/python2.7/site-packages/bkr/client/__init__.py", line 747, in _addBaseHostRequires key, op, value = p2.split(require,3) ValueError: need more than 1 value to unpack It should show a more descriptive error message instead.
http://gerrit.beaker-project.org/4742
This bug fix is included in beaker-client-22.3-0.git.5.a4291ca which is available for download here: https://beaker-project.org/nightlies/release-22/
Beaker 22.3 has been released. Release Notes can be found here: https://beaker-project.org/docs/whats-new/release-22.html#beaker-22-3