Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionJenny Severance
2011-07-21 17:02:45 UTC
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:
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
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
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
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
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: