Bug 1301324

Summary: Editing a Provider/Host Name with IP Address resets the value to the FQDN
Product: Red Hat CloudForms Management Engine Reporter: Jeff Teehan <jteehan>
Component: ProvidersAssignee: Marcel Hild <mhild>
Status: CLOSED DUPLICATE QA Contact: Jeff Teehan <jteehan>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.5.0CC: hkataria, jfrey, jhardy, jteehan, mpovolny, obarenbo
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: provider:host:web:ui
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-23 16:58:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Unknown Target Upstream Version:

Description Jeff Teehan 2016-01-24 06:39:36 UTC
Description of problem:

I needed to set the Host Name to an IP Address rather than FQDN as the name doesn't resolve.  I also set the Default and Remote passwords (windows systems).  The password was wrong, so I went back in to change it, only now the IP Address had been replaced with the FQDN.  This further confused my test.

So, if a user sets the Host Name to be an IP address, we should not reset the value when editing the host.

Version-Release number of selected component (if applicable):
5.5.2.2 (verified with 5.5.0 as well)

How reproducible: It doesn't reset right away, but will after a few actions.  I'll polish up the steps.  It's not a big bug.


Steps to Reproduce:
1. Modify the Host Name field by editing a Provider/Host and use an IP Address.
2. Save the Changes
3. Navigate to Virtual Machines and then back to Hosts

Actual results:

The Host Name will reset back to the FQDN by itself.

Expected results:

The set value should be permanent.

Additional info:

Comment 2 Jeff Teehan 2016-01-28 18:18:24 UTC
We'll have to work together on this.  The specific steps still allude me.  Hit me up when you want to do some troubleshooting.  I'm on IRC as jt

Comment 3 Marcel Hild 2016-02-11 20:18:31 UTC
Is this a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1301323 ?

Comment 4 Marcel Hild 2016-02-22 09:30:27 UTC
Jeff, if this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1301323 can you please close this?

Comment 5 Jeff Teehan 2016-02-23 16:58:44 UTC
Yes.  Closing now.  Added comments to the above bug.

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

Comment 6 Jeff Teehan 2016-10-03 16:14:27 UTC
Added Polarion test case