Project

General

Profile

Actions

Bug #10151

closed

Unable to get resource pool when cluster name != cluster full_path

Added by Francois Herbert over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Compute resources - VMware
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #11274: Unable to get resource pool when cluster is nested in intermediate folder under DatacenterClosedJakub Sliva08/02/2015Actions
Related to Foreman - Bug #8581: Can't provision a new host if vmware cluster is under folderClosedShlomi Zadok12/04/2014Actions
Actions

Also available in: Atom PDF