Bug 596446

Summary: ipa-replica-prepare hangs forever
Product: [Retired] freeIPA Reporter: Rob Crittenden <rcritten>
Component: ipa-serverAssignee: Rob Crittenden <rcritten>
Status: CLOSED UPSTREAM QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: low    
Version: 1.2CC: benl, dpal, jgalipea
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-28 09:36:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
add --batch to encryption/decryption none

Description Rob Crittenden 2010-05-26 18:39:56 UTC
Description of problem:

Reported by xoritor in #freeipa

ipa-replica-prepare hangs forever:

# ipa-replica-prepare brillig.example.com
Directory Manager (existing master) password: 

Preparing replica for brillig.example.com from mimsy.example.com
Creating SSL certificate for the Directory Server
Creating SSL certificate for the Web Server
Exporting RA certificate
Copying additional files
Finalizing configuration
Packaging replica information into /var/lib/ipa/replica-info-brillig.example.com.gpg

<hang>

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

ipa-server-1.2.2-3.fc13.x86_64.rpm

Comment 1 Rob Crittenden 2010-05-26 18:40:49 UTC
This affects v2 as well.

Adding the --batch argument to gpg seems to fix things.

Comment 2 Rob Crittenden 2010-05-26 19:21:55 UTC
Created attachment 416989 [details]
add --batch to encryption/decryption

Comment 3 Fedora Update System 2010-05-26 19:37:25 UTC
ipa-1.2.2-4.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/ipa-1.2.2-4.fc13

Comment 4 Rob Crittenden 2010-05-27 15:05:59 UTC
Committed upstream

master: c67b47f9f693d0209572b34a6cf7927dcbf22200
ipa-1-2: a10becde018e92ab13c3dc6a317cd44aa2586da6

Comment 5 Fedora Update System 2010-06-16 17:47:47 UTC
ipa-1.2.2-4.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.