Actions
Feature #8078
openteuthology-lock --update won't let you specify --owner
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
% Done:
0%
Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Description
teuthology-lock --update can change the description or status of a lock entry, but only for the registered owner; the error message is confusing, but basically means "you can't supply --owner". Code:
assert ctx.owner is None, 'only description and status may be updated'
I think it should be removed altogether (it's handy to be able to mark a machine down for someone, or change its description for them), but if there's disagreement, at least the message should be changed to reflect the actual policy error:
assert ctx.owner is None, 'only registered owner may update'
Actions