Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 723990 - Can not create replication package with ipa-replica-prepare
Can not create replication package with ipa-replica-prepare
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa (Show other bugs)
6.1
Unspecified Unspecified
high Severity high
: rc
: ---
Assigned To: Rob Crittenden
Chandrasekar Kannan
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-21 13:02 EDT by Jenny Galipeau
Modified: 2015-01-04 18:50 EST (History)
3 users (show)

See Also:
Fixed In Version: ipa-2.1.0-1.el6
Doc Type: Bug Fix
Doc Text:
Do not document
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-12-06 13:41:47 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1533 normal SHIPPED_LIVE Moderate: ipa security and bug fix update 2011-12-05 20:23:31 EST

  None (edit)
Description Jenny Galipeau 2011-07-21 13:02:45 EDT
Description of problem:
# ipa-replica-prepare -p MYSECRET --ip-address=10.16.64.133 dell-pe2950-01.qe.lab.ipa
preparation of replica failed: local variable 'options' referenced before assignment
local variable 'options' referenced before assignment
  File "/usr/sbin/ipa-replica-prepare", line 460, in <module>
    main()

  File "/usr/sbin/ipa-replica-prepare", line 235, in main
    options, args = parse_options()

  File "/usr/sbin/ipa-replica-prepare", line 62, in parse_options
    options.setup_pkinit = False


# ipa-replica-prepare 
preparation of replica failed: local variable 'options' referenced before assignment
local variable 'options' referenced before assignment
  File "/usr/sbin/ipa-replica-prepare", line 460, in <module>
    main()

  File "/usr/sbin/ipa-replica-prepare", line 235, in main
    options, args = parse_options()

  File "/usr/sbin/ipa-replica-prepare", line 62, in parse_options
    options.setup_pkinit = False


Version-Release number of selected component (if applicable):
Name        : ipa-server                   Relocations: (not relocatable)
Version     : 2.0.99                            Vendor: (none)
Release     : 3.20110721T0516zgit8e8ad51.el6   Build Date: Thu 21 Jul 2011 01:29:18 AM EDT
Install Date: Thu 21 Jul 2011 12:43:27 PM EDT      Build Host: goofy-vm16.dsdev.sjc.redhat.com
Group       : System Environment/Base       Source RPM: ipa-2.0.99-3.20110721T0516zgit8e8ad51.el6.src.rpm
Size        : 3314423                          License: GPLv3+
Signature   : (none)
URL         : http://www.freeipa.org/
Summary     : The IPA authentication server
Description :
IPA is an integrated solution to provide centrally managed Identity (machine,
user, virtual machines, groups, authentication credentials), Policy
(configuration settings, access control information) and Audit (events,
logs, analysis thereof). If you are installing an IPA server you need
to install this package (in other words, most people should NOT install
this package).


How reproducible:


Steps to Reproduce:
1. ipa-replica-prepare -p MYSECRET --ip-address=10.10.10.10 hostname.domain
2.
3.
  
Actual results:


Expected results:
Success replica package creation

Additional info:
Comment 1 Jenny Galipeau 2011-07-21 13:03:35 EDT
Today's multi server install test

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Create Replica Package(s)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [02:05:28] ::  IP of server dell-pe800-01.rhts.eng.bos.redhat.com is resolving as 10.16.64.57, using short hostname of dell-pe800-01
:: [02:05:28] ::  Running: ipa-replica-prepare -p Secret123 --ip-address=10.16.64.57 dell-pe800-01.testrelm
preparation of replica failed: local variable 'options' referenced before assignment
local variable 'options' referenced before assignment
  File "/usr/sbin/ipa-replica-prepare", line 460, in <module>
    main()

  File "/usr/sbin/ipa-replica-prepare", line 235, in main
    options, args = parse_options()

  File "/usr/sbin/ipa-replica-prepare", line 62, in parse_options
    options.setup_pkinit = False
Comment 3 Rob Crittenden 2011-07-21 17:24:22 EDT
Problem was a bad rebase of hide-pkinit.patch. Should work ok now.

Fixed in private branch

Checking in hide-pkinit.patch;
/cvs/dist/rpms/ipa/RHEL-6/hide-pkinit.patch,v  <--  hide-pkinit.patch
new revision: 1.1.2.7; previous revision: 1.1.2.6
done
Comment 6 Namita Soman 2011-09-21 21:27:27 EDT
Verified using ipa-server-2.1.1-3.el6.x86_64. Can generate replica package.
Comment 7 Rob Crittenden 2011-10-31 17:08:53 EDT
    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:
Do not document
Comment 8 errata-xmlrpc 2011-12-06 13:41:47 EST
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/RHSA-2011-1533.html

Note You need to log in before you can comment on or make changes to this bug.