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 1141819 - pkisilent ConfigureCA fails during ipaserver-install
Summary: pkisilent ConfigureCA fails during ipaserver-install
Keywords:
Status: CLOSED DUPLICATE of bug 1140855
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: pki-core
Version: 6.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Matthew Harmsen
QA Contact: Asha Akkiangady
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-15 14:13 UTC by David Spurek
Modified: 2015-03-02 05:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-15 23:45:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description David Spurek 2014-09-15 14:13:05 UTC
Description of problem:
pkisilent ConfigureCA fails during ipaserver-install

:: [  BEGIN   ] :: Running 'ipa-server-install --hostname=pes-guest-93.lab.eng.brq.redhat.com -r TESTREALM -n lab.eng.brq.redhat.com -p Secret123 -P Secret123 -a Secret123 --unattended --ip-address 10.34.59.93'
 
The log file for this installation can be found in /var/log/ipaserver-install.log
==============================================================================
This program will set up the IPA Server.
 
This includes:
  * Configure a stand-alone CA (dogtag) for certificate management
  * Configure the Network Time Daemon (ntpd)
  * Create and configure an instance of Directory Server
  * Create and configure a Kerberos Key Distribution Center (KDC)
  * Configure Apache (httpd)
 
To accept the default shown in brackets, press the Enter key.
 
 
The IPA Master Server will be configured with:
Hostname:      pes-guest-93.lab.eng.brq.redhat.com
IP address:    10.34.59.93
Domain name:   lab.eng.brq.redhat.com
Realm name:    TESTREALM
 
Configuring NTP daemon (ntpd)
  [1/4]: stopping ntpd
  [2/4]: writing configuration
  [3/4]: configuring ntpd to start on boot
  [4/4]: starting ntpd
Done configuring NTP daemon (ntpd).
Configuring directory server for the CA (pkids): Estimated time 30 seconds
  [1/3]: creating directory server user
  [2/3]: creating directory server instance
  [3/3]: restarting directory server
Done configuring directory server for the CA (pkids).
Configuring certificate server (pki-cad): Estimated time 3 minutes 30 seconds
  [1/20]: creating certificate server user
  [2/20]: configuring certificate server instance
ipa         : CRITICAL failed to configure ca instance Command '/usr/bin/perl /usr/bin/pkisilent ConfigureCA -cs_hostname pes-guest-93.lab.eng.brq.redhat.com -cs_port 9445 -client_certdb_dir /tmp/tmp-isqL0Z -client_certdb_pwd XXXXXXXX -preop_pin 0lbVsTjrA6EVRuXz04ES -domain_name IPA -admin_user admin -admin_email root@localhost -admin_password XXXXXXXX -agent_name ipa-ca-agent -agent_key_size 2048 -agent_key_type rsa -agent_cert_subject CN=ipa-ca-agent,O=TESTREALM -ldap_host pes-guest-93.lab.eng.brq.redhat.com -ldap_port 7389 -bind_dn cn=Directory Manager -bind_password XXXXXXXX -base_dn o=ipaca -db_name ipaca -key_size 2048 -key_type rsa -key_algorithm SHA256withRSA -save_p12 true -backup_pwd XXXXXXXX -subsystem_name pki-cad -token_name internal -ca_subsystem_cert_subject_name CN=CA Subsystem,O=TESTREALM -ca_subsystem_cert_subject_name CN=CA Subsystem,O=TESTREALM -ca_ocsp_cert_subject_name CN=OCSP Subsystem,O=TESTREALM -ca_server_cert_subject_name CN=pes-guest-93.lab.eng.brq.redhat.com,O=TESTREALM -ca_audit_signing_cert_subject_name CN=CA Audit,O=TESTREALM -ca_sign_cert_subject_name CN=Certificate Authority,O=TESTREALM -external false -clone false' returned non-zero exit status 255
Configuration of CA failed
 
 
 
 
/var/log/ipaserver-install.log
.....
Attempting to connect to: pes-guest-93.lab.eng.brq.redhat.com:9445
Connected.
Posting Query = https://pes-guest-93.lab.eng.brq.redhat.com:9445//ca/admin/console/config/wizard?sdomainURL=https%3A%2F%2Fpes-guest-93.lab.eng.brq.redhat.com%3A9445&sdomainName=IPA&choice=newdomain&p=3&op=next&xml=true
RESPONSE STATUS:  HTTP/1.1 200 OK
RESPONSE HEADER:  Server: Apache-Coyote/1.1
RESPONSE HEADER:  Content-Type: text/html;charset=UTF-8
RESPONSE HEADER:  Date: Mon, 15 Sep 2014 10:01:58 GMT
RESPONSE HEADER:  Connection: close
ERROR: unable to parse xml
ERROR XML =
ERROR: Tag='updateStatus' has no values
Error in DomainPanel(): updateStatus value is null
ERROR: ConfigureCA: DomainPanel() failure
ERROR: unable to create CA
 
#######################################################################
 
2014-09-15T10:01:58Z DEBUG stderr=[Fatal Error] :1:8: The string "--" is not permitted within comments.
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 8; The string "--" is not permitted within comments.
        at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:239)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)
        at ParseXML.parse(ParseXML.java:258)
        at ConfigureCA.getStatus(ConfigureCA.java:205)
        at ConfigureCA.checkStatus(ConfigureCA.java:221)
        at ConfigureCA.checkStatus(ConfigureCA.java:216)
        at ConfigureCA.DomainPanel(ConfigureCA.java:332)
        at ConfigureCA.ConfigureCAInstance(ConfigureCA.java:1173)
        at ConfigureCA.main(ConfigureCA.java:1672)
 
2014-09-15T10:01:58Z CRITICAL failed to configure ca instance Command '/usr/bin/perl /usr/bin/pkisilent ConfigureCA -cs_hostname pes-guest-93.lab.eng.brq.redhat.com -cs_port 9445 -client_certdb_dir /tmp/tmp-isqL0Z -client_certdb_pwd XXXXXXXX -preop_pin 0lbVsTjrA6EVRuXz04ES -domain_name IPA -admin_user admin -admin_email root@localhost -admin_password XXXXXXXX -agent_name ipa-ca-agent -agent_key_size 2048 -agent_key_type rsa -agent_cert_subject CN=ipa-ca-agent,O=TESTREALM -ldap_host pes-guest-93.lab.eng.brq.redhat.com -ldap_port 7389 -bind_dn cn=Directory Manager -bind_password XXXXXXXX -base_dn o=ipaca -db_name ipaca -key_size 2048 -key_type rsa -key_algorithm SHA256withRSA -save_p12 true -backup_pwd XXXXXXXX -subsystem_name pki-cad -token_name internal -ca_subsystem_cert_subject_name CN=CA Subsystem,O=TESTREALM -ca_subsystem_cert_subject_name CN=CA Subsystem,O=TESTREALM -ca_ocsp_cert_subject_name CN=OCSP Subsystem,O=TESTREALM -ca_server_cert_subject_name CN=pes-guest-93.lab.eng.brq.redhat.com,O=TESTREALM -ca_audit_signing_cert_subject_name CN=CA Audit,O=TESTREALM -ca_sign_cert_subject_name CN=Certificate Authority,O=TESTREALM -external false -clone false' returned non-zero exit status 255
2014-09-15T10:01:58Z INFO   File "/usr/lib/python2.6/site-packages/ipaserver/install/installutils.py", line 614, in run_script
    return_value = main_function()
 
  File "/usr/sbin/ipa-server-install", line 942, in main
    subject_base=options.subject)
 
  File "/usr/lib/python2.6/site-packages/ipaserver/install/cainstance.py", line 626, in configure_instance
    self.start_creation(runtime=210)
 
  File "/usr/lib/python2.6/site-packages/ipaserver/install/service.py", line 358, in start_creation
    method()
 
  File "/usr/lib/python2.6/site-packages/ipaserver/install/cainstance.py", line 888, in __configure_instance
    raise RuntimeError('Configuration of CA failed')
 
2014-09-15T10:01:58Z INFO The ipa-server-install command failed, exception: RuntimeError: Configuration of CA failed


Version-Release number of selected component (if applicable):
pki-ca-9.0.3-37.el6
ipa-server-3.0.0-42.el6

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 4 Nathan Kinder 2014-09-15 23:45:17 UTC
This has been identified as a problem with the latest build of the tomcat6 package (as described here):

  https://bugzilla.redhat.com/show_bug.cgi?id=1140855#c9

Closing as a duplicate of the bug filed against tomcat6.

*** This bug has been marked as a duplicate of bug 1140855 ***


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