Bug 1388944 - [RFE] Add New Provider Hostname field check
Summary: [RFE] Add New Provider Hostname field check
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.7.0
Hardware: Unspecified
OS: Linux
low
low
Target Milestone: GA
: cfme-future
Assignee: John Hardy
QA Contact: Dave Johnson
URL:
Whiteboard: provider:add
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-26 14:06 UTC by Matt Bagnara
Modified: 2019-07-08 11:40 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-08 11:40:39 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:


Attachments (Terms of Use)

Description Matt Bagnara 2016-10-26 14:06:04 UTC
Description of problem:
Entering an invalid entry for the Hostname field results in a generic error message.

Version-Release number of selected component (if applicable):
 5.7.0.7-beta1.20161025153249_9376fbd

How reproducible:


Steps to Reproduce:
1. Compute->Containers->providers
2. Configuration->Add New Containers Provider
3. Fill out the Hostname field with something like https://openshift.rhc-lab.iad.redhat.com
4. Fill out rest of the fields.
5. Click Validate

Actual results:
Credential validation was not successful: bad component(expected host component): [https://openshift.rhc-lab.iad.redhat.com]

Expected results:
Perhaps a regex check on the input field with a more helpful error message.

Additional info:
Removing the https:// protocol works since it asks for a hostname instead of URI

Comment 2 Harpreet Kataria 2016-10-26 17:14:24 UTC
Federico,

Please send it back to me if this is a generic UI bug.

Thanks,
~Harpreet

Comment 3 Federico Simoncelli 2016-10-27 08:40:17 UTC
(In reply to Harpreet Kataria from comment #2)
> Federico,
> 
> Please send it back to me if this is a generic UI bug.

If things haven't changed recently we're just consuming the regular hostname and port fields shared across all providers.

Also I checked and this is an issue present on other providers as well (RHEV, OpenStack)


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