Project

General

Profile

Bug #11274

Unable to get resource pool when cluster is nested in intermediate folder under Datacenter

Added by Jakub Sliva about 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources - VMware
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

When there are intermediate folders in VMware vCenter tree VM create fails. I found a bug in fog list_clusters.rb and created pull request on this (https://github.com/slivik/fog/pull/1). So after this is merged attribute full_path should work and should be used for mapping clusters (in app/models/compute_resources/foreman/model/vmware.rb).


Related issues

Related to Foreman - Bug #10151: Unable to get resource pool when cluster name != cluster full_pathClosed2015-04-15
Blocked by Foreman - Refactor #10997: Update fog to 1.33.0Closed2015-07-03

Associated revisions

Revision bb6aa56d (diff)
Added by Jakub Sliva about 4 years ago

fixes #11274 - Unable to get resourcePoo

Cluster attribute full_path makes sense when there are intermediate folders (both between vCenter/datacenter and datacenter/cluster). There was a bug/typo in fog (https://github.com/slivik/fog/pull/1) and after it is merged this should work.

History

#1 Updated by Jakub Sliva about 4 years ago

Sorry wrong link to fog pull request. This is correct one: https://github.com/fog/fog/pull/3645

#2 Updated by The Foreman Bot about 4 years ago

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

#3 Updated by Dominic Cleal about 4 years ago

#4 Updated by Dominic Cleal about 4 years ago

  • Related to Bug #10151: Unable to get resource pool when cluster name != cluster full_path added

#5 Updated by Jakub Sliva about 4 years ago

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

#6 Updated by Dominic Cleal about 4 years ago

  • Assignee set to Jakub Sliva
  • Legacy Backlogs Release (now unused) set to 63

#7 Updated by Daniel Lobato Garcia about 2 years ago

  • Bugzilla link set to 1207165

Also available in: Atom PDF