Bug #19326

Compute Resource - Make URL optional for certain providers(example: VMware)

Added by Swapnil Abnave 2 months ago. Updated 8 days ago.

Status:Ready For Testing
Priority:Normal
Assigned To:Swapnil Abnave
Category:Compute resources
Target version:Team Anurag Iteration 16
Difficulty:trivial Bugzilla link:
Found in release:nightly Pull request:https://github.com/theforeman/foreman/pull/4461
Story points-
Velocity based estimate-

Related issues

Related to Hammer CLI - Bug #17568: Not able to create the VMware compute resource without --... Ready For Testing 12/03/2016

History

#1 Updated by Swapnil Abnave 2 months ago

  • Related to Bug #17568: Not able to create the VMware compute resource without --url flag in hammer added

#2 Updated by Dominic Cleal 2 months ago

Why would the URL be optional on a VMware compute resource? How would the CR be accessed, is there a well-known default?

(Fog::Compute::Vsphere specifies the server address as required.)

#3 Updated by The Foreman Bot 2 months ago

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

#4 Updated by Swapnil Abnave 2 months ago

Dominic Cleal wrote:

Why would the URL be optional on a VMware compute resource? How would the CR be accessed, is there a well-known default?

(Fog::Compute::Vsphere specifies the server address as required.)

I suppose server attribute is an alias for url and it is required in Foreman::Model::Vmware https://github.com/theforeman/foreman/blob/develop/app/models/compute_resources/foreman/model/vmware.rb#L9

Attribute server is mandatory per API and Web. I think making URL not required for VMware would be fine.

#5 Updated by Swapnil Abnave 8 days ago

  • Target version changed from Team Anurag Iteration 12 to Team Anurag Iteration 16

Also available in: Atom PDF