Project

General

Profile

Actions

Bug #40727

open

mgr/dashboard: Unsufficient arguments provided in CLI cause error

Added by Patrick Seidensal almost 5 years ago. Updated 7 months ago.

Status:
New
Priority:
High
Assignee:
-
Category:
UX
Target version:
-
% Done:

0%

Source:
Tags:
low-hanging-fruit
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When creating a user with `ceph dashboard ac-user-create foo` and not providing all required arguments, an traceback is displayed. I'd prefer a message which explains to the user, that there are more arguments required for the command to be executed. But it seems that Ceph itself is not as talkative as I'd recommend the dashboard CLI commands to be.

It may not only be an issue for the `ac-user-create` command but a general issue with ceph commands provided by the dashboard.

Actions #1

Updated by Ernesto Puerta about 3 years ago

  • Translation missing: en.field_tag_list set to low-hanging-fruit
Actions #2

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 152 to UX
Actions #3

Updated by Ernesto Puerta almost 3 years ago

  • Priority changed from Low to High
  • Severity changed from 3 - minor to 2 - major

This might be a regression introduced by the refactoring of the @CLICommand to use Python type hints.

Actions #4

Updated by Laura Flores 7 months ago

Seems like this has been addressed in the latest version:

$ ceph dashboard ac-user-create foo
Error EINVAL: Input file not specified: Please specify the file containing password/secret with "-i" option
Actions

Also available in: Atom PDF