Project

General

Profile

Bug #22665

Duplicate hammer options to view available compute-resource image

Added by Daniel Lobato Garcia over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
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

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

History

#1 Updated by Tomáš Strachota over 3 years ago

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

#2 Updated by Chris Roberts over 3 years ago

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

#3 Updated by Akshay Mendhe about 3 years ago

  • Assignee set to Akshay Mendhe

#4 Updated by Akshay Mendhe about 3 years ago

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

#5 Updated by Akshay Mendhe about 3 years ago

  • Status changed from New to Closed

Also available in: Atom PDF