Actions
Bug #10151
closedUnable to get resource pool when cluster name != cluster full_path
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Description
Currently the clusters function in app/models/compute_resources/foreman/model/vmware.rb maps the full_path. This only works when the cluster name is the same as the cluster full_path.
All references in Fog to retrieve cluster information relies on the cluster name not the cluster full path.
I get the following failed to create vm: undefined method `resourcePool' for nil:NilClass when trying to pass the cluster full_path. Changing the clusters function in app/models/compute_resources/foreman/model/vmware.rb to map to name instead fixes this issue.
Actions