Bug #17568

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

Added by Swapnil Abnave over 1 year ago. Updated 8 months ago.

Status:Closed
Priority:Normal
Assigned To:Swapnil Abnave
Category:Compute resources
Target version:Foreman - Team Anurag Iteration 21
Difficulty:trivial Bugzilla link:1387917
Found in release:nightly Pull request:https://github.com/theforeman/hammer-cli-foreman/pull/270, https://github.com/theforeman/hammer-cli-foreman/pull/272
Story points-
Velocity based estimate-

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

Related to Foreman - Bug #19326: Compute Resource - Make URL optional for certain provider... Closed 04/20/2017

Associated revisions

Revision 432c4160
Added by Swapnil Abnave 8 months ago

Fixes #17568 - create compute-resource VMware - URL optional

History

#1 Updated by Swapnil Abnave over 1 year ago

  • Target version changed from Team Daniel - iteration 7 to Team Anurag Iteration 7

#2 Updated by Swapnil Abnave over 1 year ago

  • Description updated (diff)

#3 Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/270 added

#4 Updated by The Foreman Bot over 1 year ago

  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/272 added

#5 Updated by Swapnil Abnave about 1 year ago

  • Related to Bug #19326: Compute Resource - Make URL optional for certain providers(example: VMware) added

#6 Updated by Swapnil Abnave 8 months ago

  • Target version changed from Team Anurag Iteration 7 to Team Anurag Iteration 20

#7 Updated by Swapnil Abnave 8 months ago

  • Target version changed from Team Anurag Iteration 20 to Team Anurag Iteration 21

#8 Updated by Swapnil Abnave 8 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF