Bug 1731548

Summary: [RFE] Dis-allow the addition of ESX hosts directly
Product: Red Hat CloudForms Management Engine Reporter: dmetzger
Component: ProvidersAssignee: Adam Grare <agrare>
Status: CLOSED NOTABUG QA Contact: Kedar Kulkarni <kkulkarn>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.11.0CC: jfrey, jhardy, kkulkarn, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.12.0Flags: kkulkarn: automate_bug-
mfeifer: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Removed functionality
Doc Text:
Note: It is no longer supported to add ESXi Hosts directly to CloudForms as VMware Provider.
Story Points: ---
Clone Of:
: 1767783 (view as bug list) Environment:
Last Closed: 2020-03-20 15:39:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Feature
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: VMware Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1767783    

Description dmetzger 2019-07-19 17:44:45 UTC
Description of problem:

CloudForms does not support managing ESX hosts directly (there was partial support for this in the past), currently a user can add and ESX host directly as a provider but many things beyond the add will not work. This is a request to inhibit the addition of an ESX host directly as a provider.


Version-Release number of selected component (if applicable):
5.10 / 5.11

How reproducible:


Steps to Reproduce:
1.l
3.

Actual results:


Expected results:


Additional info:

Comment 3 CFME Bot 2019-08-12 20:12:04 UTC
New commit detected on ManageIQ/manageiq-providers-vmware/master:

https://github.com/ManageIQ/manageiq-providers-vmware/commit/da87a7bd81da798f76a17ca2b085615bedaaa9c0
commit da87a7bd81da798f76a17ca2b085615bedaaa9c0
Author:     Adam Grare <agrare>
AuthorDate: Mon Jul 22 14:18:24 2019 -0400
Commit:     Adam Grare <agrare>
CommitDate: Mon Jul 22 14:18:24 2019 -0400

    Don't allow adding ESX hosts as VMware providers

    When validating credentials check that the entity that we are connected
    to is a vCenter server not an ESX host.

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1731548

 app/models/manageiq/providers/vmware/infra_manager.rb | 5 +-
 app/models/manageiq/providers/vmware/infra_manager/vim_connect_mixin.rb | 6 +-
 2 files changed, 6 insertions(+), 5 deletions(-)