Bug 1733294 - [VMware][ESXi] Disable the ability to add a standalone Host
Summary: [VMware][ESXi] Disable the ability to add a standalone Host
Status: POST
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.11.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: GA
: 5.11.z
Assignee: Brian McLaughlin
QA Contact: Kedar Kulkarni
Red Hat CloudForms Documentation
Depends On:
TreeView+ depends on / blocked
Reported: 2019-07-25 15:57 UTC by Kedar Kulkarni
Modified: 2021-02-15 03:13 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Category: Bug
Cloudforms Team: VMware
Target Upstream Version:

Attachments (Terms of Use)

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): ( but really also in 5.10) 

How reproducible:

Steps to Reproduce:

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:

commit f9f1170425fccb58d88e8b3bd8e9e040d7f9b732
Author:     Adam Grare <agrare@redhat.com>
AuthorDate: Tue Aug  6 12:58:15 2019 -0400
Commit:     Adam Grare <agrare@redhat.com>
CommitDate: Tue Aug  6 12:58:15 2019 -0400


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


 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?



Note You need to log in before you can comment on or make changes to this bug.