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.

Bug 744798

Summary: Traceback when upgrading from ipa-server-2.1.1-1 to ipa-server-2.1.2-2
Product: Red Hat Enterprise Linux 6 Reporter: Jakub Hrozek <jhrozek>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 6.2CC: jgalipea, mkosek, nsoman
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-2.1.3-1.el6 Doc Type: Bug Fix
Doc Text:
Do not document
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 18:42:41 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:
Bug Depends On:    
Bug Blocks: 748554    

Description Jakub Hrozek 2011-10-10 13:56:59 UTC
Description of problem:
I was upgrading a devel VM (RHEL6.2 nightly repos) and saw a traceback:

Updating   : ipa-server-.1.2-2.el6.x86_64                                 90/273 
Upgraded /etc/httpd/conf.d/ipa-pki-proxy.conf to version 1
Traceback (most recent call last):
  File "/usr/sbin/ipa-upgradeconfig", line 187, in <module>
    sys.exit(main())
  File "/usr/sbin/ipa-upgradeconfig", line 184, in main
    upgrade_pki()
  File "/usr/sbin/ipa-upgradeconfig", line 152, in upgrade_pki
    'proxy.securePort', '=') and \
  File "/usr/lib/python2.6/site-packages/ipaserver/install/installutils.py", line 422, in get_directive
    fd = open(filename, "r")
IOError: [Errno 2] No such file or directory: '/etc/pki-ca/CS.cfg'


Version-Release number of selected component (if applicable):
ipa-server-2.1.2-2

Steps to Reproduce:
1. upgrade from ipa-server-2.1.1-1 to ipa-server-2.1.2-2

Additional info:
This instance was installed with --selfsign

Comment 1 Rob Crittenden 2011-10-10 14:17:58 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/1951

Comment 2 Rob Crittenden 2011-10-12 14:18:29 UTC
fixed upstream

master: 5c10f66e4abd35dc24fe65d5916e429bee221093

ipa-2-1: c2ae286e4bcaa64d12b3578c434d2f3f0fed95b4

Comment 4 Martin Kosek 2011-10-31 19:17:12 UTC
    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 5 Namita Soman 2011-11-07 12:56:59 UTC
Can you please list which pages to verify the changes on?

Comment 6 Namita Soman 2011-11-07 12:58:02 UTC
Oops! Updated wrong bug above...sorry!

Comment 7 Namita Soman 2011-11-07 20:43:22 UTC
in looking for ipa-server versions - ipa-server-2.1.1-1 and ipa-server-2.1.2-2
checked brew builds (https://brewweb.devel.redhat.com/packageinfo?packageID=4384) to get these rpms.

But these versions have been deleted.

Any suggestions on how to verify this?

Comment 8 Rob Crittenden 2011-11-07 20:50:37 UTC
It was a bug introduced in ipa-server-2.1.2-2 so upgrading from any previous version to any version later than 2.1.2-2 should work. I'd suggest ipa-2.1.1-4 and updating to 2.1.3-9.

Comment 9 Namita Soman 2011-11-08 04:06:46 UTC
testing

Comment 10 Namita Soman 2011-11-08 04:50:31 UTC
# rpm -q ipa-server
ipa-server-2.1.1-4.el6.x86_64

installed, kinit'd as admin, added new user, kinit'd as this user
upgraded to
# rpm -q ipa-server
ipa-server-2.1.3-8.el6.x86_64
Restarted services:
# ipactl restart
Successfuly kinit'd as user added above

Comment 11 errata-xmlrpc 2011-12-06 18:42:41 UTC
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