Bug #19326
closedCompute Resource - Make URL optional for certain providers(example: VMware)
Updated by Swapnil Abnave over 7 years ago
- Related to Bug #17568: Not able to create the VMware compute resource without --url flag in hammer added
Updated by Dominic Cleal over 7 years 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.)
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4461 added
Updated by Swapnil Abnave over 7 years 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.
Updated by Swapnil Abnave over 7 years ago
- Target version changed from 177 to 1.17.0-RC1
Updated by Swapnil Abnave about 7 years ago
- Related to Bug #20429: Docker Compute Resource - URL should be required added
Updated by Timo Goebel about 7 years ago
- Translation missing: en.field_release set to 240
Updated by Swapnil Abnave about 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 184392480b0ef42291dda4fabdab338d699c4239.