Bug 855891

Summary: katello-configure --deployment=headpin fails with db.seed error
Product: [Retired] Subscription Asset Manager Reporter: Eric Sammons <esammons>
Component: katello-configureAssignee: Tom McKay <tomckay>
Status: CLOSED WORKSFORME QA Contact: SAM QE List <sam-qe-list>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 1.2CC: tomckay
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-29 18:06:32 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: 816564    

Description Eric Sammons 2012-09-10 14:31:20 UTC
Description of problem:
During the configuration of katello, deployment=headpin, the configuration fails with a db seed error.  Logs indicate a connection refused error, this could be a race condition.

Version-Release number of selected component (if applicable):
katello-headpin-all-1.1.10-1.git.31.2fb829c.fc16.noarch

Steps to Reproduce:
1. Take a vm with F16 installed
2. yum install -y katello-headpin-all
3. katello-configure --deployment=headpin 
  
Actual results:
    ** Invoke seed_with_logging (first_time)
    ** Invoke db:seed (first_time)
    ** Invoke db:abort_if_pending_migrations (first_time)
    ** Invoke environment (first_time)
    ** Execute environment
    ** Execute db:abort_if_pending_migrations
    ** Execute db:seed
    rake aborted!
    Connection refused - connect(2)

Expected results:
Successfull configuration

Additional info:

Comment 1 Tom McKay 2012-10-29 18:06:32 UTC
Current nightly works