Project

General

Profile

Actions

Feature #8078

open

teuthology-lock --update won't let you specify --owner

Added by Dan Mick about 10 years ago. Updated about 10 years ago.

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 #1

Updated by Zack Cerza about 10 years ago

  • Tracker changed from Bug to Feature
Actions

Also available in: Atom PDF