Project

General

Profile

Actions

Feature #5940

closed

teuthology: usage output, error messages could be more helpful

Added by Tamilarasi muthamizhan over 10 years ago. Updated over 10 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

Teuthology error logging could be better,

for ex:
tamil@ubuntu:~/next/teuthology$ ./virtualenv/bin/teuthology-lock --list burnupi27 --summary
usage: teuthology-lock [-h] [-v]
(--list | --list-targets | --lock | --unlock | --lock-many NUM_TO_LOCK | --update | --summary)
[-a] [--owner OWNER] [-f] [--desc DESC]
[--desc-pattern DESC_PATTERN]
[--machine-type MACHINE_TYPE] [--status {up,down}]
[--locked {true,false}] [--brief] [-t TARGETS]
[--os-type OS_TYPE]
[MACHINE [MACHINE ...]]
teuthology-lock: error: argument --summary: not allowed with argument --list

while the above error says, summary is not allowed with list, it would be nice, if it also mentions, --brief is required with list.

Actions #1

Updated by Sage Weil over 10 years ago

  • Target version set to v0.68 - continued
Actions #2

Updated by Sage Weil over 10 years ago

  • Subject changed from teuthology: Error logging could be better to teuthology: usage output, error messages could be more helpful
Actions #3

Updated by Ian Colle over 10 years ago

  • Translation missing: en.field_story_points set to 5.00
Actions #4

Updated by Ian Colle over 10 years ago

  • Translation missing: en.field_story_points changed from 5.00 to 3.00
Actions #5

Updated by Sage Weil over 10 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF