Bug 691442

Summary: [RFE] job whiteboard in machine reservation notification email and its /etc/motd
Product: [Retired] Beaker Reporter: Ales Zelinka <azelinka>
Component: testsAssignee: Nick Coghlan <ncoghlan>
Status: CLOSED CURRENTRELEASE QA Contact: Dan Callaghan <dcallagh>
Severity: unspecified Docs Contact:
Priority: low    
Version: 0.5CC: bpeck, dcallagh, mcsontos, mishin, rmancy, stl
Target Milestone: 0.10.0Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Misc
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-22 06:43:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ales Zelinka 2011-03-28 14:58:20 UTC
Description of problem:
I identify my beaker jobs using whiteboard but there is no simple way of linking a reserved machine with a job because neither the reservation notification email nor the motd on the reserved machine contains the whiteboard.

Comment 1 Nick Coghlan 2012-10-17 04:35:22 UTC
Bulk reassignment of issues as Bill has moved to another team.

Comment 2 Nick Coghlan 2012-10-29 08:04:43 UTC
Patch uploaded to Gerrit: http://gerrit.beaker-project.org/#/c/1451/

Comment 5 Dan Callaghan 2012-11-07 06:52:25 UTC
This breaks provisioning Manual systems, as illustrated by SystemProvisionXmlRpcTest failures:

2012-11-07 16:24:01,099 bkr.server.xmlrpccontroller ERROR Error handling XML-RPC method
Traceback (most recent call last):
  File "/home/dcallagh/work/beaker/Server/bkr/server/xmlrpccontroller.py", line 54, in RPC2
    response = self.process_rpc(method,params)
  File "/home/dcallagh/work/beaker/Server/bkr/server/xmlrpccontroller.py", line 43, in process_rpc
    response = obj(*params)
  File "<string>", line 3, in provision
  File "/usr/lib/python2.6/site-packages/turbogears/controllers.py", line 359, in expose
    *args, **kw)
  File "<generated code>", line 0, in _expose
  File "/usr/lib/python2.6/site-packages/peak/rules/core.py", line 153, in __call__
    return self.body(*args, **kw)
  File "/usr/lib/python2.6/site-packages/turbogears/controllers.py", line 394, in <lambda>
    fragment, options, args, kw)))
  File "/usr/lib/python2.6/site-packages/turbogears/controllers.py", line 429, in _execute_func
    output = errorhandling.try_call(func, *args, **kw)
  File "/usr/lib/python2.6/site-packages/turbogears/errorhandling.py", line 77, in try_call
    return func(self, *args, **kw)
  File "<string>", line 3, in provision
  File "/usr/lib/python2.6/site-packages/turbogears/identity/conditions.py", line 249, in require
    return fn(self, *args, **kwargs)
  File "/home/dcallagh/work/beaker/Server/bkr/server/systems.py", line 196, in provision
    system=system, user=identity.current.user, kickstart=kickstart)
  File "/home/dcallagh/work/beaker/Server/bkr/server/kickstart.py", line 148, in generate_kickstart
    'recipe_whiteboard': recipe.whiteboard,
AttributeError: 'NoneType' object has no attribute 'whiteboard'

Comment 6 Nick Coghlan 2012-11-08 04:49:53 UTC
New and improved: http://gerrit.beaker-project.org/#/c/1474/

Comment 8 Raymond Mancy 2012-11-22 06:43:33 UTC
This has now been released