Project

General

Profile

Actions

Bug #23580

closed

Non-clustered ESX hosts, no longer appear in host creation

Added by Jeff Sparrow almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Compute resources - VMware
Target version:

Description

We are seeing a new issue with Foreman 1.17 and ESX 6.5, that previously worked on Foreman 1.16.

ESX hosts that are non clustered, no longer show up as an option in the Virtual Machine tab. It used to be that you could choose any host within an ESX DataCenter, regardless if it was part of a cluster or not.
We have numerous vcenters, many with dozens of hosts that are non-clustered.

It would be nice if the previous methodology worked, as it supported both clustered and non-clustered ESX hosts.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #23961: Networks in a distributed switch take a long time to load when there is alotClosedTimo GoebelActions
Actions #1

Updated by Jeff Sparrow almost 6 years ago

Work around:

Create a cluster under the datacenter and move the single host into it.

Actions #2

Updated by Ewoud Kohl van Wijngaarden almost 6 years ago

  • Project changed from Packaging to Foreman
  • Category set to Compute resources - VMware

I'm going to assume this isn't a packaging issue so I'm moving this to the main foreman project.

Actions #3

Updated by Jeff Sparrow almost 6 years ago

Ewoud Kohl van Wijngaarden wrote:

I'm going to assume this isn't a packaging issue so I'm moving this to the main foreman project.

Thanks. I totally missed the category dropdown.

Actions #4

Updated by Jeff Sparrow almost 6 years ago

  • Priority changed from Normal to High

Bumped this to high as its becoming a nuisance. We would really like the legacy ability from < 1.16 to be able to select individual hosts and not just clustered objects. We have 490+ racks and each one is on its own network. Which means in order to provision to them, we need to create a cluster object for every single host that is in a different rack. The old methodology was much better as it allowed you to choose a cluster AND individual, non-clustered hosts.

Actions #5

Updated by Anon niem almost 6 years ago

this solved it for me, https://github.com/fog/fog/commit/66e5521 note: file is in /opt/theforeman/

Actions #6

Updated by Chris Roberts almost 6 years ago

  • Assignee set to Chris Roberts
  • Triaged set to Yes

Can confirm it does not work past 1.15, this looks like the commit that broke it:

https://github.com/fog/fog-vsphere/commit/f8b8759de44708a0e4e888da028b6cac6957fd7b#diff-a2a6d7b8a06d68744da04414afb9b591

Will keep looking further.

Actions #7

Updated by Chris Roberts almost 6 years ago

  • Pull request https://github.com/fog/fog-vsphere/pull/149 added
Actions #8

Updated by Chris Roberts almost 6 years ago

  • Status changed from New to Ready For Testing
  • translation missing: en.field_release set to 370
  • Difficulty set to easy
Actions #9

Updated by Nathan Ward almost 6 years ago

Hi - I note that the target release for this is 1.18.1 which is great! However the fix is in fog-vsphere 2.3.0 which is included only in Foreman 1.19.

Does this mean that the target release is incorrect and should be 1.19, or, should we get fog-vsphere 2.3.0 included for Foreman 1.18.1 as well? My preference is for the latter - but not sure the position of the project on updating libraries' minor versions for a patch release.

Actions #10

Updated by Chris Roberts almost 6 years ago

  • Target version changed from 1.18.1 to 1.19.0

Hi Nathan,

I have moved it to 1.19 since the new packages are built for that and have not been pulled into 1.18. Since branching is pretty close for 1.19 I feel it is safer to just leave it on that release for now.

Actions #11

Updated by Chris Roberts almost 6 years ago

  • Status changed from Ready For Testing to Resolved
  • Fixed in Releases 1.19.0 added
Actions #12

Updated by Chris Roberts almost 6 years ago

  • Bugzilla link set to 1596858
Actions #13

Updated by Chris Roberts almost 6 years ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/2729 added
Actions #14

Updated by Chris Roberts almost 6 years ago

  • Pull request https://github.com/theforeman/foreman-packaging/pull/2731 added
Actions #15

Updated by Ewoud Kohl van Wijngaarden over 5 years ago

  • Related to Bug #23961: Networks in a distributed switch take a long time to load when there is alot added
Actions #16

Updated by Tomer Brisker over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF