Bug 1395789 - CFME allows adding the same RHV provider twice
Summary: CFME allows adding the same RHV provider twice
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: cfme-future
Assignee: Moti Asayag
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-16 16:32 UTC by movciari
Modified: 2019-04-28 13:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-21 07:10:36 UTC
Category: Bug
Cloudforms Team: RHEVM
Target Upstream Version:


Attachments (Terms of Use)

Description movciari 2016-11-16 16:32:22 UTC
Description of problem:
If you added RHV provider to CFME using hostname, you can accidentally add the same provider again using IP address

Also, when this happens, only the CFME representation of RHV provider which was refreshed last will remain populated

Version-Release number of selected component (if applicable):
5.7.0.10

How reproducible:
always

Steps to Reproduce:
1. Add RHV provider using hostname
2. Add the same RHV provider using IP
3. Check your providers

Actual results:
RHV provider will be there twice

Expected results:
CFME should detect it's the same provider and refuse to add it again, with user-friendly error message

Additional info:
Detection can be done by resolving hostname to IP address, or by having some provider UUID field in RHV

Comment 2 Oved Ourfali 2016-11-21 07:10:36 UTC
As long as the name is being checked (and it is as far as I know), I don't see why someone would add the provider using an IP.
In general, usage of IPs is not common and not recommended.

Closing this as WONTFIX.


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