Bug 670207

Summary: ipactl: Does not stop|start|restart PKI-IPA DS Instance
Product: [Retired] freeIPA Reporter: Jenny Severance <jgalipea>
Component: ipa-serverAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: low    
Version: 2.0CC: benl, dpal, jgalipea, nkinder
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: freeipa-2.0.0-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 670350 (view as bug list) Environment:
Last Closed: 2012-03-28 09:40:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 670350    

Description Jenny Severance 2011-01-17 14:47:27 UTC
Description of problem:
# ipactl stop
Stopping CA Service
Stopping HTTP Service
Stopping DNS Service
Stopping KPASSWD Service
Stopping KDC Service
Stopping Directory Service

# ps xa | grep -v grep |grep dirsrv| grep -i PKI
 3633 ?        Sl     0:01 /usr/sbin/ns-slapd -D /etc/dirsrv/slapd-PKI-IPA -i /var/run/dirsrv/slapd-PKI-IPA.pid -w /var/run/dirsrv/slapd-PKI-IPA.startpid

# ipactl start
Starting Directory Service
Starting KDC Service
Starting KPASSWD Service
Starting DNS Service
Starting HTTP Service
Starting CA Service

# ps xa | grep -v grep |grep dirsrv| grep -i PKI
 3633 ?        Sl     0:01 /usr/sbin/ns-slapd -D /etc/dirsrv/slapd-PKI-IPA -i /var/run/dirsrv/slapd-PKI-IPA.pid -w /var/run/dirsrv/slapd-PKI-IPA.startpid
# ipactl restart
Restarting Directory Service
Restarting KDC Service
Restarting KPASSWD Service
Restarting DNS Service
Restarting HTTP Service
Restarting CA Service

# ps xa | grep -v grep |grep dirsrv| grep -i PKI
 3633 ?        Sl     0:01 /usr/sbin/ns-slapd -D /etc/dirsrv/slapd-PKI-IPA -i /var/run/dirsrv/slapd-PKI-IPA.pid -w /var/run/dirsrv/slapd-PKI-IPA.startpid



Version-Release number of selected component (if applicable):
ipa-server-2.0-0.2011011418gita68b2d2.fc14.i686

How reproducible:


Steps to Reproduce:
1. install ipa with dogtag
2. see description
3.
  
Actual results:
PKI-IPA DS instance not stopped|started|restarted by ipactl (PID remains the same)

Expected results:
PKI-PKI DS instance to be stopped|started|restarted by ipactl

Additional info:

Comment 1 Nathan Kinder 2011-01-26 17:59:03 UTC
Is this related to bug 669358, or does this happen with a fresh install without trying to restart the dirsrv service as a non-root user?

Comment 2 Jenny Severance 2011-01-26 19:01:26 UTC
This is as root ... on a fresh install.

Comment 3 Jenny Severance 2011-01-26 19:50:42 UTC
This is a bug ipactl ... the script is only starting and stopping one of the directory server instances ...

<snip>

 print "Starting Directory Service"
        service.start('dirsrv', instance_name=serverid, capture_output=False)
</snip>

Comment 4 Rob Crittenden 2011-01-27 18:48:56 UTC
https://fedorahosted.org/freeipa/ticket/860

Comment 5 Dmitri Pal 2011-02-10 21:06:04 UTC
Fixed in: 3cb33d74aecbd122e61cffd8226ea84389c15951