Bug 673638
Summary: | Installation within IPA hangs | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Dogtag Certificate System | Reporter: | Rob Crittenden <rcritten> | ||||||||||||
Component: | Installer (pkicreate/pkiremove) | Assignee: | Matthew Harmsen <mharmsen> | ||||||||||||
Status: | CLOSED EOL | QA Contact: | Ben Levenson <benl> | ||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||
Priority: | high | ||||||||||||||
Version: | 9.0 | CC: | alee, dpal | ||||||||||||
Target Milestone: | --- | ||||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | |||||||||||||||
: | 676048 (view as bug list) | Environment: | |||||||||||||
Last Closed: | 2020-03-27 18:40:18 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: | 541012, 676048 | ||||||||||||||
Attachments: |
|
Description
Rob Crittenden
2011-01-29 03:34:06 UTC
Created attachment 475915 [details]
IPA install log
Created attachment 475916 [details]
debug log
Created attachment 476515 [details]
Check for 'undefined' variables . . .
Although we have been unable to replicate this issue, this fix should at least eliminate the following messages:
2011-01-28 19:08:33,539 INFO stderr=Use of uninitialized value $groupname in string ne at /usr/bin/pkicreate line 1183.
Use of uninitialized value $username in string ne at /usr/bin/pkicreate line 1217.
Created attachment 476516 [details]
Check for 'undefined' variables . . .
Although we have been unable to replicate this issue, this fix should at least
eliminate the following messages:
2011-01-28 19:08:33,539 INFO stderr=Use of uninitialized value $groupname in
string ne at /usr/bin/pkicreate line 1183.
Use of uninitialized value $username in string ne at /usr/bin/pkicreate line
1217.
# cd pki # svn status | grep -v ^$ | grep -v ^P | grep -v ^X | grep -v ^? M base/setup/pkicreate # svn commit Sending base/setup/pkicreate Transmitting file data . Committed revision 1808. So, whats going on here is that the database is being populated, and the VLV indexes are being created. At this point, we wait for the VLV indexes to complete before continuing. We check as to whether the VLV indexes are complete by looking for a particular entry and checking an attribute within that entry. If the entry does not exist, then we sleep for 1 second and recheck. In this case, its clear that something went wrong in the directory server to prevent the index from being created. Unfortunately, there are no DS logs to indicate what that might be. So, there is insufficient information to reproduce this bug. I will, however, add a log message to this code to try to provide more information, should this situation recur. Created attachment 478335 [details]
proposed fix
Comment on attachment 478335 [details]
proposed fix
CAVEAT: As discussed, increase the 'ttl: 1' to 'ttl: 10' in the 'pki/base/kra/shared/conf/vlvtasks.ldif' file as well.
svn commit pki Sending pki/base/ca/shared/conf/vlvtasks.ldif Sending pki/base/common/src/com/netscape/cms/servlet/csadmin/DatabasePanel.java Sending pki/base/kra/shared/conf/vlvtasks.ldif Transmitting file data ... Committed revision 1843. |