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.
Description of problem:
The ipa-advise smart card server script fails running the ipa-certupdate command:
+ ipa-certupdate
trying https://qe-blade-04.domain.scrubbed/ipa/session/json
[try 1]: Forwarding 'ca_is_enabled/1' to json server 'https://qe-blade-04.domain.scrubbed/ipa/session/json'
[try 1]: Forwarding 'ca_find/1' to json server 'https://qe-blade-04.domain.scrubbed/ipa/session/json'
Error resubmitting certmonger request '20180717211051', please check the request manually
The ipa-certupdate command failed.
+ '[' 1 -ne 0 ']'
+ echo 'Failed to update IPA CA certificate database'
Failed to update IPA CA certificate database
+ exit 1
Version-Release number of selected component (if applicable):
ipa-server-4.6.4-2.el7.x86_64
How reproducible:
Unknown but, appears to happen frequently and even on different servers.
Steps to Reproduce:
1. ipa-server-install
2. ipa-kra-install
3. ipa-advise config-server-for-smart-card-auth > /tmp/sc_server_setup.sh
4. sh -x /tmp/sc_server_setup.sh /tmp/external_ca.crt
Actual results:
Fails as shown above
Expected results:
Does not failure
Additional info:
re-running ipa-certupdate after script works:
[root@qe-blade-04 ~]# ipa-certupdate
trying https://qe-blade-04.domain.scrubbed/ipa/session/json
[try 1]: Forwarding 'ca_is_enabled/1' to json server 'https://qe-blade-04.domain.scrubbed/ipa/session/json'
[try 1]: Forwarding 'ca_find/1' to json server 'https://qe-blade-04.domain.scrubbed/ipa/session/json'
Systemwide CA database updated.
Systemwide CA database updated.
The ipa-certupdate command was successful
Jul 17 17:23:41 qe-blade-04 dogtag-ipa-ca-renew-agent-submit: Traceback (most recent call last):#012 File "/usr/libexec/certmonger/dogtag-ipa-ca-renew-agent-submit", line 541, in <module>#012 sys.exit(main())#012 File "/usr/libexec/certmonger/dogtag-ipa-ca-renew-agent-submit", line 502, in main#012 api.bootstrap(in_server=True, context='renew', confdir=paths.ETC_IPA)#012 File "/usr/lib/python2.7/site-packages/ipalib/plugable.py", line 491, in bootstrap#012 raise errors.SystemEncodingError(encoding=fse)#012SystemEncodingError: System encoding must be UTF-8, 'ANSI_X3.4-1968' is not supported. Set LC_ALL="C.UTF-8", or LC_ALL="" and LC_CTYPE="C.UTF-8".
*** This bug has been marked as a duplicate of bug 1596161 ***