Project

General

Profile

Actions

Bug #22665

closed

Duplicate hammer options to view available compute-resource image

Added by Daniel Lobato Garcia almost 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
No
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Description of problem: In hammer CLI, compute-resource image available needs to pass two parameters to see images available for addition.

hammer> compute-resource image available -h
Usage:
compute-resource image available [OPTIONS]

Options:
--compute-resource NAME
--compute-resource-id ID
--id ID
--name NAME Compute resource name
-h, --help print help

Version-Release number of selected component (if applicable): Satellite 6.3 snap 25

How reproducible: always

Steps to Reproduce:
1. hammer> compute-resource image available --id 67
Error: At least one of options --compute-resource-id, --compute-resource is required

See: ' compute-resource image available --help'

2. hammer> compute-resource image available --id 67
Error: At least one of options --compute-resource-id, --compute-resource is required

See: ' compute-resource image available --help'

3.hammer> compute-resource image available --id 67
Error: At least one of options --compute-resource-id, --compute-resource is required

See: ' compute-resource image available --help'

4. hammer> compute-resource image available --name 'rhev_compute'
Error: At least one of options --compute-resource-id, --compute-resource is required

See: ' compute-resource image available --help'

Actual results:

Need to pass two parameters to see available images for addition.

Expected results: Remove duplicate options and passing only id or name should work.

Additional info:


Related issues 1 (0 open1 closed)

Related to Hammer CLI - Tracker #16829: Tracker for compute resource related issuesClosed

Actions
Actions #1

Updated by Tomáš Strachota over 6 years ago

  • Related to Tracker #16829: Tracker for compute resource related issues added
Actions #2

Updated by Chris Roberts over 6 years ago

  • Subject changed from Duplicate hammer options to view available compute-resource image to Duplicate hammer options to view available compute-resource image
  • Assignee deleted (Chris Roberts)
Actions #3

Updated by Akshay Mendhe about 6 years ago

  • Assignee set to Akshay Mendhe
Actions #4

Updated by Akshay Mendhe about 6 years ago

Closing this issue, as the bug doesn't exist anymore.

Actions #5

Updated by Akshay Mendhe about 6 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF