Bug 839718

Summary: install_RHUA.sh script should check that hostname is set before continuing
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: James Slagle <jslagle>
Component: RHUAAssignee: James Slagle <jslagle>
Status: CLOSED ERRATA QA Contact: Martin Kočí <mkoci>
Severity: unspecified Docs Contact:
Priority: high    
Version: 2.1CC: kbidarka, mkoci, mmariani, sachua, sghai, tsanders
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The install_RHUA.sh and install_CDS.sh scripts did not check if hostname is set which leads to an error during installation if hostname was not set correctly. The scripts have been modified to check if hostname is set before continuing. If hostname is set to localhost.localdomain or localhost, the scripts will stop and report an error.
Story Points: ---
Clone Of:
: 840016 (view as bug list) Environment:
Last Closed: 2012-08-24 11:55:14 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: 840016    

Description James Slagle 2012-07-12 16:14:13 UTC
install_RHUA.sh script should check that hostname is set before continuing

if hostname is set to localhost.localdomain or localhost, bail out and report an error.

Comment 1 James Slagle 2012-07-12 16:45:49 UTC
committed to install_RHUA.sh script

Comment 2 James Slagle 2012-07-12 16:46:18 UTC
and the same logic committed to the install_CDS.sh script

Comment 3 James Slagle 2012-07-31 18:05:52 UTC
*** Bug 834026 has been marked as a duplicate of this bug. ***

Comment 4 Martin Kočí 2012-08-03 11:43:08 UTC
checked install_CDS.sh and install_RHUA.sh script for chekcing the hostname issue...
RHEL-6.3-RHUI-2.1-20120801.0-Server-x86_64-DVD1.iso

Issue reproduced against RHEL-6.3-RHUI-2.1-20120705.0-Server-x86_64-DVD1.iso

Moving bug to VERIFIED.

Comment 5 sachua 2012-08-15 04:56:46 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
The install_RHUA.sh and install_CDS.sh scripts did not check if hostname is set which leads to an error during installation if hostname was not set correctly. The scripts have been modified to check if hostname is set before continuing. If hostname is set to localhost.localdomain or localhost, the scripts will stop and report an error.

Comment 7 errata-xmlrpc 2012-08-24 11:55:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2012-1205.html