Project

General

Profile

Actions

Bug #17568

closed

Not able to create the VMware compute resource without --url flag in hammer

Added by Swapnil Abnave over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Compute resources
Target version:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from : https://bugzilla.redhat.com/1387917

Description of problem:

- While trying to create a vmware compute resource without the "--url" flag, it fails with the below error.

Could not create the compute resource:
Error: Options --name, --url, --provider are required

See: 'hammer compute-resource create --help'

Version-Release number of selected component (if applicable):

- Red Hat Satellite v 6.2

How reproducible:

- Always

Steps to Reproduce:

1. Try to create a vmware compute resource without the --url flag.

2. Hammer fails with the error.

Actual results:

- Hammer fails with the error.

Could not create the compute resource:
  Error: Options --name, --url, --provider are required

  See: 'hammer compute-resource create --help'

Expected results:

- Compute resource should be created without any errors as the vmware provider only requires the server parameter instead of url.

Additional info:

- Using the same hostname as --url and --server will work.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #19326: Compute Resource - Make URL optional for certain providers(example: VMware)ClosedSwapnil Abnave04/20/2017Actions
Actions

Also available in: Atom PDF