Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 907367

Summary: Installation failed when hostname is not defined
Product: Red Hat OpenStack Reporter: Gary Kotton <gkotton>
Component: openstack-packstackAssignee: RHOS Maint <rhos-maint>
Status: CLOSED DUPLICATE QA Contact: Nir Magnezi <nmagnezi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0 (Folsom)CC: aortega, derekh, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-04 09:52:27 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:

Description Gary Kotton 2013-02-04 08:29:45 UTC
Description of problem:
When installing RHEL 6.4 and not defining the hostname (leave default value). The packastack installation fails

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


2013-02-04 05:18:48::ERROR::ospluginutils::135::root:: Error  during
remote puppet apply of
/var/tmp/packstack/20130204-0515/manifests/10.35.4.83_mysql.pp
2013-02-04 05:18:48::ERROR::ospluginutils::136::root:: Duplicate
definition: Database_user[@localhost] is already defined in file
/var/tmp/packstack/20130204-0515/manifests/10.35.4.83_mysql.pp at line
13; cannot redefine at
/var/tmp/packstack/20130204-0515/manifests/10.35.4.83_mysql.pp:22 on
node localhost.localdomain

2013-02-04 05:18:48::ERROR::run_setup::814::root:: Traceback (most
recent call last):
  File
"/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py",
line 806, in main
    _main(confFile)
  File
"/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py",
line 593, in _main
    runSequences()
  File
"/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py",
line 569, in runSequences
    controller.runAllSequences()
  File
"/usr/lib/python2.6/site-packages/packstack/installer/setup_controller.py",
line 57, in runAllSequences
    sequence.run()
  File
"/usr/lib/python2.6/site-packages/packstack/installer/setup_sequences.py",
line 154, in run
    step.run()
  File
"/usr/lib/python2.6/site-packages/packstack/installer/setup_sequences.py",
line 60, in run
    function()
  File
"/usr/lib/python2.6/site-packages/packstack/plugins/puppet_950.py",
line 123, in applyPuppetManifest
    waitforpuppet(currently_running)
  File
"/usr/lib/python2.6/site-packages/packstack/plugins/puppet_950.py",
line 111, in waitforpuppet
    validate_puppet_logfile(log)
  File
"/usr/lib/python2.6/site-packages/packstack/modules/ospluginutils.py",
line 137, in validate_puppet_logfile
    raise PackStackError(message)
PackStackError: Error during puppet run : Duplicate definition:
Database_user[@localhost] is already defined in file
/var/tmp/packstack/20130204-0515/manifests/10.35.4.83_mysql.pp at line
13; cannot redefine at
/var/tmp/packstack/20130204-0515/manifests/10.35.4.83_mysql.pp:22 on
node localhost.localdomain 


Expected results:


Additional info:

Comment 2 Perry Myers 2013-02-04 09:52:27 UTC

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