Bug 691442 - [RFE] job whiteboard in machine reservation notification email and its /etc/motd
Summary: [RFE] job whiteboard in machine reservation notification email and its /etc/motd
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: tests
Version: 0.5
Hardware: Unspecified
OS: Unspecified
low
unspecified vote
Target Milestone: 0.10.0
Assignee: Nick Coghlan
QA Contact: Dan Callaghan
URL:
Whiteboard: Misc
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-28 14:58 UTC by Ales Zelinka
Modified: 2012-11-22 06:43 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-22 06:43:33 UTC


Attachments (Terms of Use)

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


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