Bug 1733294

Summary: [VMware][ESXi] Disable the ability to add a standalone Host
Product: Red Hat CloudForms Management Engine Reporter: Kedar Kulkarni <kkulkarn>
Component: UI - OPSAssignee: Brian McLaughlin <bmclaugh>
Status: POST --- QA Contact: Sudhir Mallamprabhakara <smallamp>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.11.0CC: bmidwood, dmetzger, hkataria, jhardy, kdixon, lavenel, mshriver
Target Milestone: GA   
Target Release: 5.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: VMware Target Upstream Version:
Embargoed:

Description Kedar Kulkarni 2019-07-25 15:57:55 UTC
Description of problem:
If you navigate to Compute->Infrastructure->Hosts, and try to either 1) Discover hosts, or (2) Add a new Host 
It allows you to add a standalone ESXi Hosts, but there are two issues:
1) Default Endpoint throws error when trying to validate : Web Services authentication is not supported for hosts of this type 
2) I can add host using Remote Login Endpoint, but it gets added as an Archived Host, as there is no EMS(VMware) provider added. 

This workflow is documented: https://access.redhat.com/documentation/en-us/red_hat_cloudforms/4.7/html/managing_infrastructure_and_inventory/sect_hosts#adding_a_single_host

Although I do not think/know if it is used by custoemrs and also valid. If it is valid, we need to address issues 1&2 above.

Version-Release number of selected component (if applicable):
5.11.0.16 ( but really also in 5.10) 

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 5 Adam Grare 2019-08-06 14:28:40 UTC
https://github.com/ManageIQ/manageiq-providers-vmware/pull/415 disallows hosts from being added as a provider, but there is still the ability on the hosts page to add a standalone host which is what I assume has to be done here.

Comment 8 CFME Bot 2019-08-13 21:30:55 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/f9f1170425fccb58d88e8b3bd8e9e040d7f9b732
commit f9f1170425fccb58d88e8b3bd8e9e040d7f9b732
Author:     Adam Grare <agrare>
AuthorDate: Tue Aug  6 12:58:15 2019 -0400
Commit:     Adam Grare <agrare>
CommitDate: Tue Aug  6 12:58:15 2019 -0400

    Remove unused HOST_CREATE/DISCOVERY_TYPE

    We are removing the ability to add/discover standalone hosts not
    connected to an ext_management_system.

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

 app/models/host.rb | 20 +-
 spec/models/host_spec.rb | 8 -
 2 files changed, 8 insertions(+), 20 deletions(-)

Comment 9 Brian McLaughlin 2019-08-16 19:25:00 UTC
Not sure why the bot didn't pick these up?

https://github.com/ManageIQ/manageiq-ui-classic/pull/5963

https://github.com/ManageIQ/manageiq/pull/19116