Bug 1287834

Summary: Provider: I can add the same provider twice - once by ip and one by hostname
Product: Red Hat CloudForms Management Engine Reporter: Dafna Ron <dron>
Component: ProvidersAssignee: Greg Blomquist <gblomqui>
Status: CLOSED DUPLICATE QA Contact: Tony <ashlifst>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.5.0CC: atal, dajohnso, fsimonce, gblomqui, hkataria, jfrey, jhardy, jprause, mpovolny, nachandr, obarenbo
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: container:add
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1290224 (view as bug list) Environment:
Last Closed: 2016-04-02 00:42:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1290224    
Attachments:
Description Flags
logs none

Description Dafna Ron 2015-12-02 19:14:53 UTC
Created attachment 1101597 [details]
logs

Description of problem:

I added my openshift host to the same cfme: once with it's ip and once with it's hostname. 

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

cfme-5.5.0.13-1.el7cf.x86_64

How reproducible:

100%

Steps to Reproduce:
1. add an openshift atomic provider by ip
2. try to add the same openshift by ip again
3. try to add the same openshift by it's hostname

Actual results:

We would fail to add the same provider if we try by the ip twice but would succeed if we give it hostname 

Expected results:

we should not be able to add the same provider (either by hostname or ip) again. 

Additional info: logs


[dron@dron ~]$ ssh -l cloud-user 10.8.52.61
reverse mapping checking getaddrinfo for floating-10-8-52-61.qeos.lab.eng.rdu2.redhat.com [10.8.52.61] failed - POSSIBLE BREAK-IN ATTEMPT!
Last login: Wed Dec  2 13:54:58 2015 from vpn1-4-105.ams2.redhat.com
[cloud-user@ose3-master ~]$ hostname
ose3-master.novalocal
[cloud-user@ose3-master ~]$

Comment 1 Dafna Ron 2015-12-02 19:22:51 UTC
*** Bug 1287836 has been marked as a duplicate of this bug. ***

Comment 2 Federico Simoncelli 2016-03-06 11:29:25 UTC
I don't think that this is related to containers only (as it was set in the whiteboard).

Greg this is an issue across all providers right?

Comment 4 Greg Blomquist 2016-03-15 13:57:22 UTC
This is a dup of another bug.  Dave can you track down the dup and close this one appropriately?

Comment 5 Greg Blomquist 2016-04-02 00:42:08 UTC

*** This bug has been marked as a duplicate of bug 1247016 ***

Comment 6 Red Hat Bugzilla 2023-09-14 03:14:17 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days